Committed by
Gerrit Code Review
Re-configuring simon's uk cells.
Change-Id: I54c53f58bf65e4b917b4335cf193ad5d81899805
Showing
2 changed files
with
18 additions
and
4 deletions
... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
10 | ### | 10 | ### |
11 | 11 | ||
12 | ## ONOS Cluster VM (has LXC containers for cluster nodes) | 12 | ## ONOS Cluster VM (has LXC containers for cluster nodes) |
13 | -export OCVM=192.168.56.102 | 13 | +export OCVM=192.168.56.98 |
14 | 14 | ||
15 | #============================================ | 15 | #============================================ |
16 | # sdn@ocluster:~$ sudo lxc-ls --fancy | 16 | # sdn@ocluster:~$ sudo lxc-ls --fancy |
... | @@ -43,7 +43,14 @@ export ONOS_USER=sdn | ... | @@ -43,7 +43,14 @@ export ONOS_USER=sdn |
43 | export ONOS_APPS="drivers,openflow,proxyarp,drivermatrix,mlb" | 43 | export ONOS_APPS="drivers,openflow,proxyarp,drivermatrix,mlb" |
44 | 44 | ||
45 | ## mininet VM | 45 | ## mininet VM |
46 | -export OCN="192.168.56.103" | 46 | +export OCN="192.168.56.99" |
47 | 47 | ||
48 | export ONOS_WEB_USER=onos | 48 | export ONOS_WEB_USER=onos |
49 | export ONOS_WEB_PASS=rocks | 49 | export ONOS_WEB_PASS=rocks |
50 | + | ||
51 | +# Verify route to LXC cluster | ||
52 | +netstat -nr | grep 10.0.3 | grep -q $OCVM && echo "Routes to LXC in place" || ( | ||
53 | + echo "Route to LXC not found. Adding..."; | ||
54 | + sudo bash -c "route -n delete 10.0.3.0/24; \ | ||
55 | + route -n add 10.0.3.0/24 192.168.56.98" >/dev/null 2>&1 | ||
56 | +) | ... | ... |
... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
10 | ### | 10 | ### |
11 | 11 | ||
12 | ## ONOS Cluster VM (has LXC containers for cluster nodes) | 12 | ## ONOS Cluster VM (has LXC containers for cluster nodes) |
13 | -export OCVM=192.168.56.102 | 13 | +export OCVM=192.168.56.98 |
14 | 14 | ||
15 | #============================================ | 15 | #============================================ |
16 | # sdn@ocluster:~$ sudo lxc-ls --fancy | 16 | # sdn@ocluster:~$ sudo lxc-ls --fancy |
... | @@ -41,7 +41,14 @@ export ONOS_USER=sdn | ... | @@ -41,7 +41,14 @@ export ONOS_USER=sdn |
41 | export ONOS_APPS="drivers,openflow,proxyarp,drivermatrix,mlb" | 41 | export ONOS_APPS="drivers,openflow,proxyarp,drivermatrix,mlb" |
42 | 42 | ||
43 | ## mininet VM | 43 | ## mininet VM |
44 | -export OCN="192.168.56.103" | 44 | +export OCN="192.168.56.99" |
45 | 45 | ||
46 | export ONOS_WEB_USER=onos | 46 | export ONOS_WEB_USER=onos |
47 | export ONOS_WEB_PASS=rocks | 47 | export ONOS_WEB_PASS=rocks |
48 | + | ||
49 | +# Verify route to LXC cluster | ||
50 | +netstat -nr | grep 10.0.3 | grep -q $OCVM && echo "Routes to LXC in place" || ( | ||
51 | + echo "Route to LXC not found. Adding..."; | ||
52 | + sudo bash -c "route -n delete 10.0.3.0/24; \ | ||
53 | + route -n add 10.0.3.0/24 192.168.56.98" >/dev/null 2>&1 | ||
54 | +) | ... | ... |
-
Please register or login to post a comment