OpFlex
参考:
OpFlex
Building
mkdir -p ~/work
pushd work
git clone https://git.opendaylight.org/gerrit/opflex
popd
libopflex
First, install libuv from source:
pushd ~/work
git clone https://github.com/libuv/libuv.git --branch v1.x
pushd libuv
./autogen.sh
./configure
make -j8
sudo make install
popd
popd
Next, install rapidjson:
pushd ~/work
git clone https://github.com/miloyip/rapidjson.git --branch v1.0.2 --depth 1
pushd rapidjson
cmake .
make
sudo make install
popd
popd
Now, you can build libopflex:
pushd ~/work/opflex/libopflex
./autogen.sh
./configure
make -j8 # make -j2
make check
sudo make install
popd
genie and libmodelgbp
First, run the code generator:
pushd ~/work/opflex/genie
mvn compile exec:java
popd
Next build and install the libmodelgbp library:
pushd ~/work/opflex/genie/target/libmodelgbp
bash autogen.sh
./configure
make
sudo make install
popd
To improve is to change, to be perfect is to change often.