summaryrefslogtreecommitdiff
path: root/lib/sockopt.c
diff options
context:
space:
mode:
authorPascal Mathis <mail@pascalmathis.com>2018-06-13 19:34:17 +0200
committerPascal Mathis <mail@pascalmathis.com>2018-06-14 18:55:32 +0200
commita14810f43f6a7970468eb2568385ca75c4708e4d (patch)
treea9e4c0c1ed41f16437a1c2c0403f1740c1196111 /lib/sockopt.c
parentb90a8e13eea49404d72dd0cdf94343d8a1831d69 (diff)
bgpd: Implement group-overrides for peer attrs
This commit introduces BGP peer-group overrides for the last set of peer-level attrs which did not offer that feature yet. The following attributes have been implemented: description, local-as, password and update-source. Each attribute, with the exception of description because it does not offer any inheritance between peer-groups and peers, is now also setting a peer-flag instead of just modifying the internal data structures. This made it possible to also re-use the same implementation for attribute overrides as already done for peer flags, AF flags and AF attrs. The `no neighbor <neigh> description` command has been slightly changed to support negation for no parameters, one parameter or * parameters (LINE...). This was needed for the test suite to pass and is a small change without any bigger impact on the CLI. Signed-off-by: Pascal Mathis <mail@pascalmathis.com>
Diffstat (limited to 'lib/sockopt.c')
0 files changed, 0 insertions, 0 deletions