aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vat
diff options
context:
space:
mode:
Diffstat (limited to 'resources/templates/vat')
-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/vxlan_create.vat1
3 files changed, 3 insertions, 0 deletions
diff --git a/resources/templates/vat/l2_bd_add_sw_if_index.vat b/resources/templates/vat/l2_bd_add_sw_if_index.vat
new file mode 100644
index 0000000000..a0384c9170
--- /dev/null
+++ b/resources/templates/vat/l2_bd_add_sw_if_index.vat
@@ -0,0 +1 @@
+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
new file mode 100644
index 0000000000..fa1316b932
--- /dev/null
+++ b/resources/templates/vat/l2_bd_create.vat
@@ -0,0 +1 @@
+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/vxlan_create.vat b/resources/templates/vat/vxlan_create.vat
new file mode 100644
index 0000000000..15125f9be3
--- /dev/null
+++ b/resources/templates/vat/vxlan_create.vat
@@ -0,0 +1 @@
+vxlan_add_del_tunnel src {src} dst {dst} vni {vni} \ No newline at end of file