summaryrefslogtreecommitdiffstats
path: root/tools/laas-fog
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
commit1c5c3474b063c4ffcd9ed006f3777873cbe20c10 (patch)
tree0c6c144a8072978b6ff41d891fac86f0e6cde079 /tools/laas-fog
parent03b274f3a653a03bc3314d7fe385f7966c5672b2 (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>
Diffstat (limited to 'tools/laas-fog')
-rw-r--r--tools/laas-fog/conf/domain.yaml108
-rw-r--r--tools/laas-fog/conf/fuel.yaml17
-rw-r--r--tools/laas-fog/conf/inventory.yaml6
-rw-r--r--tools/laas-fog/conf/laas.yaml17
-rw-r--r--tools/laas-fog/conf/network.yaml52
-rw-r--r--tools/laas-fog/conf/pharos.yaml11
-rw-r--r--tools/laas-fog/conf/vpn.yaml15
7 files changed, 226 insertions, 0 deletions
diff --git a/tools/laas-fog/conf/domain.yaml b/tools/laas-fog/conf/domain.yaml
new file mode 100644
index 00000000..04914e06
--- /dev/null
+++ b/tools/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/tools/laas-fog/conf/fuel.yaml b/tools/laas-fog/conf/fuel.yaml
new file mode 100644
index 00000000..0994d862
--- /dev/null
+++ b/tools/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/tools/laas-fog/conf/inventory.yaml b/tools/laas-fog/conf/inventory.yaml
new file mode 100644
index 00000000..9d3d61b0
--- /dev/null
+++ b/tools/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/tools/laas-fog/conf/laas.yaml b/tools/laas-fog/conf/laas.yaml
new file mode 100644
index 00000000..da11a56b
--- /dev/null
+++ b/tools/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/tools/laas-fog/conf/network.yaml b/tools/laas-fog/conf/network.yaml
new file mode 100644
index 00000000..61860d56
--- /dev/null
+++ b/tools/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/tools/laas-fog/conf/pharos.yaml b/tools/laas-fog/conf/pharos.yaml
new file mode 100644
index 00000000..9fedde12
--- /dev/null
+++ b/tools/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/tools/laas-fog/conf/vpn.yaml b/tools/laas-fog/conf/vpn.yaml
new file mode 100644
index 00000000..6f399275
--- /dev/null
+++ b/tools/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