A recent patch added a new OVN configuration option called
ovn-bridge-mappings.  Create some bridges and configure
ovn-bridge-mappings to make testing this part of OVN easier.

This setup will not interfere with anything unless you try to create
networks that make use of it.

Signed-off-by: Russell Bryant <rbry...@redhat.com>
---
 tutorial/ovs-sandbox | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tutorial/ovs-sandbox b/tutorial/ovs-sandbox
index e2bca9c..578d4ff 100755
--- a/tutorial/ovs-sandbox
+++ b/tutorial/ovs-sandbox
@@ -337,6 +337,9 @@ if $ovn; then
     ovs-vsctl add-br br-int \
         -- set bridge br-int fail-mode=secure other-config:disable-in-band=true
 
+    ovs-vsctl add-br br-eth1
+    ovs-vsctl set open . external-ids:ovn-bridge-mappings=physnet1:br-eth1
+
     rungdb $gdb_ovn_northd $gdb_ovn_northd_ex ovn-northd --detach --no-chdir 
--pidfile -vconsole:off --log-file
     rungdb $gdb_ovn_controller $gdb_ovn_controller_ex ovn-controller --detach 
--no-chdir --pidfile -vconsole:off --log-file
 fi
-- 
2.4.3

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to