Skip to content

Bug in RPKI documentation #2901

@yuch5517

Description

@yuch5517

The RPKI Doc contains the following sample configuration.

[[neighbors]]
  [neighbors.config]
    peer-as = 65002
    neighbor-address = "10.0.255.2"
  [neighbors.route-server.config]
    route-server-client = true
  [neighbors.apply-policy-config]
    import-policy-list = ["AS65002-IMPORT-RPKI"]

But using this configuration raise error {"Error":"1 error(s) decoding:\n\n* 'neighbors[1]' has invalid keys: apply-policy-config","Topic":"Config","level":"fatal","msg":"Can't read config file /config/gobgp.toml","time":"2025-03-24T14:25:30+08:00"}. The [neighbors.apply-policy-config] is wrong, it should be changed to [neighbors.apply-policy.config]. After that, my gobgp works well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions