From 613ff10892793546146bd7e9d08054788f823609 Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Tue, 17 Jan 2017 14:45:57 +0800 Subject: Add opera support JIRA: COMPASS-504 JIRA: OPERA-1 Function: support open-o deployment by calling opera project. open-o deployment will start at the end of normal compass4nfv deployment. Changes: 1. add scenario and network yaml for opera 2. add opera_adapter.py for calling opera Attention: The git URL for opera will change after opera patch OPERA-2 is meraged. This patch should be modifed before meraged. Change-Id: Id0afcece920c4107bb23f42b460c46eec3ca97e6 Signed-off-by: Harry Huang --- .../vm_environment/huawei-virtual7/network.yml | 105 +++++++++++++++++++++ deploy/conf/vm_environment/os-nosdn-openo-noha.yml | 36 +++++++ 2 files changed, 141 insertions(+) create mode 100644 deploy/conf/vm_environment/huawei-virtual7/network.yml create mode 100644 deploy/conf/vm_environment/os-nosdn-openo-noha.yml (limited to 'deploy/conf/vm_environment') diff --git a/deploy/conf/vm_environment/huawei-virtual7/network.yml b/deploy/conf/vm_environment/huawei-virtual7/network.yml new file mode 100644 index 00000000..12547b7b --- /dev/null +++ b/deploy/conf/vm_environment/huawei-virtual7/network.yml @@ -0,0 +1,105 @@ +--- +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.83.210" + - "192.168.83.220" + cidr: "192.168.83.0/24" + gw: "192.168.83.250" + role: + - controller + - compute + +internal_vip: + ip: 172.16.1.222 + netmask: "24" + interface: mgmt + +public_vip: + ip: 192.168.83.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.83.250" + floating_ip_cidr: "192.168.83.0/24" + floating_ip_start: "192.168.83.101" + floating_ip_end: "192.168.83.199" + +openo_net: + openo_vm_ip: "192.168.83.50" + openo_vm_mask: "255.255.255.0" + openo_external_gw: "192.168.83.250" + openo_external_cidr: "192.168.83.0/24" + +openo_docker_net: + docker_ip_start: "192.168.83.51" + docker_ip_end: "192.168.83.90" + +juju_net: + juju_net_cidr: "12.1.1.0/24" + juju_net_gw: "12.1.1.1" diff --git a/deploy/conf/vm_environment/os-nosdn-openo-noha.yml b/deploy/conf/vm_environment/os-nosdn-openo-noha.yml new file mode 100644 index 00000000..01653326 --- /dev/null +++ b/deploy/conf/vm_environment/os-nosdn-openo-noha.yml @@ -0,0 +1,36 @@ +--- +TYPE: virtual +FLAVOR: cluster + +deploy_options: + - orchestrator: open-o + +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 -- cgit 1.2.3-korg