Yuma

From Sb
Jump to: navigation, search

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.

Media:Yuma-nox_module.tar

Run netconfd the following command:

    sudo netconfd --superuser=<username> --module=nox

Usage of NOX module

After the installation of Yuma tools:

  1. Run yangcli
  2. 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>
  3. Create:
    1. the main container (nox-sys) if not exist
          get-locks
          create /nox-sys
    2. otherwise create one or more nox-instances, eg.:
          get-locks
          create /nox-sys/nox-instance
  4. Commit the changes and release the lock
        save
        release-locks
  5. Get the appropriate nox-instance ID you want to start/stop/edit, then choose the following commands:
    Get details of nox-instances:
        sget /nox-sys
    Start NOX:
        nox-start nox-instance=<ID>
    Stop NOX:
        nox-stop nox-instance=<ID>
Personal tools