From: Narinder Gupta <narinder.gupta@canonical.com>
Date: Thu, 1 Oct 2015 00:14:03 +0000 (-0500)
Subject: fixing the router and juju issue.
X-Git-Tag: brahmaputra.1.0~163
X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F63%2F2163%2F1;p=joid.git

fixing the router and juju issue.

Change-Id: I5f4d18a9259842dca69177fff7b6ac249ecf3bcd
---

diff --git a/ci/02-maasdeploy.sh b/ci/02-maasdeploy.sh
index d8afb0c5..f507f3f4 100755
--- a/ci/02-maasdeploy.sh
+++ b/ci/02-maasdeploy.sh
@@ -27,8 +27,8 @@ if [ ! -e /var/lib/libvirt/images ]; then
 
     sudo apt-get install libvirt-bin -y
     sudo adduser ubuntu libvirtd
-
-    virsh pool-define /dev/stdin <<EOF
+   
+    sudo virsh pool-define /dev/stdin <<EOF
 <pool type='dir'>
   <name>default</name>
   <target>
@@ -37,8 +37,8 @@ if [ ! -e /var/lib/libvirt/images ]; then
 </pool>
 EOF
 
-    virsh pool-start default
-    virsh pool-autostart default
+    sudo virsh pool-start default
+    sudo virsh pool-autostart default
 
 fi
 
diff --git a/ci/maas/orange/pod2/deployment.yaml b/ci/maas/orange/pod2/deployment.yaml
index a52b9ff7..07406243 100755
--- a/ci/maas/orange/pod2/deployment.yaml
+++ b/ci/maas/orange/pod2/deployment.yaml
@@ -12,11 +12,11 @@ demo-maas:
         # parameters for how the network is attached.
         name: maas-boot-vm-dc1
         interfaces: ['bridge=brAdm,model=virtio']
-        memory: 4096
-        vcpus: 2
+        memory: 3072
+        vcpus: 1
         arch: amd64
         pool: default
-        disk_size: 160G
+        disk_size: 120G
 
         # Apt http proxy setting(s)
         apt_http_proxy:
@@ -97,7 +97,7 @@ demo-maas:
               ip: 192.168.2.5
               subnet_mask: 255.255.255.0
               broadcast_ip: 192.168.2.255
-              router_ip: 192.168.2.1
+              router_ip: 192.168.2.4
               static_range:
                   low: 192.168.2.30
                   high: 192.168.2.150
@@ -194,8 +194,8 @@ demo-maas:
     juju-bootstrap:
         name: bootstrap
         interfaces: ['bridge=brAdm,model=virtio']
-        memory: 4096
-        vcpus: 2
+        memory: 3072
+        vcpus: 1
         arch: amd64
         pool: default
-        disk_size: 120G
+        disk_size: 60G