From: Igor Ryzhov Date: Wed, 19 May 2021 19:38:19 +0000 (+0300) Subject: Revert "bgpd: When deleting a neighbor from a peer-group the PGNAME is optional" X-Git-Tag: base_8.1~511^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=71cc0c88dec92d7a4406f12b9f9ed339b8f4cd36;p=matthieu%2Ffrr.git Revert "bgpd: When deleting a neighbor from a peer-group the PGNAME is optional" This reverts commit 2cbd181ac99801f2fb6b5b820ad66626c0f7168a. We also have "no neighbor WORD peer-group" command and it's impossible to distinguish between those two commands if PGNAME is optional. --- diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index 1fa6d4f002..9c02dba6cc 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -5070,7 +5070,7 @@ ALIAS_HIDDEN(neighbor_set_peer_group, neighbor_set_peer_group_hidden_cmd, DEFUN_YANG (no_neighbor_set_peer_group, no_neighbor_set_peer_group_cmd, - "no neighbor peer-group [PGNAME]", + "no neighbor peer-group PGNAME", NO_STR NEIGHBOR_STR NEIGHBOR_ADDR_STR2 @@ -5091,7 +5091,7 @@ DEFUN_YANG (no_neighbor_set_peer_group, } ALIAS_HIDDEN(no_neighbor_set_peer_group, no_neighbor_set_peer_group_hidden_cmd, - "no neighbor peer-group [PGNAME]", + "no neighbor peer-group PGNAME", NO_STR NEIGHBOR_STR NEIGHBOR_ADDR_STR2 "Member of the peer-group\n" "Peer-group name\n")