Skip to content

Commit

Permalink
Update eos CLI vrf command
Browse files Browse the repository at this point in the history
Replace "routing-context vrf" with "cli vrf" per Arista FN 0039
  • Loading branch information
bewing committed Jan 2, 2025
1 parent 539ca85 commit eaf7688
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions napalm/eos/eos.py
Original file line number Diff line number Diff line change
Expand Up @@ -1742,7 +1742,7 @@ def traceroute(
commands = []

if vrf:
commands.append("routing-context vrf {vrf}".format(vrf=vrf))
commands.append("cli vrf {vrf}".format(vrf=vrf))

if source:
source_opt = "-s {source}".format(source=source)
Expand Down Expand Up @@ -2248,7 +2248,7 @@ def ping(
commands = []

if vrf:
commands.append("routing-context vrf {vrf}".format(vrf=vrf))
commands.append("cli vrf {vrf}".format(vrf=vrf))

command = "ping {}".format(destination)
command += " timeout {}".format(timeout)
Expand Down

0 comments on commit eaf7688

Please sign in to comment.