diff options
| author | Pascal Mathis <mail@pascalmathis.com> | 2018-06-13 19:34:17 +0200 |
|---|---|---|
| committer | Pascal Mathis <mail@pascalmathis.com> | 2018-06-14 18:55:32 +0200 |
| commit | a14810f43f6a7970468eb2568385ca75c4708e4d (patch) | |
| tree | a9e4c0c1ed41f16437a1c2c0403f1740c1196111 /lib/sockopt.c | |
| parent | b90a8e13eea49404d72dd0cdf94343d8a1831d69 (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
