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

pull/58795/head
Josh VanDeraa 5 years ago committed by Nilashish Chakraborty
parent faf50dbace
commit 73db7e2901

@ -163,7 +163,7 @@ class AFNeighbors(CliProvider):
return cmd
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 not config or cmd in config:
cmd = 'no %s' % cmd

Loading…
Cancel
Save