aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vat/l2_bridge_domain_static.vat
diff options
context:
space:
mode:
Diffstat (limited to 'resources/templates/vat/l2_bridge_domain_static.vat')
-rw-r--r--resources/templates/vat/l2_bridge_domain_static.vat6
1 files changed, 6 insertions, 0 deletions
diff --git a/resources/templates/vat/l2_bridge_domain_static.vat b/resources/templates/vat/l2_bridge_domain_static.vat
new file mode 100644
index 0000000000..bb99b2daba
--- /dev/null
+++ b/resources/templates/vat/l2_bridge_domain_static.vat
@@ -0,0 +1,6 @@
+sw_interface_set_flags {interface1} admin-up link-up
+sw_interface_set_flags {interface2} admin-up link-up
+bridge_domain_add_del bd_id {bd_id} flood 1 uu-flood 1 forward 1 learn 0 arp-term 0
+sw_interface_set_l2_bridge {interface1} bd_id {bd_id} shg 0 enable
+sw_interface_set_l2_bridge {interface2} bd_id {bd_id} shg 0 enable
+exec trace add dpdk-input 100