From 7c4b61a5baf9e3f120768ea9330cb3c7953839f8 Mon Sep 17 00:00:00 2001 From: Brandon Ewing Date: Thu, 2 Jan 2025 14:30:45 -0600 Subject: [PATCH] Update eos CLI vrf command Replace "routing-context vrf" with "cli vrf" per Arista FN 0039 --- napalm/eos/eos.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/napalm/eos/eos.py b/napalm/eos/eos.py index f31f2ad44..76f95f551 100644 --- a/napalm/eos/eos.py +++ b/napalm/eos/eos.py @@ -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) @@ -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)