anvil/tools/configure-openvswitch.sh
Anastasia Karpinska b0b143b412 Nova and quantum configurations fixed. L3 and DHCP agents were added.
Change-Id: I0c46d19cacac234564a72b6d12ff99db8fff5b59
2013-06-30 12:53:58 -07:00

18 lines
378 B
Bash

#!/bin/bash
# This is a sample script to configure OpenVSwitch for
# development needs.
echo 'Startig openvswitch service'
sudo /etc/init.d/openvswitch start
echo "Creating internal bridge 'br-int'"
sudo ovs-vsctl add-br br-int
echo "Creating external bridge 'br-ex'"
sudo ovs-vsctl add-br br-ex
echo "Adding a network interface 'eth1'"
sudo ovs-vsctl add-port br-ex eth1