Changes between Version 4 and Version 5 of Internal/OpenFlow/Controllers/FlowVisor
- Timestamp:
- Sep 14, 2010, 3:44:27 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/OpenFlow/Controllers/FlowVisor
v4 v5 13 13 == installation == 14 14 1. install above-mentioned packages 15 1. pull from git repository: 15 16 2. pull from git repository: 16 17 {{{ 18 git clone git://openflowswitch.org/flowvisor.git 19 cd flowvisor 17 20 git checkout -b flowvisor-0.6 origin/flowvisor-0.6 18 21 }}} 22 19 23 we need to take this step to make sure we have the right package. 20 3. choose the proper version of java with `update-alternatives --config java` 24 25 3. choose the proper version of java with ''update-alternatives --config java'' 21 26 {{{ 22 27 root@internal2:/opt/flowvisor# update-alternatives --config java … … 29 34 * 2 /usr/lib/jvm/java-6-sun/jre/bin/java 63 manual mode 30 35 }}} 36 31 37 make sure to have java-6-sun version of java chosen as the alternative as shown above. 32 4. cd to flowvisor directory; if ./configure doesn't exist, run ./boot.sh 38 39 4. cd to flowvisor directory; if ''./configure'' doesn't exist, run ''./boot.sh'' 33 40 {{{ 34 41 sh ./boot.sh 35 42 }}} 43 36 44 5. run ''./configure'' 45 37 46 6. run make: 38 47 {{{ … … 44 53 /usr/lib/jvm/java-6-sun-1.6.0.20/include/jni.h 45 54 }}} 46 7. run ''make tests''and ''make install'' 55 56 7. run ''make tests'' and ''make install'' 47 57 48 58 == configuration == 49 Configuration files should be placed in a directory called "flowvisor-conf.d". 50 51 !FlowVisor reads any files ending in ''.guest'' and ''.switch'' in the directory. The first describes policies, and the latter, the datapaths associated with the policies. 59 the primary means of configuring flowvisor is via ''fvctl''. 52 60 53 61