summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2015-12-08 18:54:11 +0800
committercarey.xu <carey.xuhan@huawei.com>2015-12-14 18:54:22 +0800
commitb37046d7ba943218c1c657563b3f173d7337d516 (patch)
tree3803d9471d0171c1d47bc701b31cd77c2eba9e8a /config
parente6ec4f17958fd00c74686df3e4b618b431ec1942 (diff)
deploy and pod-config files
This patch propopses to define two common OPNFV configuration type files: - The Deploy configuration file, defining the high-level deployment requirements/scenario - The POD configuration file, defining the HW-/POD configuration Change-Id: I82179d9fafd294ebe8594a592f21a1323731dfad Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'config')
-rw-r--r--config/deploy.yml8
-rw-r--r--config/network.yml85
-rw-r--r--config/pod-config.yml86
3 files changed, 179 insertions, 0 deletions
diff --git a/config/deploy.yml b/config/deploy.yml
new file mode 100644
index 00000000..212a423f
--- /dev/null
+++ b/config/deploy.yml
@@ -0,0 +1,8 @@
+global_settins:
+ name: example_deployment
+ installer: compass
+ type: baremetal
+
+ os_release: centos7
+ openstack_release: liberty
+ sdn_controller: opendaylight
diff --git a/config/network.yml b/config/network.yml
new file mode 100644
index 00000000..4c7e95f2
--- /dev/null
+++ b/config/network.yml
@@ -0,0 +1,85 @@
+node_network:
+ nic_mappings:
+ - name: eth0
+ bdf: 02:00.1 #pci bus/device/function
+
+ - name: eth1
+ bdf: 02:00.2
+
+ - name: eth2
+ bdf: 81:00.0
+
+ - name: eth3
+ bdf: 81:00.1
+
+ bond_mappings:
+ - name: bond0
+ interface:
+ - eth2
+ - eth3
+ mode: lacp
+
+ bridge_mappings:
+ - name: br-prv
+ network: physnet
+ interface: bond0
+ type: ovs
+ vlan_range:
+ - 1
+ - 4000
+
+ interface_mappings:
+ # install is just a alias to eth0, for compass install/admin
+ - name: install
+ interface: eth0
+ vlan_tag: 4001
+ type: vlan
+ subnet: install
+
+ # mgmt is a vlan interface on eth1, for inter-components
+ - name: mgmt
+ interface: eth1
+ vlan_tag: 4001
+ type: vlan
+ subnet: mgmt
+
+ # storage is a vlan interface on eth1, for storage data plane
+ - name: storage
+ interface: eth1
+ vlan_tag: 4002
+ type: vlan
+ subnet: storage
+
+ # public is just a alias for eth1, for external access to openstack api
+ - name: public
+ interface: eth1
+ type: flat
+ subnet: public
+
+ subnets:
+ - name: install
+ ip_ranges:
+ - - "10.1.0.1"
+ - "10.1.0.254"
+ cidr: "10.1.0.0/24"
+
+ - name: mgmt
+ ip_ranges:
+ - - "172.16.1.1"
+ - "172.16.1.254"
+ cidr: "172.16.1.0/24"
+ vip: 172.16.1.222
+
+ - name: storage
+ ip_ranges:
+ - - "172.16.2.1"
+ - "172.16.2.254"
+ cidr: "172.16.2.0/24"
+
+ - name: public
+ ip_ranges:
+ - - "192.168.50.210"
+ - "192.168.50.220"
+ cidr: "192.168.50.0/24"
+ gw: "192.168.50.1"
+ vip: 192.168.50.240
diff --git a/config/pod-config.yml b/config/pod-config.yml
new file mode 100644
index 00000000..49c90cb7
--- /dev/null
+++ b/config/pod-config.yml
@@ -0,0 +1,86 @@
+
+nodes:
+ - name: host1
+ tags: control
+ arch: "x86_64"
+ mac_address: '11:22:33:44:55' # PXE install nic MAC
+
+ # for virtual deployment
+ cpus: 2
+ memory: 2048
+ disk: 40
+
+ # for baremetal deployment
+ power:
+ type: ipmi
+ address: 10.4.7.3
+ user: root
+ pass: root
+
+ - name: host2
+ tags: control
+ arch: "x86_64"
+ mac_address: '11:22:33:44:56' # PXE install nic MAC
+
+ # for virtual deployment
+ cpus: 2
+ memory: 2048
+ disk: 40
+
+ # for baremetal deployment
+ power:
+ type: ipmi
+ address: 10.4.7.4
+ user: root
+ pass: root
+
+ - name: host3
+ tags: control
+ arch: "x86_64"
+ mac_address: '11:22:33:44:57' # PXE install nic MAC
+
+ # for virtual deployment
+ cpus: 2
+ memory: 2048
+ disk: 40
+
+ # for baremetal deployment
+ power:
+ type: ipmi
+ address: 10.4.7.5
+ user: root
+ pass: root
+
+ - name: host4
+ tags: compute
+ arch: "x86_64"
+ mac_address: '11:22:33:44:57' # PXE install nic MAC
+
+ # for virtual deployment
+ cpus: 2
+ memory: 2048
+ disk: 40
+
+ # for baremetal deployment
+ power:
+ type: ipmi
+ address: 10.4.7.6
+ user: root
+ pass: root
+
+ - name: host5
+ tags: compute
+ arch: "x86_64"
+ mac_address: '11:22:33:44:58' # PXE install nic MAC
+
+ # for virtual deployment
+ cpus: 2
+ memory: 2048
+ disk: 40
+
+ # for baremetal deployment
+ power:
+ type: ipmi
+ address: 10.4.7.7
+ user: root
+ pass: root