updates the onos charm with migration and resize enablement.
[joid.git] / ci / onos / juju-deployer / ovs-onos-nonha.yaml
index f8f6130..c3c1941 100644 (file)
@@ -10,17 +10,17 @@ openstack-phase1:
       charm: "cs:trusty/ubuntu"
       num_units: 1
       constraints: tags=compute
-    ntp: 
+    ntp:
       charm: "cs:trusty/ntp"
   relations:
     - - "ntp:juju-info"
       - "nodes-api:juju-info"
     - - "ntp:juju-info"
       - "nodes-compute:juju-info"
-openstack-phase2: 
+openstack-phase2:
   inherits: openstack-phase1
-  services: 
-    mysql: 
+  services:
+    mysql:
       branch: "lp:~openstack-charmers/charms/trusty/percona-cluster/next"
       num_units: 1
       options: 
@@ -70,6 +70,7 @@ openstack-phase2:
       num_units: 1
       options:
         use-embedded-webserver: true
+        operator-roles: "Member,admin"
       to:
         - "lxc:nodes-api=0"
     cinder:
@@ -83,21 +84,21 @@ openstack-phase2:
         - "lxc:nodes-api=0"
     cinder-ceph:
       branch: "lp:~openstack-charmers/charms/trusty/cinder-ceph/next"
-    rabbitmq-server: 
+    rabbitmq-server:
       branch: "lp:~openstack-charmers/charms/trusty/rabbitmq-server/next"
       num_units: 1
       to:
         - "lxc:nodes-api=0"
-    keystone: 
+    keystone:
       branch: "lp:~openstack-charmers/charms/trusty/keystone/next"
       num_units: 1
-      options: 
+      options:
 #        ha-mcastport: 5402
         admin-password: openstack
         admin-token: admin
       to:
         - "lxc:nodes-api=0"
-    openstack-dashboard: 
+    openstack-dashboard:
       branch: "lp:~openstack-charmers/charms/trusty/openstack-dashboard/next"
       num_units: 1
       options: 
@@ -105,34 +106,36 @@ openstack-phase2:
         webroot: /
       to:
         - "lxc:nodes-api=0"
-    nova-compute: 
+    nova-compute:
       branch: lp:~openstack-charmers/charms/trusty/nova-compute/next
       num_units: 1
-      options: 
-        enable-live-migration: False
-        manage-neutron-plugin-legacy-mode: False
+      options:
+        enable-live-migration: true
+        enable-resize: true
+        manage-neutron-plugin-legacy-mode: false
+        migration-auth-type: ssh
       to:
         - "nodes-compute=0"
 #        - "nodes-compute=1"
 #        - "nodes-api=0"
 #        - "nodes-api=1"
 #        - "nodes-api=2"
-    nova-cloud-controller: 
+    nova-cloud-controller:
       branch: "lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next"
       num_units: 1
-      options: 
+      options:
         console-access-protocol: novnc
         network-manager: Neutron
         quantum-security-groups: "yes"
       to:
         - "lxc:nodes-api=0"
-    neutron-api: 
+    neutron-api:
       branch: lp:~openstack-charmers/charms/trusty/neutron-api/next
       num_units: 1
       options:
         neutron-security-groups: True
         manage-neutron-plugin-legacy-mode: False
-      to: 
+      to:
         - "lxc:nodes-api=0"
     neutron-gateway:
       branch: "lp:~wuwenbin2/onosfw/neutron-gateway"
@@ -140,13 +143,15 @@ openstack-phase2:
         #ext-port: "eth1"
         plugin: onos
         instance-mtu: 1400
-      to:  
+      to:
         - "nodes-api=0"
     onos-controller:
       branch: "lp:~wuwenbin2/onosfw/onos-controller"
-      to: 
+      options:
+        #ext-port: "eth1"
+      to:
         - "lxc:nodes-api=0"
-    glance: 
+    glance:
       branch: lp:~openstack-charmers/charms/trusty/glance/next
       num_units: 1
       to: