blob: fbe57d855a85aef3e8921acb00a264d6e0700b69 [file] [log] [blame]
Simon Huntf5d433a2016-03-01 14:31:14 -08001# 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 Hunta855a402016-03-02 14:41:52 -080012## ONOS Cluster VM (has LXC containers for cluster nodes)
13export OCVM=192.168.56.102
Simon Huntf5d433a2016-03-01 14:31:14 -080014
15#============================================
Simon Hunt3b955642016-03-07 15:03:30 -080016# sdn@ocluster:~$ sudo lxc-ls --fancy
Simon Huntf5d433a2016-03-01 14:31:14 -080017# NAME STATE IPV4 IPV6 AUTOSTART
18# -------------------------------------------
Simon Hunt3b955642016-03-07 15:03:30 -080019# onos1 RUNNING 10.0.3.174 - YES
20# onos2 RUNNING 10.0.3.242 - YES
21# onos3 RUNNING 10.0.3.49 - YES
22# onos4 RUNNING 10.0.3.132 - YES
Simon Huntf5d433a2016-03-01 14:31:14 -080023#============================================
24
Simon Hunta855a402016-03-02 14:41:52 -080025export ONOS_USE_SSH=true
26export ONOS_NIC="10.0.3.*"
27
Simon Huntf5d433a2016-03-01 14:31:14 -080028## ONOS instances (LXC containers)
29export OC1=10.0.3.174
Simon Hunta855a402016-03-02 14:41:52 -080030export OC2=10.0.3.242
31export OC3=10.0.3.49
Simon Hunt3b955642016-03-07 15:03:30 -080032export OC4=10.0.3.132
Simon Huntf5d433a2016-03-01 14:31:14 -080033
34## default ONOS instance
35export OCI=$OC1
36
37## credentials for logging into ONOS instances
38export ONOS_USER=sdn
39
Simon Hunt59f598c2016-03-04 15:15:13 -080040## the apps we want activated at startup
41export ONOS_APPS="drivers,openflow,proxyarp,drivermatrix"
Simon Huntf5d433a2016-03-01 14:31:14 -080042
43## mininet VM
44export OCN="192.168.56.103"
45
46export ONOS_WEB_USER=onos
47export ONOS_WEB_PASS=rocks