Changed command for next-hop-self to next-hop-self instead of activate (#58789)
This commit is contained in:
parent
faf50dbace
commit
73db7e2901
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue