~james-page/ubuntu/saucy/openvswitch/1.12-snapshot

« back to all changes in this revision

Viewing changes to tutorial/t-setup

  • Committer: James Page
  • Date: 2013-08-21 10:16:57 UTC
  • mfrom: (1.1.20)
  • Revision ID: james.page@canonical.com-20130821101657-3o0z0qeiv5zkwlzi
New upstream snapshot

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh -ve
 
2
 
 
3
ovs-vsctl add-br br0 -- set Bridge br0 fail-mode=secure
 
4
 
 
5
for i in 1 2 3 4; do
 
6
    ovs-vsctl add-port br0 p$i -- set Interface p$i ofport_request=$i
 
7
    ovs-ofctl mod-port br0 p$i up
 
8
done