Skip to content

Commit

Permalink
Draft: Update eos CLI vrf command (#2157)
Browse files Browse the repository at this point in the history
* Bump ansible version in docs requirements

Ansible 9.6.0 was removed after a windows venv was included in the
collection release.

https://forum.ansible.com/t/release-announcement-ansible-community-package-9-6-1/6206

* Update eos CLI vrf command

Replace "routing-context vrf" with "cli vrf" per Arista FN 0039

---------

Co-authored-by: Kirk Byers <[email protected]>
  • Loading branch information
bewing and ktbyers authored Jan 3, 2025
1 parent e6c5da2 commit 9a539a8
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 @@ -1687,7 +1687,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 @@ -2193,7 +2193,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 9a539a8

Please sign in to comment.