blob: c3c6cc90190af8b7fda6136a641a0f288c96c952 [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
12## Use this command on VM to see IP addresses of instances:
13## sudo lxc-ls --fancy
14
15export ONOS_USE_SSH=true
16export ONOS_NIC="10.0.3.*"
17
18
19#============================================
20# sdn@ubuntuvm:~$ sudo lxc-ls --fancy
21# NAME STATE IPV4 IPV6 AUTOSTART
22# -------------------------------------------
23# onos1 RUNNING 10.0.3.174 - NO
24#============================================
25
26
27## ONOS instances (LXC containers)
28export OC1=10.0.3.174
29# TODO: clone OC1
30#export OC2=10.0.3.78
31#export OC3=10.0.3.195
32#export OC4=10.0.3.126
33
34## default ONOS instance
35export OCI=$OC1
36
37## credentials for logging into ONOS instances
38export ONOS_USER=sdn
39
40export ONOS_APPS="drivers,openflow,proxyarp,fwd"
41
42## mininet VM
43export OCN="192.168.56.103"
44
45export ONOS_WEB_USER=onos
46export ONOS_WEB_PASS=rocks