aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vat
diff options
context:
space:
mode:
Diffstat (limited to 'resources/templates/vat')
-rw-r--r--resources/templates/vat/add_ip_neighbor.vat2
-rw-r--r--resources/templates/vat/add_route.vat2
-rw-r--r--resources/templates/vat/set_fib_to_interface.vat1
3 files changed, 3 insertions, 2 deletions
diff --git a/resources/templates/vat/add_ip_neighbor.vat b/resources/templates/vat/add_ip_neighbor.vat
index cbea0e14a6..de868e1de7 100644
--- a/resources/templates/vat/add_ip_neighbor.vat
+++ b/resources/templates/vat/add_ip_neighbor.vat
@@ -1 +1 @@
-ip_neighbor_add_del sw_if_index {sw_if_index} dst {ip_address} mac {mac_address}
+ip_neighbor_add_del sw_if_index {sw_if_index} dst {ip_address} mac {mac_address} {vrf}
diff --git a/resources/templates/vat/add_route.vat b/resources/templates/vat/add_route.vat
index 9877a3ac46..6c7dfb09f0 100644
--- a/resources/templates/vat/add_route.vat
+++ b/resources/templates/vat/add_route.vat
@@ -1 +1 @@
-ip_add_del_route {network}/{prefix_length} {via} {interface} {resolve_attempts} {count}
+ip_add_del_route {network}/{prefix_length} {via} {vrf} {interface} {resolve_attempts} {count}
diff --git a/resources/templates/vat/set_fib_to_interface.vat b/resources/templates/vat/set_fib_to_interface.vat
new file mode 100644
index 0000000000..f0850c900b
--- /dev/null
+++ b/resources/templates/vat/set_fib_to_interface.vat
@@ -0,0 +1 @@
+sw_interface_set_table sw_if_index {sw_index} vrf {vrf} \ No newline at end of file