osrg / gobgp

BGP implemented in the Go Programming Language
https://osrg.github.io/gobgp/
Apache License 2.0
3.66k stars 699 forks source link

peer-groups does not accept send-software-version #2767

Closed robbat2 closed 6 months ago

robbat2 commented 9 months ago
{"Error":"1 error(s) decoding:\n\n* 'peer-groups[0].config' has invalid keys: send-software-version","Topic":"Config","level":"fatal","msg":"Can't read config file /etc/gobgpd.conf","time":"xxx"}
$ gobgp --version
gobgp version 3.23.0

partial config to reproduce:

[[peer-groups]]
  [peer-groups.config]
    peer-group-name = "test"
    peer-as = 1234
    send-software-version = true

[[neighbors]]
  [neighbors.config]
    neighbor-address = "1.2.3.4"
    peer-group = "test"

This config works:

[[peer-groups]]
  [peer-groups.config]
    peer-group-name = "test"
    peer-as = 1234

[[neighbors]]
  [neighbors.config]
    neighbor-address = "1.2.3.4"
    peer-group = "test"
    send-software-version = true