Changed command for next-hop-self to next-hop-self instead of activate (#58789)

This commit is contained in:
Josh VanDeraa 2019-07-06 15:39:10 -05:00 committed by Nilashish Chakraborty
parent faf50dbace
commit 73db7e2901

View file

@ -163,7 +163,7 @@ class AFNeighbors(CliProvider):
return cmd return cmd
def _render_next_hop_self(self, item, config=None): def _render_next_hop_self(self, item, config=None):
cmd = 'neighbor %s activate' % item['neighbor'] cmd = 'neighbor %s next-hop-self' % item['neighbor']
if item['next_hop_self'] is False: if item['next_hop_self'] is False:
if not config or cmd in config: if not config or cmd in config:
cmd = 'no %s' % cmd cmd = 'no %s' % cmd