Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleConsider using onos.py

A simpler alternative to this approach can be found in Environment setup with Using Mininet and onos.py - you can pick whichever option seems best for your purposes.

...

Code Block
==> mn: PLAY RECAP *********************************************************************
==> mn: localhost                  : ok=4    changed=3    unreachable=0    failed=0

 

At this point use the lxc vagrant cell to setup your environment:

Code Block
$ cell lxcvagrant
ONOS_CELL=lxcvagrant
OCI=10.100.198.201
OC1=10.100.198.201
OC2=10.100.198.202
OC3=10.100.198.203
OCN=10.100.198.100
ONOS_APPS=drivers,openflow,proxyarp
ONOS_GROUP=ubuntu
ONOS_NIC=10.100.198.*
ONOS_SCENARIOS=$ONOS_ROOT/onos-next/tools/test/scenarios
ONOS_USER=ubuntu
ONOS_WEB_PASS=rocks
ONOS_WEB_USER=onos

...

Note

In older versions the cell name may be lxc instead of vagrant.

Finally, just push your ssh keys to the lxc nodes:

...