diff options
-rw-r--r-- | laas-fog/conf/domain.yaml | 108 | ||||
-rw-r--r-- | laas-fog/conf/fuel.yaml | 17 | ||||
-rw-r--r-- | laas-fog/conf/inventory.yaml | 6 | ||||
-rw-r--r-- | laas-fog/conf/laas.yaml | 17 | ||||
-rw-r--r-- | laas-fog/conf/network.yaml | 52 | ||||
-rw-r--r-- | laas-fog/conf/pharos.yaml | 11 | ||||
-rw-r--r-- | laas-fog/conf/vpn.yaml | 15 |
7 files changed, 226 insertions, 0 deletions
diff --git a/laas-fog/conf/domain.yaml b/laas-fog/conf/domain.yaml new file mode 100644 index 0000000..04914e0 --- /dev/null +++ b/laas-fog/conf/domain.yaml @@ -0,0 +1,108 @@ +--- +- disk: /vm/master.qcow2 + interfaces: + - name: admin + type: network + - name: public + type: network + - name: storage + type: network + - name: management + type: network + iso: + URL: http://artifacts.opnfv.org/fuel/danube/opnfv-danube.2.0.iso + location: /vm/fuel.iso + used: true + memory: 8240000 + name: master + vcpus: 4 + +- disk: /vm/slave1.qcow2 + interfaces: + - name: admin + type: network + - name: public + type: network + - name: storage + type: network + - name: management + type: network + iso: + URL: http://artifacts.opnfv.org/fuel/danube/opnfv-danube.2.0.iso + location: /vm/fuel.iso + used: false + memory: 8240000 + name: slave1 + vcpus: 4 + +- disk: /vm/slave2.qcow2 + interfaces: + - name: admin + type: network + - name: public + type: network + - name: storage + type: network + - name: management + type: network + iso: + URL: http://artifacts.opnfv.org/fuel/danube/opnfv-danube.2.0.iso + location: /vm/fuel.iso + used: false + memory: 8240000 + name: slave2 + vcpus: 4 + +- disk: /vm/slave3.qcow2 + interfaces: + - name: admin + type: network + - name: public + type: network + - name: storage + type: network + - name: management + type: network + iso: + URL: http://artifacts.opnfv.org/fuel/danube/opnfv-danube.2.0.iso + location: /vm/fuel.iso + used: false + memory: 8240000 + name: slave3 + vcpus: 4 + +- disk: /vm/slave4.qcow2 + interfaces: + - name: admin + type: network + - name: public + type: network + - name: storage + type: network + - name: management + type: network + iso: + URL: http://artifacts.opnfv.org/fuel/danube/opnfv-danube.2.0.iso + location: /vm/fuel.iso + used: false + memory: 8240000 + name: slave4 + vcpus: 4 + +- disk: /vm/slave5.qcow2 + interfaces: + - name: admin + type: network + - name: public + type: network + - name: storage + type: network + - name: management + type: network + iso: + URL: http://artifacts.opnfv.org/fuel/danube/opnfv-danube.2.0.iso + location: /vm/fuel.iso + used: false + memory: 8240000 + name: slave5 + vcpus: 4 diff --git a/laas-fog/conf/fuel.yaml b/laas-fog/conf/fuel.yaml new file mode 100644 index 0000000..0994d86 --- /dev/null +++ b/laas-fog/conf/fuel.yaml @@ -0,0 +1,17 @@ +--- +database: /var/OPNFV/hosts.db +dhcp_log: /var/log/messages +dhcp_server: null +fog: + api_key: /path/to/fog.key # may also put the key directly here + server: http://fogserver.com/fog/ + user_key: /path/to/fog_user.key + image_id: 5 +installer: Fuel +logging_dir: /var/log/OPNFV/ +scenario: os-nosdn-nofeature-noha +hypervisor_config: + networks: /root/laas/conf/network.yaml + vms: /root/laas/conf/domain.yaml +inventory: /root/laas/conf/inventory.yaml +vpn_config: /root/laas/conf/vpn.yaml diff --git a/laas-fog/conf/inventory.yaml b/laas-fog/conf/inventory.yaml new file mode 100644 index 0000000..9d3d61b --- /dev/null +++ b/laas-fog/conf/inventory.yaml @@ -0,0 +1,6 @@ +--- +# pharos id : fog name +# for example: +1: fog-host-1 +2: fog-host-2 +3: fog-host-3 diff --git a/laas-fog/conf/laas.yaml b/laas-fog/conf/laas.yaml new file mode 100644 index 0000000..da11a56 --- /dev/null +++ b/laas-fog/conf/laas.yaml @@ -0,0 +1,17 @@ +--- +database: /var/OPNFV/hosts.db +dhcp_log: /var/log/messages +dhcp_server: null +fog: + api_key: /path/to/fog.key # may also put the key directly here + server: http://fogserver.com/fog/ + user_key: /path/to/fog_user.key + image_id: 5 +installer: null +logging_dir: /var/log/OPNFV/ +scenario: os-nosdn-nofeature-noha +hypervisor_config: + networks: /root/laas/conf/network.yaml + vms: /root/laas/conf/domain.yaml +inventory: /root/laas/conf/inventory.yaml +vpn_config: /root/laas/conf/vpn.yaml diff --git a/laas-fog/conf/network.yaml b/laas-fog/conf/network.yaml new file mode 100644 index 0000000..61860d5 --- /dev/null +++ b/laas-fog/conf/network.yaml @@ -0,0 +1,52 @@ +--- +- brAddr: 10.20.0.1 + brName: admin-br + cidr: 10.20.0.0/24 + dhcp: + rangeEnd: 10.20.0.250 + rangeStart: 10.20.0.15 + used: false + forward: + type: nat + used: true + name: admin + netmask: 255.255.255.0 + +- brAddr: 10.20.1.1 + brName: public-br + cidr: 10.20.1.0/24 + dhcp: + rangeEnd: 10.20.1.250 + rangeStart: 10.20.1.15 + used: false + forward: + type: nat + used: true + name: public + netmask: 255.255.255.0 + +- brAddr: 10.20.2.1 + brName: management-br + cidr: 10.20.2.0/24 + dhcp: + rangeEnd: 10.20.2.250 + rangeStart: 10.20.2.15 + used: false + forward: + type: nat + used: false + name: management + netmask: 255.255.255.0 + +- brAddr: 10.20.3.1 + brName: storage-br + cidr: 10.20.3.0/24 + dhcp: + rangeEnd: 10.20.3.250 + rangeStart: 10.20.3.15 + used: false + forward: + type: nat + used: false + name: storage + netmask: 255.255.255.0 diff --git a/laas-fog/conf/pharos.yaml b/laas-fog/conf/pharos.yaml new file mode 100644 index 0000000..9fedde1 --- /dev/null +++ b/laas-fog/conf/pharos.yaml @@ -0,0 +1,11 @@ +--- +dashboard: https://labs.opnfv.org +database: /var/OPNFV/laas.db +default_configs: + Fuel: /root/laas/conf/fuel.yaml + None: /root/laas/conf/laas.yaml + Joid: /rooot/laas/conf/joid.yaml +inventory: /root/laas/conf/inventory.yaml +logging_dir: /var/log/OPNFV +polling: 3 +token: /root/laas/conf/pharos.key diff --git a/laas-fog/conf/vpn.yaml b/laas-fog/conf/vpn.yaml new file mode 100644 index 0000000..6f39927 --- /dev/null +++ b/laas-fog/conf/vpn.yaml @@ -0,0 +1,15 @@ +--- +server: vpn.domain.com +authentication: + pass: /path/to/keyfile # you may also put the password directly here + user: cn=root,o=opnfv,dc=domain,dc=com +directory: + root: o=opnfv,dc=domain,dc=com + user: ou=People # relative to the root dir +user: + objects: # listed in ascending order of specificty + - top + - inetOrgPerson # last object should be a class that only vpn users have +database: /var/OPNFV/laas.db # same as the pharos api booking db +permanent_users: # any users you want to be persistent + - pberberian |