Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/sa/profiles/Juniper/JUNOS/get_arp.py b/sa/profiles/Juniper/JUNOS/get_arp.py
- --- a/sa/profiles/Juniper/JUNOS/get_arp.py
- +++ b/sa/profiles/Juniper/JUNOS/get_arp.py
- @@ -18,10 +18,10 @@ class Script(NOCScript):
- rx_line = re.compile(
- r"^(?P<mac>[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2}:[0-9a-f]{2})\s+(?P<ip>\d+\.\d+\.\d+\.\d+)\s+(?P<interface>\S+)")
- def execute(self, vrf=None):
- if vrf:
- cmd = "show arp no-resolve vpn %s" % vrf
- else:
- - cmd = "show arp no-resolve"
- + cmd = "show arp no-resolve vpn default"
- return self.cli(cmd, list_re=self.rx_line)
Advertisement
Add Comment
Please, Sign In to add comment