Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Download vRouter emulator. Note that it is a prototype version.

    Code Block
    git clone https://github.com/osinstom/vrouter-client-py.git


  • Configure vRouter.

    Code Block
    cd vrouter-client-py
    nano config.ini

    You should configure jid, vrouter.ip and controller.ip parameters. The jid parameter identifies XMPP client and should be unique for compute node. The vrouter.ip is an IP address of data network interface. The controller.ip parameter is an IP address of ONOS controller. Sample config:

    Code Block
    [general]
    jid=agent2@vnsw.contrailsystems.com
    vrouter.ip=192.168.121.3
    controller.ip=192.168.10.2


  • Run vRouter console.

    Code Block
    sudo python vrouter.py
  • The vRouter emulator should establish XMPP stream with controller. You can choose the action to perform from command-line menu. Note that it is prototype (work in progress) application so far and not all function may work properly. Actually, the code from Gerrit patch handles only the device-related operations. As a result of above command you should see new device in the ONOS core.

Demo and Results

A simple demo using vRouter emulator has been developed already. The PoC presents XMPP-based BGP-signaled End System IP VPN using ONOS as a control plane.

...