diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-05-21 20:10:41 +0300 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-05-21 20:28:57 +0300 |
| commit | faff43d05c9e01866e5bf6962ecf03735e9e157c (patch) | |
| tree | f8295036432844b32d225a0d467f291fb578e13d | |
| parent | 99447cf226c45d1bda38a489e1a9160891e5a02b (diff) | |
bgpd: fix aggregate-address command
Additional parameters are not mandatory.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
| -rw-r--r-- | bgpd/bgp_route.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index dd1e8471e6..c61aedb560 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -7807,14 +7807,14 @@ int bgp_aggregate_set(struct bgp *bgp, struct prefix *prefix, afi_t afi, DEFPY_YANG( aggregate_addressv4, aggregate_addressv4_cmd, - "[no] aggregate-address <A.B.C.D/M$prefix|A.B.C.D$addr A.B.C.D$mask> {" + "[no] aggregate-address <A.B.C.D/M$prefix|A.B.C.D$addr A.B.C.D$mask> [{" "as-set$as_set_s" "|summary-only$summary_only" "|route-map WORD$rmap_name" "|origin <egp|igp|incomplete>$origin_s" "|matching-MED-only$match_med" "|suppress-map WORD$suppress_map" - "}", + "}]", NO_STR "Configure BGP aggregate entries\n" "Aggregate prefix\n" @@ -7897,14 +7897,14 @@ DEFPY_YANG( } DEFPY_YANG(aggregate_addressv6, aggregate_addressv6_cmd, - "[no] aggregate-address X:X::X:X/M$prefix {" + "[no] aggregate-address X:X::X:X/M$prefix [{" "as-set$as_set_s" "|summary-only$summary_only" "|route-map WORD$rmap_name" "|origin <egp|igp|incomplete>$origin_s" "|matching-MED-only$match_med" "|suppress-map WORD$suppress_map" - "}", + "}]", NO_STR "Configure BGP aggregate entries\n" "Aggregate prefix\n" |
