From 812a4fc3f3063741da0fa01cbbbf17dead66a664 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Thu, 9 Jun 2022 09:16:53 -0400 Subject: T2719: prototype of an op mode command runner based on type hints and introspection --- op-mode-definitions/ipv6-route.xml.in | 6 +++--- op-mode-definitions/show-arp.xml.in | 4 ++-- op-mode-definitions/show-ip.xml.in | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/ipv6-route.xml.in b/op-mode-definitions/ipv6-route.xml.in index 4f8792f9f..50f34dd56 100644 --- a/op-mode-definitions/ipv6-route.xml.in +++ b/op-mode-definitions/ipv6-route.xml.in @@ -20,7 +20,7 @@ Show IPv6 neighbor (NDP) table - ${vyos_op_scripts_dir}/show_neigh.py --family inet6 + ${vyos_op_scripts_dir}/neighbor.py --family inet6 @@ -29,7 +29,7 @@ - ${vyos_op_scripts_dir}/show_neigh.py --family inet6 --interface "$5" + ${vyos_op_scripts_dir}/neighbor.py --family inet6 --interface "$5" @@ -38,7 +38,7 @@ reachable stale failed permanent - ${vyos_op_scripts_dir}/show_neigh.py --family inet6 --state "$5" + ${vyos_op_scripts_dir}/neighbor.py --family inet6 --state "$5" diff --git a/op-mode-definitions/show-arp.xml.in b/op-mode-definitions/show-arp.xml.in index 58cc6e45e..11ac6a252 100644 --- a/op-mode-definitions/show-arp.xml.in +++ b/op-mode-definitions/show-arp.xml.in @@ -6,7 +6,7 @@ Show Address Resolution Protocol (ARP) information - ${vyos_op_scripts_dir}/show_neigh.py --family inet + ${vyos_op_scripts_dir}/neighbor.py --family inet @@ -15,7 +15,7 @@ - ${vyos_op_scripts_dir}/show_neigh.py --family inet --interface "$4" + ${vyos_op_scripts_dir}/neighbor.py --family inet --interface "$4" diff --git a/op-mode-definitions/show-ip.xml.in b/op-mode-definitions/show-ip.xml.in index d342ac192..1903aca05 100644 --- a/op-mode-definitions/show-ip.xml.in +++ b/op-mode-definitions/show-ip.xml.in @@ -11,7 +11,7 @@ Show IPv4 neighbor (ARP) table - ${vyos_op_scripts_dir}/show_neigh.py --family inet + ${vyos_op_scripts_dir}/neighbor.py --family inet @@ -20,7 +20,7 @@ - ${vyos_op_scripts_dir}/show_neigh.py --family inet --interface "$5" + ${vyos_op_scripts_dir}/neighbor.py --family inet --interface "$5" @@ -29,7 +29,7 @@ reachable stale failed permanent - ${vyos_op_scripts_dir}/show_neigh.py --family inet --state "$5" + ${vyos_op_scripts_dir}/neighbor.py --family inet --state "$5" -- cgit v1.2.3