This is a fork of the loxigen tool by the Floodlight Project. This version includes extensions for optical networks introduced by ONOS as well as SDWN extensions. It generates libraries for Java (OpenFlowJ version 3.1.0.sdwn) and C to be used with the SDWN ONOS controller.
WARNING: Do not use the C library for optical networks. This fork was made for the SDWN extensions. It only includes the optical parts for C to be compatible with the Java lib for ONOS. The generated C library will not work correctly.
- Clone the repository
- Build the Java library:
make java
- Install the Java library to your local maven repository
cd loxi_output/openflowj && mvn clean install
- Include the Java library in your maven project as a dependency
<dependencies>
...
<dependency>
<groupId>de.tuberlin.inet.sdwn</groupId>
<artifactId>openflowj</artifactId>
<version>3.1.0.sdwn-SNAPSHOT</version>
</dependency>
...
</dependencies>
- Clone the repository
- Build the C library:
make C
- Copy the generated sources to your project from
loxi_output/loci