Simon Hunt | f5d433a | 2016-03-01 14:31:14 -0800 | [diff] [blame] | 1 | # Simon's LXC-based multi ONOS instances & ONOS mininet VM. |
| 2 | |
| 3 | ### |
| 4 | ### NOTE: |
| 5 | ### Assumes a route has been set up |
| 6 | ### from 192.168.56.0/24 -> 10.0.3.0/24 |
| 7 | ### |
| 8 | ### {dest-net} {gateway} (i.e. container VM) |
| 9 | ### sudo route -n add 10.0.3.0/24 192.168.56.102 |
| 10 | ### |
| 11 | |
Simon Hunt | a855a40 | 2016-03-02 14:41:52 -0800 | [diff] [blame] | 12 | ## ONOS Cluster VM (has LXC containers for cluster nodes) |
| 13 | export OCVM=192.168.56.102 |
Simon Hunt | f5d433a | 2016-03-01 14:31:14 -0800 | [diff] [blame] | 14 | |
| 15 | #============================================ |
| 16 | # sdn@ubuntuvm:~$ sudo lxc-ls --fancy |
| 17 | # NAME STATE IPV4 IPV6 AUTOSTART |
| 18 | # ------------------------------------------- |
| 19 | # onos1 RUNNING 10.0.3.174 - NO |
| 20 | #============================================ |
| 21 | |
| 22 | |
Simon Hunt | a855a40 | 2016-03-02 14:41:52 -0800 | [diff] [blame] | 23 | export ONOS_USE_SSH=true |
| 24 | export ONOS_NIC="10.0.3.*" |
| 25 | |
Simon Hunt | f5d433a | 2016-03-01 14:31:14 -0800 | [diff] [blame] | 26 | ## ONOS instances (LXC containers) |
| 27 | export OC1=10.0.3.174 |
Simon Hunt | a855a40 | 2016-03-02 14:41:52 -0800 | [diff] [blame] | 28 | export OC2=10.0.3.242 |
| 29 | export OC3=10.0.3.49 |
Simon Hunt | f5d433a | 2016-03-01 14:31:14 -0800 | [diff] [blame] | 30 | |
| 31 | ## default ONOS instance |
| 32 | export OCI=$OC1 |
| 33 | |
| 34 | ## credentials for logging into ONOS instances |
| 35 | export ONOS_USER=sdn |
| 36 | |
Simon Hunt | 59f598c | 2016-03-04 15:15:13 -0800 | [diff] [blame^] | 37 | ## the apps we want activated at startup |
| 38 | export ONOS_APPS="drivers,openflow,proxyarp,drivermatrix" |
Simon Hunt | f5d433a | 2016-03-01 14:31:14 -0800 | [diff] [blame] | 39 | |
| 40 | ## mininet VM |
| 41 | export OCN="192.168.56.103" |
| 42 | |
| 43 | export ONOS_WEB_USER=onos |
| 44 | export ONOS_WEB_PASS=rocks |