added a new pod cengn pod1 17/15317/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Thu, 9 Jun 2016 03:13:25 +0000 (22:13 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Thu, 9 Jun 2016 03:15:43 +0000 (22:15 -0500)
Change-Id: I2493a5d009e6a373b7360973a043c1f760f38bbb
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/02-maasdeploy.sh
labconfig/cengn/pod1/labconfig.yaml [new file with mode: 0644]

index 839d29f..31b3346 100755 (executable)
@@ -77,6 +77,11 @@ else
         '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
+            ;;
         * )
             virtinstall=1
             labname="default"
@@ -284,6 +289,10 @@ case "$labname" in
         enableautomode eth1.1201 AUTO "172.16.121.3/24" compute || true
         enableautomode eth1.1201 AUTO "172.16.121.3/24" control || true
         ;;
+    'cengnpod1' )
+        maas refresh
+        enableautomode eth2 AUTO "172.16.20.0/24" || true
+        ;;
 esac
 
 echo " .... MAAS deployment finished successfully ...."
diff --git a/labconfig/cengn/pod1/labconfig.yaml b/labconfig/cengn/pod1/labconfig.yaml
new file mode 100644 (file)
index 0000000..781b93c
--- /dev/null
@@ -0,0 +1,95 @@
+lab:
+  location: cengn
+  racks:
+  - rack: pod1
+    nodes:
+    - name: rack-1-m1
+      architecture: x86_64
+      roles: [network,control]
+      nics:
+      - ifname: eth0
+        spaces: [admin]
+        mac: ["00:a0:a5:90:89:a8"]
+      power:
+        type: ipmi
+        address: 10.21.5.12
+        user: admin
+        pass: admin
+    - name: rack-1-m2
+      architecture: x86_64
+      roles: [compute,control,storage]
+      nics:
+      - ifname: eth0
+        spaces: [admin]
+        mac: ["00:a0:a5:90:89:28"]
+      power:
+        type: ipmi
+        address: 10.21.5.13
+        user: admin
+        pass: admin
+    - name: rack-1-m3
+      architecture: x86_64
+      roles: [compute,control,storage]
+      nics:
+      - ifname: eth0
+        spaces: [admin]
+        mac: ["00:a0:a5:89:30:c6"]
+      power:
+        type: ipmi
+        address: 10.21.5.14
+        user: admin
+        pass: admin
+    - name: rack-1-m4
+      architecture: x86_64
+      roles: [compute,storage]
+      nics:
+      - ifname: eth0
+        spaces: [admin]
+        mac: ["00:a0:a5:90:89:94"]
+      power:
+        type: ipmi
+        address: 10.21.5.15
+        user: admin
+        pass: admin
+    - name: rack-1-m5
+      architecture: x86_64
+      roles: [compute,storage]
+      nics:
+      - ifname: eth0
+        spaces: [admin]
+        mac: ["00:a0:a5:90:89:0e"]
+      power:
+        type: ipmi
+        address: 10.21.5.16
+        user: admin
+        pass: admin
+    floating-ip-range: 10.21.6.6,10.21.6.250,10.21.6.254,10.21.6.0/24
+    ext-port: "eth1"
+    dns: 8.8.8.8
+opnfv:
+  release: c
+  distro: trusty
+  type: nonha
+  openstack: mitaka
+  sdncontroller:
+  - type: nosdn
+  storage:
+  - type: ceph
+    disk: /srv
+  feature: odl_l2
+  spaces:
+  - type: admin
+    bridge: brAdm
+    cidr: 10.21.0.0/24
+    gateway: 10.21.0.254
+    vlan:
+  - type: public
+    bridge: brPublic
+    cidr: 10.21.6.0/24
+    gateway:
+    vlan:
+  - type: data
+    bridge: brData
+    cidr: 172.16.20.0/24
+    gateway:
+    vlan: