aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vat/l2_bridge_domain.vat
diff options
context:
space:
mode:
Diffstat (limited to 'resources/templates/vat/l2_bridge_domain.vat')
-rw-r--r--resources/templates/vat/l2_bridge_domain.vat11
1 files changed, 5 insertions, 6 deletions
diff --git a/resources/templates/vat/l2_bridge_domain.vat b/resources/templates/vat/l2_bridge_domain.vat
index 9c81dbc8e8..e1d36b6bcf 100644
--- a/resources/templates/vat/l2_bridge_domain.vat
+++ b/resources/templates/vat/l2_bridge_domain.vat
@@ -1,6 +1,5 @@
-sw_interface_set_flags {interface1} admin-up link-up
-sw_interface_set_flags {interface2} admin-up link-up
-bridge_domain_add_del bd_id 1 flood 1 uu-flood 1 forward 1 learn 1 arp-term 0
-sw_interface_set_l2_bridge {interface1} bd_id 1 shg 0 enable
-sw_interface_set_l2_bridge {interface2} bd_id 1 shg 0 enable
-exec trace add dpdk-input 100
+sw_interface_set_flags sw_if_index {sw_if_id1} admin-up link-up
+sw_interface_set_flags sw_if_index {sw_if_id2} admin-up link-up
+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