blob: be79afc6e18a2d00c69d5c99ca1a76b9873c07bb [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#============================================
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 Hunta855a402016-03-02 14:41:52 -080023export ONOS_USE_SSH=true
24export ONOS_NIC="10.0.3.*"
25
Simon Huntf5d433a2016-03-01 14:31:14 -080026## ONOS instances (LXC containers)
27export OC1=10.0.3.174
Simon Hunta855a402016-03-02 14:41:52 -080028export OC2=10.0.3.242
29export OC3=10.0.3.49
Simon Huntf5d433a2016-03-01 14:31:14 -080030
31## default ONOS instance
32export OCI=$OC1
33
34## credentials for logging into ONOS instances
35export ONOS_USER=sdn
36
Simon Hunt59f598c2016-03-04 15:15:13 -080037## the apps we want activated at startup
38export ONOS_APPS="drivers,openflow,proxyarp,drivermatrix"
Simon Huntf5d433a2016-03-01 14:31:14 -080039
40## mininet VM
41export OCN="192.168.56.103"
42
43export ONOS_WEB_USER=onos
44export ONOS_WEB_PASS=rocks