User Tools

Site Tools


ov:run_openvolcano

Run Openvolcano

First of all, create a directory named openvolcano in “/usr/local/etc” and copy all the files from “working directory/openvolcano/config” to it.

The file openvolcano.conf contains the default configuration values for all the modules. The file topology.conf contains the description of the network topology (nodes and links among nodes).

<?xml version="1.0" encoding="utf-8"?>
<modules>
  <lava>
    <rest>
      <local>
	    <address>127.0.0.1<address>
	    <port>2020</port>
	  </local>
    </rest>
  </lava>
</modules>

Configuration example with the specification of the IP address and TCP port of the REST interface for the Lava module.

In order to run the Quake OpenFlow switch:

  1. Configure the DPDK environment:
    1. Move to the “/usr/src/dpdk-16.04” directory.
    2. Run the setup script:
      $ tools/setup.sh
    3. Build the x86_64-native-linuxapp-clang DPDK environment by selecting option “13”.
    4. Insert the IGB UIO and the KNI module by selecting options “17” and “19”.
    5. Bind the Ethernet devices to the IGB UIO module by selecting option “23”.
    6. Exit the script by selecting option “34”.
  2. Configure the switch database, saved in the file “src/quake/src/quake.db” (see the example in the box below)
    1. Since the DPDK library initializes all the resources at the application startup, you need to put all the ports you will require at runtime in the database.
<?xml version="1.0" encoding="utf-8"?>
<of>
  <switches>
    <switch>
      <name>savona-c</name>
      <mac>00:1e:67:d3:f5:bd</mac>
      <workers>1</workers>
      <controller>
        <address>192.168.17.175</address>
        <port>6633</port>
      </controller>
      <ports>
        <port>
          <physical>0</physical>
          <of-id>1</of-id>
        </port>
 
        <port>
          <kni>keth0</kni>
          <of-id>2</of-id>
          <mac>f6:69:ef:a6:17:11</mac>
        </port>
 
        <port>
          <kni>keth100</kni>
          <of-id>100</of-id>
        </port>
 
       <port>
          <logical>ofeth200</logical>
          <of-id>200</of-id>
        </port>
      </ports>
    </switch>
  </switches>
</of>

Example of the Quacke configuration file

ov/run_openvolcano.txt · Last modified: 2018/04/11 09:31 by 130.251.17.67