diff options
author | Dave Urschatz <dave.urschatz@cengn.ca> | 2016-06-15 16:42:56 -0400 |
---|---|---|
committer | Dave Urschatz <dave.urschatz@cengn.ca> | 2016-06-15 17:51:37 -0400 |
commit | 02670cf7af6fd44b02ee91504d3fabdaafc5837a (patch) | |
tree | 4d6ce1719d322a25db82a7c66a5564404fe1823a /ci/02-maasdeploy.sh | |
parent | 7bd122c45f952f59a9b8293a0d60e32eb5f6cb19 (diff) |
Refactor cengnlynxpod1 to cengnpod2 and use labconfig
The intent of this commit is to refactor the CENGEN internal pod
to use more conventional naming as well as leverage the new pod
configuration design.
JIRA: JOID-86
Change-Id: I2ac4f15cdcc919a07135c7b4b4cc6939104a89fa
Signed-off-by: Dave Urschatz <dave.urschatz@cengn.ca>
Diffstat (limited to 'ci/02-maasdeploy.sh')
-rwxr-xr-x | ci/02-maasdeploy.sh | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/ci/02-maasdeploy.sh b/ci/02-maasdeploy.sh index 62e57da5..ce3208e8 100755 --- a/ci/02-maasdeploy.sh +++ b/ci/02-maasdeploy.sh @@ -74,14 +74,16 @@ else 'juniperpod1' ) cp maas/juniper/pod1/deployment.yaml ./deployment.yaml ;; - 'cengnlynxpod1' ) - cp maas/cengn_lynx/pod1/deployment.yaml ./deployment.yaml - ;; 'cengnpod1' ) cp ../labconfig/cengn/pod1/labconfig.yaml ./ #to be removed later once converted for all labs. python deploy.py ;; + 'cengnpod2' ) + cp ../labconfig/cengn/pod2/labconfig.yaml ./ + #to be removed later once converted for all labs. + python deploy.py + ;; * ) virtinstall=1 labname="default" @@ -300,15 +302,6 @@ case "$labname" in ;; 'juniperpod1' ) ;; - 'cengnlynxpod1' ) - maas refresh - crvlanupdsubnet vlan1201 1 "DataNetwork" 1201 2 || true - crvlanupdsubnet vlan1202 2 "PublicNetwork" 1202 3 || true - crnodevlanint $vlan1201 eth1 || true - crnodevlanint $vlan1202 eth1 || true - enableautomode eth1.1201 AUTO "172.16.121.3/24" compute || true - enableautomode eth1.1201 AUTO "172.16.121.3/24" control || true - ;; esac enable_if |