Yuma
Yuma is a YANG-based Unified Modular Automation toolkit for the NETCONF protocol.
Contents |
OpenFlow Virtualization Framework
Netconfd module: Media:Openflow_virtualization_framework.tar
Yang data model: Media:Openflow.yang.tar
Extension for OpenFlow 1.1 Reference switch: Media:Yuma-of11softswitch_extension.tar
NOX module extension for netconfd (Yuma tools)
Installation of NOX module in Yuma
This script automatically install the NOX (Zaku&1.1), Yuma tools and NOX extension:
Media:Install-nox_yuma_v2-squeeze.sh.txt
After download:
mv Install-nox_yuma_v2-squeeze.sh.txt install-nox_yuma_v2-squeeze.sh chmod +x install-nox_yuma_v2-squeeze.sh ./install-nox_yuma_v2-squeeze.sh
Manually install:
Copy files, then make and make install in Yuma root and libnox directory. Note: Use version2 of Yuma. That needs additional packages, such as libz-dev libxml2-dev, libncurses5-dev, libssh2-1-dev (Debian). Also remember to edit /etc/ssh/sshd.config (Debian) and restart the ssh service. Follow the installation of Yuma.
Run netconfd the following command:
sudo netconfd --superuser=<username> --module=nox
Usage of NOX module
After the installation of Yuma tools:
- Run yangcli
- Connect to the Netconf server (if exist a nox-instance you want to start/stop/edit GOTO: 5. step)
connect server=<IP-address> user=<username> password=<password>
- Create:
- the main container (nox-sys) if not exist
get-locks
create /nox-sys
- otherwise create one or more nox-instances, eg.:
get-locks
create /nox-sys/nox-instance
- the main container (nox-sys) if not exist
- Commit the changes and release the lock
save
release-locks
- Get the appropriate nox-instance ID you want to start/stop/edit, then choose the following commands:
Get details of nox-instances:Start NOX:sget /nox-sys
Stop NOX:nox-start nox-instance=<ID>
nox-stop nox-instance=<ID>