aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2017-08-21 09:42:28 -0400
committerParker Berberian <pberberian@iol.unh.edu>2017-08-31 13:28:58 -0400
commit7fb12f46bb4b21db7ff75e1452e7aeee903b2e2e (patch)
tree6edef0ffbf31099727b5b40daf1d0292a28e7527
parentbc1fc0de0a45b33443a489223539f080ff9d0bd1 (diff)
Adds configuration files
JIRA: N/A Adds yaml files in conf/ to fit the laas software into your lab infrastructure. Each installer (Fuel, joid, etc) will also have their own config file, which will point also to their own network and domain config file. Change-Id: I0bcd57399b9f3f12aa351604fd03ae92de1ba93b Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
-rw-r--r--conf/domain.yaml108
-rw-r--r--conf/fuel.yaml17
-rw-r--r--conf/inventory.yaml6
-rw-r--r--conf/laas.yaml17
-rw-r--r--conf/network.yaml52
-rw-r--r--conf/pharos.yaml11
-rw-r--r--conf/vpn.yaml15
7 files changed, 226 insertions, 0 deletions
diff --git a/conf/domain.yaml b/conf/domain.yaml
new file mode 100644
index 0000000..04914e0
--- /dev/null
+++ b/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/conf/fuel.yaml b/conf/fuel.yaml
new file mode 100644
index 0000000..0994d86
--- /dev/null
+++ b/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/conf/inventory.yaml b/conf/inventory.yaml
new file mode 100644
index 0000000..9d3d61b
--- /dev/null
+++ b/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/conf/laas.yaml b/conf/laas.yaml
new file mode 100644
index 0000000..da11a56
--- /dev/null
+++ b/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/conf/network.yaml b/conf/network.yaml
new file mode 100644
index 0000000..61860d5
--- /dev/null
+++ b/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/conf/pharos.yaml b/conf/pharos.yaml
new file mode 100644
index 0000000..9fedde1
--- /dev/null
+++ b/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/conf/vpn.yaml b/conf/vpn.yaml
new file mode 100644
index 0000000..6f39927
--- /dev/null
+++ b/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