aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2019-05-30 16:13:25 +0200
committerJan Gelety <jgelety@cisco.com>2019-06-18 21:07:12 +0200
commit0e28406b43bf4ce145f1530f15dbb00957edf945 (patch)
treeb9f76fe6f1b92165962a82cb4bf850f0cf4c491d /resources/templates
parent92fbe3b8d880f9a3dd63e1309d76772b1685a037 (diff)
CSIT-1459: Migrate IP libraries from VAT to PAPI
Change-Id: Id84cf9c3afd53260b5bbf658a6a3870aa0c91333 Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/templates')
-rw-r--r--resources/templates/vat/add_fib_table.vat1
-rw-r--r--resources/templates/vat/add_ip_address.vat1
-rw-r--r--resources/templates/vat/add_ip_neighbor.vat1
-rw-r--r--resources/templates/vat/add_l2_fib_entry.vat1
-rw-r--r--resources/templates/vat/add_route.vat1
-rw-r--r--resources/templates/vat/api_trace_dump.vat1
-rw-r--r--resources/templates/vat/api_trace_save.vat1
-rw-r--r--resources/templates/vat/create_avf_interface.vat1
-rw-r--r--resources/templates/vat/create_bond_interface.vat1
-rw-r--r--resources/templates/vat/create_gre.vat1
-rw-r--r--resources/templates/vat/create_loopback.vat1
-rw-r--r--resources/templates/vat/create_sub_interface.vat1
-rw-r--r--resources/templates/vat/create_vhost_user_if.vat1
-rw-r--r--resources/templates/vat/create_vlan_subif.vat1
-rw-r--r--resources/templates/vat/del_fib_table.vat1
-rw-r--r--resources/templates/vat/del_ip_address.vat1
-rw-r--r--resources/templates/vat/del_route.vat1
-rw-r--r--resources/templates/vat/enslave_physical_interface.vat1
-rw-r--r--resources/templates/vat/flush_ip_addresses.vat1
-rw-r--r--resources/templates/vat/hw_interface_set_mtu.vat1
-rw-r--r--resources/templates/vat/input_acl_int.vat1
-rw-r--r--resources/templates/vat/interface_dump.vat1
-rw-r--r--resources/templates/vat/interface_vrf_dump.vat1
-rw-r--r--resources/templates/vat/ip_address_dump.vat1
-rw-r--r--resources/templates/vat/ip_source_check.vat1
-rw-r--r--resources/templates/vat/l2_bd_add_sw_if_index.vat1
-rw-r--r--resources/templates/vat/l2_bd_create.vat1
-rw-r--r--resources/templates/vat/l2_bd_dump.vat1
-rw-r--r--resources/templates/vat/l2_bridge_domain.vat3
-rw-r--r--resources/templates/vat/l2_bridge_domain_delete.vat1
-rw-r--r--resources/templates/vat/l2_fib_entry_delete.vat1
-rw-r--r--resources/templates/vat/l2_fib_table_dump.vat1
-rw-r--r--resources/templates/vat/l2_patch.vat1
-rw-r--r--resources/templates/vat/l2_vlan_tag_rewrite.vat1
-rw-r--r--resources/templates/vat/l2_xconnect.vat1
-rw-r--r--resources/templates/vat/memif_create.vat1
-rw-r--r--resources/templates/vat/memif_dump.vat1
-rw-r--r--resources/templates/vat/memif_socket_filename_add_del.vat1
-rw-r--r--resources/templates/vat/proxy_arp_intfc_enable.vat1
-rw-r--r--resources/templates/vat/set_fib_to_interface.vat1
-rw-r--r--resources/templates/vat/set_if_state.vat1
-rw-r--r--resources/templates/vat/show_interface.vat1
-rw-r--r--resources/templates/vat/show_ip_fib.vat1
-rw-r--r--resources/templates/vat/show_memif.vat1
-rw-r--r--resources/templates/vat/show_vhost.vat1
-rw-r--r--resources/templates/vat/sw_interface_ip6nd_ra_config.vat1
-rw-r--r--resources/templates/vat/tap_dump.vat1
-rw-r--r--resources/templates/vat/vhost_user_dump.vat1
-rw-r--r--resources/templates/vat/vxlan_create.vat1
-rw-r--r--resources/templates/vat/vxlan_dump.vat1
-rw-r--r--resources/templates/vat/vxlan_gpe_dump.vat1
51 files changed, 0 insertions, 53 deletions
diff --git a/resources/templates/vat/add_fib_table.vat b/resources/templates/vat/add_fib_table.vat
deleted file mode 100644
index 2182be4ebd..0000000000
--- a/resources/templates/vat/add_fib_table.vat
+++ /dev/null
@@ -1 +0,0 @@
-ip_table_add_del table {table_id} {ipv6}
diff --git a/resources/templates/vat/add_ip_address.vat b/resources/templates/vat/add_ip_address.vat
deleted file mode 100644
index d59480c33a..0000000000
--- a/resources/templates/vat/add_ip_address.vat
+++ /dev/null
@@ -1 +0,0 @@
-sw_interface_add_del_address sw_if_index {sw_if_index} {address}/{prefix_length}
diff --git a/resources/templates/vat/add_ip_neighbor.vat b/resources/templates/vat/add_ip_neighbor.vat
deleted file mode 100644
index 730e7112ad..0000000000
--- a/resources/templates/vat/add_ip_neighbor.vat
+++ /dev/null
@@ -1 +0,0 @@
-ip_neighbor_add_del sw_if_index {sw_if_index} dst {ip_address} mac {mac_address}
diff --git a/resources/templates/vat/add_l2_fib_entry.vat b/resources/templates/vat/add_l2_fib_entry.vat
deleted file mode 100644
index 2920c4b123..0000000000
--- a/resources/templates/vat/add_l2_fib_entry.vat
+++ /dev/null
@@ -1 +0,0 @@
-l2fib_add_del mac {mac} bd_id {bd} sw_if_index {interface}
diff --git a/resources/templates/vat/add_route.vat b/resources/templates/vat/add_route.vat
deleted file mode 100644
index 64c6a6c3b8..0000000000
--- a/resources/templates/vat/add_route.vat
+++ /dev/null
@@ -1 +0,0 @@
-ip_add_del_route {network}/{prefix_length} {via} {vrf} {interface} {resolve_attempts} {count} {lookup_vrf} {multipath} {weight} {local} \ No newline at end of file
diff --git a/resources/templates/vat/api_trace_dump.vat b/resources/templates/vat/api_trace_dump.vat
deleted file mode 100644
index a0f94a34ed..0000000000
--- a/resources/templates/vat/api_trace_dump.vat
+++ /dev/null
@@ -1 +0,0 @@
-exec api trace custom-dump /tmp/csit.api
diff --git a/resources/templates/vat/api_trace_save.vat b/resources/templates/vat/api_trace_save.vat
deleted file mode 100644
index f3d2fa3780..0000000000
--- a/resources/templates/vat/api_trace_save.vat
+++ /dev/null
@@ -1 +0,0 @@
-exec api trace save csit.api
diff --git a/resources/templates/vat/create_avf_interface.vat b/resources/templates/vat/create_avf_interface.vat
deleted file mode 100644
index ca6e747d26..0000000000
--- a/resources/templates/vat/create_avf_interface.vat
+++ /dev/null
@@ -1 +0,0 @@
-avf_create {vf_pci_addr} {num_rx_queues}
diff --git a/resources/templates/vat/create_bond_interface.vat b/resources/templates/vat/create_bond_interface.vat
deleted file mode 100644
index 3608f1d6ef..0000000000
--- a/resources/templates/vat/create_bond_interface.vat
+++ /dev/null
@@ -1 +0,0 @@
-bond_create {mac} mode {mode} {lb} \ No newline at end of file
diff --git a/resources/templates/vat/create_gre.vat b/resources/templates/vat/create_gre.vat
deleted file mode 100644
index af692a76a2..0000000000
--- a/resources/templates/vat/create_gre.vat
+++ /dev/null
@@ -1 +0,0 @@
-exec create gre tunnel src {src} dst {dst}
diff --git a/resources/templates/vat/create_loopback.vat b/resources/templates/vat/create_loopback.vat
deleted file mode 100644
index 94cfc0da5f..0000000000
--- a/resources/templates/vat/create_loopback.vat
+++ /dev/null
@@ -1 +0,0 @@
-create_loopback
diff --git a/resources/templates/vat/create_sub_interface.vat b/resources/templates/vat/create_sub_interface.vat
deleted file mode 100644
index 6dad081bd0..0000000000
--- a/resources/templates/vat/create_sub_interface.vat
+++ /dev/null
@@ -1 +0,0 @@
-create_subif sw_if_index {sw_if_index} sub_id {sub_id} {outer_vlan_id} {inner_vlan_id} {type_subif}
diff --git a/resources/templates/vat/create_vhost_user_if.vat b/resources/templates/vat/create_vhost_user_if.vat
deleted file mode 100644
index eb6d75ab24..0000000000
--- a/resources/templates/vat/create_vhost_user_if.vat
+++ /dev/null
@@ -1 +0,0 @@
-create_vhost_user_if socket {sock}
diff --git a/resources/templates/vat/create_vlan_subif.vat b/resources/templates/vat/create_vlan_subif.vat
deleted file mode 100644
index 6520aef911..0000000000
--- a/resources/templates/vat/create_vlan_subif.vat
+++ /dev/null
@@ -1 +0,0 @@
-create_vlan_subif sw_if_index {sw_if_index} vlan {vlan} \ No newline at end of file
diff --git a/resources/templates/vat/del_fib_table.vat b/resources/templates/vat/del_fib_table.vat
deleted file mode 100644
index e287bc45bd..0000000000
--- a/resources/templates/vat/del_fib_table.vat
+++ /dev/null
@@ -1 +0,0 @@
-ip_table_add_del table {table_id} {ipv6} del
diff --git a/resources/templates/vat/del_ip_address.vat b/resources/templates/vat/del_ip_address.vat
deleted file mode 100644
index 667ced2757..0000000000
--- a/resources/templates/vat/del_ip_address.vat
+++ /dev/null
@@ -1 +0,0 @@
-sw_interface_add_del_address sw_if_index {sw_if_index} {address}/{prefix_length} del
diff --git a/resources/templates/vat/del_route.vat b/resources/templates/vat/del_route.vat
deleted file mode 100644
index e7fe4bc1e1..0000000000
--- a/resources/templates/vat/del_route.vat
+++ /dev/null
@@ -1 +0,0 @@
-ip_add_del_route {network}/{prefix_length} via {gateway} sw_if_index {sw_if_index} del \ No newline at end of file
diff --git a/resources/templates/vat/enslave_physical_interface.vat b/resources/templates/vat/enslave_physical_interface.vat
deleted file mode 100644
index ce88e8d93b..0000000000
--- a/resources/templates/vat/enslave_physical_interface.vat
+++ /dev/null
@@ -1 +0,0 @@
-bond_enslave sw_if_index {p_int} bond {b_int} \ No newline at end of file
diff --git a/resources/templates/vat/flush_ip_addresses.vat b/resources/templates/vat/flush_ip_addresses.vat
deleted file mode 100644
index f38fcf12cb..0000000000
--- a/resources/templates/vat/flush_ip_addresses.vat
+++ /dev/null
@@ -1 +0,0 @@
-sw_interface_add_del_address sw_if_index {sw_if_index} del-all \ No newline at end of file
diff --git a/resources/templates/vat/hw_interface_set_mtu.vat b/resources/templates/vat/hw_interface_set_mtu.vat
deleted file mode 100644
index 645d1a80c5..0000000000
--- a/resources/templates/vat/hw_interface_set_mtu.vat
+++ /dev/null
@@ -1 +0,0 @@
-hw_interface_set_mtu sw_if_index {sw_if_index} mtu {mtu}
diff --git a/resources/templates/vat/input_acl_int.vat b/resources/templates/vat/input_acl_int.vat
deleted file mode 100644
index c9d7441796..0000000000
--- a/resources/templates/vat/input_acl_int.vat
+++ /dev/null
@@ -1 +0,0 @@
-input_acl_set_interface sw_if_index {sw_if_index} {ip_version}-table {table_index} \ No newline at end of file
diff --git a/resources/templates/vat/interface_dump.vat b/resources/templates/vat/interface_dump.vat
deleted file mode 100644
index 850c348f69..0000000000
--- a/resources/templates/vat/interface_dump.vat
+++ /dev/null
@@ -1 +0,0 @@
-sw_interface_dump
diff --git a/resources/templates/vat/interface_vrf_dump.vat b/resources/templates/vat/interface_vrf_dump.vat
deleted file mode 100644
index 5cae0abc12..0000000000
--- a/resources/templates/vat/interface_vrf_dump.vat
+++ /dev/null
@@ -1 +0,0 @@
-sw_interface_get_table sw_if_index {sw_if_index} \ No newline at end of file
diff --git a/resources/templates/vat/ip_address_dump.vat b/resources/templates/vat/ip_address_dump.vat
deleted file mode 100644
index 60585edc3a..0000000000
--- a/resources/templates/vat/ip_address_dump.vat
+++ /dev/null
@@ -1 +0,0 @@
-ip_address_dump {ip_version} sw_if_index {sw_if_index}
diff --git a/resources/templates/vat/ip_source_check.vat b/resources/templates/vat/ip_source_check.vat
deleted file mode 100644
index 12da19ba25..0000000000
--- a/resources/templates/vat/ip_source_check.vat
+++ /dev/null
@@ -1 +0,0 @@
-exec set interface ip source-check {interface_name} \ No newline at end of file
diff --git a/resources/templates/vat/l2_bd_add_sw_if_index.vat b/resources/templates/vat/l2_bd_add_sw_if_index.vat
deleted file mode 100644
index a0384c9170..0000000000
--- a/resources/templates/vat/l2_bd_add_sw_if_index.vat
+++ /dev/null
@@ -1 +0,0 @@
-sw_interface_set_l2_bridge sw_if_index {sw_if_index} bd_id {bd_id} shg {shg} enable \ No newline at end of file
diff --git a/resources/templates/vat/l2_bd_create.vat b/resources/templates/vat/l2_bd_create.vat
deleted file mode 100644
index fa1316b932..0000000000
--- a/resources/templates/vat/l2_bd_create.vat
+++ /dev/null
@@ -1 +0,0 @@
-bridge_domain_add_del bd_id {bd_id} flood {flood} uu-flood {uu_flood} forward {forward} learn {learn} arp-term {arp_term} \ No newline at end of file
diff --git a/resources/templates/vat/l2_bd_dump.vat b/resources/templates/vat/l2_bd_dump.vat
deleted file mode 100644
index 6d0b9d0778..0000000000
--- a/resources/templates/vat/l2_bd_dump.vat
+++ /dev/null
@@ -1 +0,0 @@
-bridge_domain_dump
diff --git a/resources/templates/vat/l2_bridge_domain.vat b/resources/templates/vat/l2_bridge_domain.vat
deleted file mode 100644
index 20bc28f96d..0000000000
--- a/resources/templates/vat/l2_bridge_domain.vat
+++ /dev/null
@@ -1,3 +0,0 @@
-bridge_domain_add_del bd_id {bd_id} flood 1 uu-flood 1 forward 1 learn {learn} arp-term 0
-sw_interface_set_l2_bridge sw_if_index {sw_if_id1} bd_id {bd_id} shg 0 enable
-sw_interface_set_l2_bridge sw_if_index {sw_if_id2} bd_id {bd_id} shg 0 enable
diff --git a/resources/templates/vat/l2_bridge_domain_delete.vat b/resources/templates/vat/l2_bridge_domain_delete.vat
deleted file mode 100644
index 354f1acd52..0000000000
--- a/resources/templates/vat/l2_bridge_domain_delete.vat
+++ /dev/null
@@ -1 +0,0 @@
-bridge_domain_add_del bd_id {bd_id} delete \ No newline at end of file
diff --git a/resources/templates/vat/l2_fib_entry_delete.vat b/resources/templates/vat/l2_fib_entry_delete.vat
deleted file mode 100644
index a2fdf16aed..0000000000
--- a/resources/templates/vat/l2_fib_entry_delete.vat
+++ /dev/null
@@ -1 +0,0 @@
-l2fib_add_del mac {mac} bd_id {bd_id} delete \ No newline at end of file
diff --git a/resources/templates/vat/l2_fib_table_dump.vat b/resources/templates/vat/l2_fib_table_dump.vat
deleted file mode 100644
index 83db7d0691..0000000000
--- a/resources/templates/vat/l2_fib_table_dump.vat
+++ /dev/null
@@ -1 +0,0 @@
-l2_fib_table_dump bd_id {bd_id} \ No newline at end of file
diff --git a/resources/templates/vat/l2_patch.vat b/resources/templates/vat/l2_patch.vat
deleted file mode 100644
index 4910c72296..0000000000
--- a/resources/templates/vat/l2_patch.vat
+++ /dev/null
@@ -1 +0,0 @@
-l2_patch_add_del rx_sw_if_index {interface1} tx_sw_if_index {interface2}
diff --git a/resources/templates/vat/l2_vlan_tag_rewrite.vat b/resources/templates/vat/l2_vlan_tag_rewrite.vat
deleted file mode 100644
index 1e8aa37fdc..0000000000
--- a/resources/templates/vat/l2_vlan_tag_rewrite.vat
+++ /dev/null
@@ -1 +0,0 @@
-l2_interface_vlan_tag_rewrite sw_if_index {sw_if_index} {tag_rewrite_method} {push_dot1q} {tag1_optional} {tag2_optional}
diff --git a/resources/templates/vat/l2_xconnect.vat b/resources/templates/vat/l2_xconnect.vat
deleted file mode 100644
index 77cb9d6240..0000000000
--- a/resources/templates/vat/l2_xconnect.vat
+++ /dev/null
@@ -1 +0,0 @@
-sw_interface_set_l2_xconnect rx_sw_if_index {interface1} tx_sw_if_index {interface2}
diff --git a/resources/templates/vat/memif_create.vat b/resources/templates/vat/memif_create.vat
deleted file mode 100644
index 1e203690b9..0000000000
--- a/resources/templates/vat/memif_create.vat
+++ /dev/null
@@ -1 +0,0 @@
-memif_create id {id} socket-id {socket} {role} {rx_q} {tx_q}
diff --git a/resources/templates/vat/memif_dump.vat b/resources/templates/vat/memif_dump.vat
deleted file mode 100644
index 355f8f6efd..0000000000
--- a/resources/templates/vat/memif_dump.vat
+++ /dev/null
@@ -1 +0,0 @@
-memif_dump
diff --git a/resources/templates/vat/memif_socket_filename_add_del.vat b/resources/templates/vat/memif_socket_filename_add_del.vat
deleted file mode 100644
index cc7a824f6b..0000000000
--- a/resources/templates/vat/memif_socket_filename_add_del.vat
+++ /dev/null
@@ -1 +0,0 @@
-memif_socket_filename_add_del {add_del} id {id} filename {filename}
diff --git a/resources/templates/vat/proxy_arp_intfc_enable.vat b/resources/templates/vat/proxy_arp_intfc_enable.vat
deleted file mode 100644
index e4d2313b70..0000000000
--- a/resources/templates/vat/proxy_arp_intfc_enable.vat
+++ /dev/null
@@ -1 +0,0 @@
-proxy_arp_intfc_enable_disable sw_if_index {sw_if_index} enable \ No newline at end of file
diff --git a/resources/templates/vat/set_fib_to_interface.vat b/resources/templates/vat/set_fib_to_interface.vat
deleted file mode 100644
index 09a97faf17..0000000000
--- a/resources/templates/vat/set_fib_to_interface.vat
+++ /dev/null
@@ -1 +0,0 @@
-sw_interface_set_table sw_if_index {sw_index} vrf {vrf} {ipv6} \ No newline at end of file
diff --git a/resources/templates/vat/set_if_state.vat b/resources/templates/vat/set_if_state.vat
deleted file mode 100644
index e2c2d4b29d..0000000000
--- a/resources/templates/vat/set_if_state.vat
+++ /dev/null
@@ -1 +0,0 @@
-sw_interface_set_flags sw_if_index {sw_if_index} {state}
diff --git a/resources/templates/vat/show_interface.vat b/resources/templates/vat/show_interface.vat
deleted file mode 100644
index 474b8478ae..0000000000
--- a/resources/templates/vat/show_interface.vat
+++ /dev/null
@@ -1 +0,0 @@
-exec show interface
diff --git a/resources/templates/vat/show_ip_fib.vat b/resources/templates/vat/show_ip_fib.vat
deleted file mode 100644
index 402346021f..0000000000
--- a/resources/templates/vat/show_ip_fib.vat
+++ /dev/null
@@ -1 +0,0 @@
-exec show ip fib \ No newline at end of file
diff --git a/resources/templates/vat/show_memif.vat b/resources/templates/vat/show_memif.vat
deleted file mode 100644
index 4b6c14a8df..0000000000
--- a/resources/templates/vat/show_memif.vat
+++ /dev/null
@@ -1 +0,0 @@
-exec show memif
diff --git a/resources/templates/vat/show_vhost.vat b/resources/templates/vat/show_vhost.vat
deleted file mode 100644
index 95b4be0356..0000000000
--- a/resources/templates/vat/show_vhost.vat
+++ /dev/null
@@ -1 +0,0 @@
-exec show vhost
diff --git a/resources/templates/vat/sw_interface_ip6nd_ra_config.vat b/resources/templates/vat/sw_interface_ip6nd_ra_config.vat
deleted file mode 100644
index 09c7320ca7..0000000000
--- a/resources/templates/vat/sw_interface_ip6nd_ra_config.vat
+++ /dev/null
@@ -1 +0,0 @@
-sw_interface_ip6nd_ra_config sw_if_index {sw_if_id} {param}
diff --git a/resources/templates/vat/tap_dump.vat b/resources/templates/vat/tap_dump.vat
deleted file mode 100644
index de8412b581..0000000000
--- a/resources/templates/vat/tap_dump.vat
+++ /dev/null
@@ -1 +0,0 @@
-sw_interface_tap_v2_dump \ No newline at end of file
diff --git a/resources/templates/vat/vhost_user_dump.vat b/resources/templates/vat/vhost_user_dump.vat
deleted file mode 100644
index 6a3d7a5130..0000000000
--- a/resources/templates/vat/vhost_user_dump.vat
+++ /dev/null
@@ -1 +0,0 @@
-sw_interface_vhost_user_dump \ No newline at end of file
diff --git a/resources/templates/vat/vxlan_create.vat b/resources/templates/vat/vxlan_create.vat
deleted file mode 100644
index 15125f9be3..0000000000
--- a/resources/templates/vat/vxlan_create.vat
+++ /dev/null
@@ -1 +0,0 @@
-vxlan_add_del_tunnel src {src} dst {dst} vni {vni} \ No newline at end of file
diff --git a/resources/templates/vat/vxlan_dump.vat b/resources/templates/vat/vxlan_dump.vat
deleted file mode 100644
index 6f41f311bc..0000000000
--- a/resources/templates/vat/vxlan_dump.vat
+++ /dev/null
@@ -1 +0,0 @@
-vxlan_tunnel_dump {param} {sw_if_index} \ No newline at end of file
diff --git a/resources/templates/vat/vxlan_gpe_dump.vat b/resources/templates/vat/vxlan_gpe_dump.vat
deleted file mode 100644
index e82d94cf14..0000000000
--- a/resources/templates/vat/vxlan_gpe_dump.vat
+++ /dev/null
@@ -1 +0,0 @@
-vxlan_gpe_tunnel_dump \ No newline at end of file