From 6b33f0068879bbcaabbb48c0fcd90a92029eeb28 Mon Sep 17 00:00:00 2001 From: meimei Date: Tue, 5 Jan 2016 13:52:16 +0800 Subject: add config files of virtual-deployment JIRA: COMPASS-242 Change-Id: Iea798d7f4987685bf0e27dca4c9b600ae802fef0 Signed-off-by: meimei --- .../huawei-us-deploy-vm-1/network.yml | 90 ++++++++++++++++++++++ .../huawei-us-deploy-vm-2/network.yml | 90 ++++++++++++++++++++++ deploy/conf/vm_environment/nosdn.yml | 32 ++++++++ deploy/conf/vm_environment/odl.yml | 29 +++++++ deploy/conf/vm_environment/onos.yml | 29 +++++++ 5 files changed, 270 insertions(+) create mode 100644 deploy/conf/vm_environment/huawei-us-deploy-vm-1/network.yml create mode 100644 deploy/conf/vm_environment/huawei-us-deploy-vm-2/network.yml create mode 100644 deploy/conf/vm_environment/nosdn.yml create mode 100644 deploy/conf/vm_environment/odl.yml create mode 100644 deploy/conf/vm_environment/onos.yml (limited to 'deploy/conf') diff --git a/deploy/conf/vm_environment/huawei-us-deploy-vm-1/network.yml b/deploy/conf/vm_environment/huawei-us-deploy-vm-1/network.yml new file mode 100644 index 00000000..cc694611 --- /dev/null +++ b/deploy/conf/vm_environment/huawei-us-deploy-vm-1/network.yml @@ -0,0 +1,90 @@ +nic_mappings: [] +bond_mappings: [] + +provider_net_mappings: + - name: br-prv + network: physnet + interface: eth1 + type: ovs + role: + - controller + - compute + +sys_intf_mappings: + - name: mgmt + interface: eth1 + vlan_tag: 101 + type: vlan + role: + - controller + - compute + + - name: storage + interface: eth1 + vlan_tag: 102 + type: vlan + role: + - controller + - compute + + - name: external + interface: br-prv + type: ovs + role: + - controller + - compute + +ip_settings: + - name: mgmt + ip_ranges: + - - "172.16.1.1" + - "172.16.1.254" + cidr: "172.16.1.0/24" + role: + - controller + - compute + + - name: storage + ip_ranges: + - - "172.16.2.1" + - "172.16.2.254" + cidr: "172.16.2.0/24" + role: + - controller + - compute + + - name: external + ip_ranges: + - - "192.168.105.210" + - "192.168.105.220" + cidr: "192.168.105.0/24" + gw: "192.168.105.1" + role: + - controller + - compute + +internal_vip: + ip: 172.16.1.222 + netmask: "24" + interface: mgmt + +public_vip: + ip: 192.168.105.222 + netmask: "24" + interface: external + +onos_nic: eth2 +public_net_info: + enable: True + network: ext-net + type: flat + segment_id: 1000 + subnet: ext-subnet + provider_network: physnet + router: router-ext + enable_dhcp: False + no_gateway: False + external_gw: "192.168.105.1" + floating_ip_cidr: "192.168.105.0/24" + floating_ip_start: "192.168.105.101" + floating_ip_end: "192.168.105.199" diff --git a/deploy/conf/vm_environment/huawei-us-deploy-vm-2/network.yml b/deploy/conf/vm_environment/huawei-us-deploy-vm-2/network.yml new file mode 100644 index 00000000..b11cba01 --- /dev/null +++ b/deploy/conf/vm_environment/huawei-us-deploy-vm-2/network.yml @@ -0,0 +1,90 @@ +nic_mappings: [] +bond_mappings: [] + +provider_net_mappings: + - name: br-prv + network: physnet + interface: eth1 + type: ovs + role: + - controller + - compute + +sys_intf_mappings: + - name: mgmt + interface: eth1 + vlan_tag: 101 + type: vlan + role: + - controller + - compute + + - name: storage + interface: eth1 + vlan_tag: 102 + type: vlan + role: + - controller + - compute + + - name: external + interface: br-prv + type: ovs + role: + - controller + - compute + +ip_settings: + - name: mgmt + ip_ranges: + - - "172.16.1.1" + - "172.16.1.254" + cidr: "172.16.1.0/24" + role: + - controller + - compute + + - name: storage + ip_ranges: + - - "172.16.2.1" + - "172.16.2.254" + cidr: "172.16.2.0/24" + role: + - controller + - compute + + - name: external + ip_ranges: + - - "192.168.106.210" + - "192.168.106.220" + cidr: "192.168.106.0/24" + gw: "192.168.106.1" + role: + - controller + - compute + +internal_vip: + ip: 172.16.1.222 + netmask: "24" + interface: mgmt + +public_vip: + ip: 192.168.106.222 + netmask: "24" + interface: external + +onos_nic: eth2 +public_net_info: + enable: True + network: ext-net + type: flat + segment_id: 1000 + subnet: ext-subnet + provider_network: physnet + router: router-ext + enable_dhcp: False + no_gateway: False + external_gw: "192.168.106.1" + floating_ip_cidr: "192.168.106.0/24" + floating_ip_start: "192.168.106.101" + floating_ip_end: "192.168.106.199" diff --git a/deploy/conf/vm_environment/nosdn.yml b/deploy/conf/vm_environment/nosdn.yml new file mode 100644 index 00000000..aa2a1b3e --- /dev/null +++ b/deploy/conf/vm_environment/nosdn.yml @@ -0,0 +1,32 @@ +TYPE: virtual +FLAVOR: cluster + +hosts: + - name: host1 + roles: + - controller + - ha + - ceph-adm + - ceph-mon + + - name: host2 + roles: + - controller + - ha + - ceph-mon + + - name: host3 + roles: + - controller + - ha + - ceph-mon + + - name: host4 + roles: + - compute + - ceph-osd + + - name: host5 + roles: + - compute + - ceph-osd diff --git a/deploy/conf/vm_environment/odl.yml b/deploy/conf/vm_environment/odl.yml new file mode 100644 index 00000000..e2ee19c6 --- /dev/null +++ b/deploy/conf/vm_environment/odl.yml @@ -0,0 +1,29 @@ +TYPE: virtual +FLAVOR: cluster + +hosts: + - name: host1 + roles: + - controller + - ha + - odl + + - name: host2 + roles: + - controller + - ha + - odl + + - name: host3 + roles: + - controller + - ha + - odl + + - name: host4 + roles: + - compute + + - name: host5 + roles: + - compute diff --git a/deploy/conf/vm_environment/onos.yml b/deploy/conf/vm_environment/onos.yml new file mode 100644 index 00000000..fcd07efc --- /dev/null +++ b/deploy/conf/vm_environment/onos.yml @@ -0,0 +1,29 @@ +TYPE: virtual +FLAVOR: cluster + +hosts: + - name: host1 + roles: + - controller + - ha + - onos + + - name: host2 + roles: + - controller + - ha + - onos + + - name: host3 + roles: + - controller + - ha + - onos + + - name: host4 + roles: + - compute + + - name: host5 + roles: + - compute -- cgit 1.2.3-korg