Autodeploy inspired on Prototype #2
[genesis.git] / fuel / deploy / libvirt / dea.yaml
similarity index 87%
rename from fuel/deploy/dea.yaml
rename to fuel/deploy/libvirt/dea.yaml
index b83ddea..802293f 100644 (file)
----
-name: ENV-1
-shelf:
- - id: 1
-   type: libvirt
-   mgmt_ip: 10.20.0.1
-   username: user
-   password: systemabc
-   blade:
-    - id: 1
-      roles:
-       - controller
-    - id: 2
-      roles:
-       - controller
-    - id: 3
-      roles:
-       - controller
-    - id: 4
-    - id: 5
-    - id: 6
-networks:
-  management_vip: 192.168.0.2
+title: Deployment Environment Adapter (DEA)
+# DEA API version supported
+version: 1.1
+created: Sat Apr 25 16:26:22 UTC 2015
+comment: Small libvirt setup
+environment_name: opnfv59-b
+environment_mode: multinode
+wanted_release: Juno on Ubuntu 12.04.4
+nodes:
+- id: 1
+  interfaces: interface1
+  transformations: controller1
+  role: controller
+- id: 2
+  interfaces: interface1
+  transformations: controller1
+  role: controller
+- id: 3
+  interfaces: interface1
+  transformations: controller1
+  role: controller
+- id: 4
+  interfaces: interface1
+  transformations: compute1
+  role: compute
+- id: 5
+  interfaces: interface1
+  transformations: compute1
+  role: compute
+- id: 6
+  interfaces: interface1
+  transformations: compute1
+  role: compute
+fuel:
+  ADMIN_NETWORK:
+    ipaddress: 10.20.0.2
+    netmask: 255.255.255.0
+    dhcp_pool_start: 10.20.0.3
+    dhcp_pool_end: 10.20.0.254
+  DNS_UPSTREAM: 8.8.8.8
+  DNS_DOMAIN: domain.tld
+  DNS_SEARCH: domain.tld
+  FUEL_ACCESS:
+    user: admin
+    password: admin
+  HOSTNAME: opnfv59
+  NTP1: 0.pool.ntp.org
+  NTP2: 1.pool.ntp.org
+  NTP3: 2.pool.ntp.org
+interfaces:
+  interface1:
+    eth0:
+    - fuelweb_admin
+    - management
+    eth1:
+    - storage
+    eth2:
+    - private
+    eth3:
+    - public
+transformations:
+  controller1:
+    - action: add-br
+      name: br-eth0
+    - action: add-port
+      bridge: br-eth0
+      name: eth0
+    - action: add-br
+      name: br-eth1
+    - action: add-port
+      bridge: br-eth1
+      name: eth1
+    - action: add-br
+      name: br-eth2
+    - action: add-port
+      bridge: br-eth2
+      name: eth2
+    - action: add-br
+      name: br-eth3
+    - action: add-port
+      bridge: br-eth3
+      name: eth3
+    - action: add-br
+      name: br-ex
+    - action: add-br
+      name: br-mgmt
+    - action: add-br
+      name: br-storage
+    - action: add-br
+      name: br-fw-admin
+    - action: add-patch
+      bridges:
+      - br-eth1
+      - br-storage
+      tags:
+      - 102
+      - 0
+      vlan_ids:
+      - 102
+      - 0
+    - action: add-patch
+      bridges:
+      - br-eth0
+      - br-mgmt
+      tags:
+      - 101
+      - 0
+      vlan_ids:
+      - 101
+      - 0
+    - action: add-patch
+      bridges:
+      - br-eth0
+      - br-fw-admin
+      trunks:
+      - 0
+    - action: add-patch
+      bridges:
+      - br-eth3
+      - br-ex
+      trunks:
+      - 0
+    - action: add-br
+      name: br-prv
+    - action: add-patch
+      bridges:
+      - br-eth2
+      - br-prv
+  compute1:
+    - action: add-br
+      name: br-eth0
+    - action: add-port
+      bridge: br-eth0
+      name: eth0
+    - action: add-br
+      name: br-eth1
+    - action: add-port
+      bridge: br-eth1
+      name: eth1
+    - action: add-br
+      name: br-eth2
+    - action: add-port
+      bridge: br-eth2
+      name: eth2
+    - action: add-br
+      name: br-eth3
+    - action: add-port
+      bridge: br-eth3
+      name: eth3
+    - action: add-br
+      name: br-mgmt
+    - action: add-br
+      name: br-storage
+    - action: add-br
+      name: br-fw-admin
+    - action: add-patch
+      bridges:
+      - br-eth1
+      - br-storage
+      tags:
+      - 102
+      - 0
+      vlan_ids:
+      - 102
+      - 0
+    - action: add-patch
+      bridges:
+      - br-eth0
+      - br-mgmt
+      tags:
+      - 101
+      - 0
+      vlan_ids:
+      - 101
+      - 0
+    - action: add-patch
+      bridges:
+      - br-eth0
+      - br-fw-admin
+      trunks:
+      - 0
+    - action: add-br
+      name: br-prv
+    - action: add-patch
+      bridges:
+      - br-eth2
+      - br-prv
+opnfv:
+  compute: {}
+  controller: {}
+network:
   networking_parameters:
     base_mac: fa:16:3e:00:00:00
     dns_nameservers:
@@ -38,7 +206,7 @@ networks:
     segmentation_type: vlan
     vlan_range:
     - 1000
-    - 1200
+    - 1030
   networks:
   - cidr: 172.16.0.0/24
     gateway: 172.16.0.1
@@ -62,27 +230,10 @@ networks:
       vlan_start: null
     name: public
     vlan_start: null
-  - cidr: null
-    gateway: null
-    ip_ranges: []
-    meta:
-      assign_vip: false
-      configurable: false
-      map_priority: 2
-      name: private
-      neutron_vlan_range: true
-      notation: null
-      render_addr_mask: null
-      render_type: null
-      seg_type: vlan
-      use_gateway: false
-      vlan_start: null
-    name: private
-    vlan_start: null
   - cidr: 192.168.0.0/24
     gateway: null
     ip_ranges:
-    - - 192.168.0.2
+    - - 192.168.0.1
       - 192.168.0.254
     meta:
       assign_vip: true
@@ -100,7 +251,7 @@ networks:
   - cidr: 192.168.1.0/24
     gateway: null
     ip_ranges:
-    - - 192.168.1.2
+    - - 192.168.1.1
       - 192.168.1.254
     meta:
       assign_vip: false
@@ -115,6 +266,23 @@ networks:
       vlan_start: 102
     name: storage
     vlan_start: 102
+  - cidr: null
+    gateway: null
+    ip_ranges: []
+    meta:
+      assign_vip: false
+      configurable: false
+      map_priority: 2
+      name: private
+      neutron_vlan_range: true
+      notation: null
+      render_addr_mask: null
+      render_type: null
+      seg_type: vlan
+      use_gateway: false
+      vlan_start: null
+    name: private
+    vlan_start: null
   - cidr: 10.20.0.0/24
     gateway: null
     ip_ranges:
@@ -131,143 +299,6 @@ networks:
       use_gateway: true
     name: fuelweb_admin
     vlan_start: null
-  public_vip: 172.16.0.2
-controller:
-- action: add-br
-  name: br-eth0
-- action: add-port
-  bridge: br-eth0
-  name: eth0
-- action: add-br
-  name: br-eth1
-- action: add-port
-  bridge: br-eth1
-  name: eth1
-- action: add-br
-  name: br-eth2
-- action: add-port
-  bridge: br-eth2
-  name: eth2
-- action: add-br
-  name: br-eth3
-- action: add-port
-  bridge: br-eth3
-  name: eth3
-- action: add-br
-  name: br-ex
-- action: add-br
-  name: br-mgmt
-- action: add-br
-  name: br-storage
-- action: add-br
-  name: br-fw-admin
-- action: add-patch
-  bridges:
-  - br-eth1
-  - br-storage
-  tags:
-  - 102
-  - 0
-  vlan_ids:
-  - 102
-  - 0
-- action: add-patch
-  bridges:
-  - br-eth0
-  - br-mgmt
-  tags:
-  - 101
-  - 0
-  vlan_ids:
-  - 101
-  - 0
-- action: add-patch
-  bridges:
-  - br-eth0
-  - br-fw-admin
-  trunks:
-  - 0
-- action: add-patch
-  bridges:
-  - br-eth3
-  - br-ex
-  trunks:
-  - 0
-- action: add-br
-  name: br-prv
-- action: add-patch
-  bridges:
-  - br-eth2
-  - br-prv
-compute:
-- action: add-br
-  name: br-eth0
-- action: add-port
-  bridge: br-eth0
-  name: eth0
-- action: add-br
-  name: br-eth1
-- action: add-port
-  bridge: br-eth1
-  name: eth1
-- action: add-br
-  name: br-eth2
-- action: add-port
-  bridge: br-eth2
-  name: eth2
-- action: add-br
-  name: br-eth3
-- action: add-port
-  bridge: br-eth3
-  name: eth3
-- action: add-br
-  name: br-mgmt
-- action: add-br
-  name: br-storage
-- action: add-br
-  name: br-fw-admin
-- action: add-patch
-  bridges:
-  - br-eth1
-  - br-storage
-  tags:
-  - 102
-  - 0
-  vlan_ids:
-  - 102
-  - 0
-- action: add-patch
-  bridges:
-  - br-eth0
-  - br-mgmt
-  tags:
-  - 101
-  - 0
-  vlan_ids:
-  - 101
-  - 0
-- action: add-patch
-  bridges:
-  - br-eth0
-  - br-fw-admin
-  trunks:
-  - 0
-- action: add-br
-  name: br-prv
-- action: add-patch
-  bridges:
-  - br-eth2
-  - br-prv
-interfaces:
-  eth0:
-  - fuelweb_admin
-  - management
-  eth1:
-  - storage
-  eth2:
-  - private
-  eth3:
-  - public
 settings:
   editable:
     access:
@@ -309,7 +340,7 @@ settings:
         description: If selected, Ceilometer component will be installed
         label: Install Ceilometer
         type: checkbox
-        value: true
+        value: false
         weight: 40
       heat:
         description: ''
@@ -424,7 +455,7 @@ settings:
           will not be attempted.
         label: Resume guests state on host boot
         type: checkbox
-        value: false
+        value: true
         weight: 60
       use_cow_images:
         description: For most cases you will want qcow format. If it's disabled, raw
@@ -810,7 +841,7 @@ settings:
         restrictions:
         - settings:storage.volumes_ceph.value == true
         type: checkbox
-        value: false
+        value: true
         weight: 10
       volumes_vmdk:
         description: Configures Cinder to store volumes via VMware vCenter.
@@ -902,7 +933,7 @@ settings:
           error: Empty password
           source: \S
         type: password
-        value: ''
+        value: admin
         weight: 30
       vc_user:
         description: vCenter admin username
@@ -911,7 +942,7 @@ settings:
           error: Empty username
           source: \S
         type: text
-        value: ''
+        value: admin
         weight: 20
       vlan_interface:
         description: Physical ESXi host ethernet adapter for VLAN networking (e.g.
@@ -943,5 +974,3 @@ settings:
         type: text
         value: admin
         weight: 10
-...
-