Changes between Initial Version and Version 1 of p4-ovs-setup


Ignore:
Timestamp:
12/02/16 10:57:34 (5 years ago)
Author:
tpfeiff
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • p4-ovs-setup

    v1 v1  
     1 
     2 
     3== Setup Open vSwitch mit P4 == 
     4 
     5 
     6{{{ 
     7 
     8 
     9sudo apt install python python-pip libtool pyftpdlib libtool dh-python graphviz python-qt4 python-zopeinterface python-twisted-conch libc-dev libssl-dev libssl-bin dh-autoreconf 
     10 
     11sudo pip install 'flake8<3.0' 
     12 
     13wget https://github.com/blp/ovs-reviews/archive/p4-workshop.tar.gz 
     14 
     15tar -xvf ovs-reviws-p4-workshop.tar.gz 
     16cd  ovs-reviws-p4-workshop 
     17 
     18./boot.sh 
     19./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc 
     20 
     21make 
     22sudo make install 
     23 
     24sudo ovsdb-tool create /etc/openvswitch/conf.db vswitchd/vswitch.ovsschema 
     25 
     26sudo ovsdb-server --remote=punix:/var/run/openvswitch/db.sock \ 
     27    --remote=db:Open_vSwitch,Open_vSwitch,manager_options \ 
     28    --private-key=db:Open_vSwitch,SSL,private_key \ 
     29    --certificate=db:Open_vSwitch,SSL,certificate \ 
     30    --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert \ 
     31    --pidfile --detach 
     32         
     33sudo ovs-vsctl --no-wait init 
     34 
     35sudo ovs-vswitchd --pidfile --detach 
     36}}}