aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2017-01-10 16:11:55 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2017-01-25 17:34:08 +0800
commit1eb8d4ccfbc9c34723586980d5a912e2ffa903cd (patch)
treeb1764b819ef45ea93b5f263211a736748b7c57c4 /conf
parent495994be89cc04be704767ed3f6630c6663c11eb (diff)
Opera deploy scripts
JIRA: OPERA-2 Requirement: After compass4nfv deployment Function: 1. Launch a VM (defaultly CentOS 7) 2. Launch Open-O dockers inside VM 3. Launch juju inside openstack Directory conf/ need config according to local environment Change-Id: Iac24051668e15b60f76f4819760f7b7c9b1867f3 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/download.conf5
-rw-r--r--conf/network.yml60
-rw-r--r--conf/openo-vm.yml14
-rw-r--r--conf/test.py6
4 files changed, 85 insertions, 0 deletions
diff --git a/conf/download.conf b/conf/download.conf
new file mode 100644
index 0000000..1012601
--- /dev/null
+++ b/conf/download.conf
@@ -0,0 +1,5 @@
+# iso and img conifg
+OPENO_VM_ISO_URL=http://205.177.226.237:9999/CentOS-7-x86_64-Minimal-1511.iso
+JUJU_IMG_NAME=(xenial_x86_64 trusty_x86_x64)
+JUJU_IMG_URL=(http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img \
+ http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img)
diff --git a/conf/network.yml b/conf/network.yml
new file mode 100644
index 0000000..e587b2d
--- /dev/null
+++ b/conf/network.yml
@@ -0,0 +1,60 @@
+##############################################################################
+# Copyright (c) 2016-2017 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+---
+openo_net:
+ openo_vm_ip: 192.168.57.50
+ openo_vm_mask: 255.255.255.0
+ openo_external_gw: 192.168.57.250
+ openo_external_cidr: 192.168.57.0/24
+
+openo_docker_net:
+ common_services_auth_ip: 192.168.57.51
+ common_services_drivermanager_ip: 192.168.57.52
+ common_services_extsys_ip: 192.168.57.53
+ common_services_msb_ip: 192.168.57.54
+ common_services_protocolstack_ip: 192.168.57.55
+ common_services_wso2ext_ip: 192.168.57.56
+ common_tosca_catalog_ip: 192.168.57.57
+ common_tosca_inventory_ip: 192.168.57.58
+ common_tosca_modeldesigner_ip: 192.168.57.59
+ gso_service_gateway_ip: 192.168.57.60
+ gso_service_manager_ip: 192.168.57.61
+ nfvo_dac_ip: 192.168.57.62
+ nfvo_driver_sdnc_zte_ip: 192.168.57.63
+ nfvo_driver_vim_ip: 192.168.57.64
+ nfvo_driver_vnfm_huawei_ip: 192.168.57.65
+ nfvo_driver_vnfm_juju_ip: 192.168.57.66
+ nfvo_driver_vnfm_zte_ip: 192.168.57.67
+ nfvo_lcm_ip: 192.168.57.68
+ nfvo_resmanagement_ip: 192.168.57.69
+ nfvo_umc_ip: 192.168.57.70
+ sdno_driver_huawei_l3vpn_ip: 192.168.57.71
+ sdno_driver_huawei_openstack_ip: 192.168.57.72
+ sdno_driver_huawei_overlay_ip: 192.168.57.73
+ sdno_driver_huawei_servicechain_ip: 192.168.57.74
+ sdno_driver_zte_sptn_ip: 192.168.57.75
+ sdno_service_brs_ip: 192.168.57.76
+ sdno_service_ipsec_ip: 192.168.57.77
+ sdno_service_l2vpn_ip: 192.168.57.78
+ sdno_service_l3vpn_ip: 192.168.57.79
+ sdno_service_mss_ip: 192.168.57.80
+ sdno_service_nslcm_ip: 192.168.57.81
+ sdno_service_overlayvpn_ip: 192.168.57.82
+ sdno_service_servicechain_ip: 192.168.57.83
+ sdno_service_vpc_ip: 192.168.57.84
+ sdno_service_vxlan_ip: 192.168.57.85
+ common_tosca_aria_ip: 192.168.57.86
+ sdno_driver_ct_te_ip: 192.168.57.87
+ sdno_monitoring_ip: 192.168.57.88
+ sdno_vsitemgr_ip: 192.168.57.89
+ gso_gui_portal_ip: 192.168.57.90
+
+juju_net:
+ juju_net_cidr: 12.1.1.0/24
+ juju_net_gw: 12.1.1.1
diff --git a/conf/openo-vm.yml b/conf/openo-vm.yml
new file mode 100644
index 0000000..0ce2152
--- /dev/null
+++ b/conf/openo-vm.yml
@@ -0,0 +1,14 @@
+##############################################################################
+# Copyright (c) 2016-2017 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+---
+openo:
+ cpu: 4
+ memory: 64
+ disk: 100
+ vnet: external
diff --git a/conf/test.py b/conf/test.py
new file mode 100644
index 0000000..0a45a94
--- /dev/null
+++ b/conf/test.py
@@ -0,0 +1,6 @@
+
+a={'a':'1.2','b':'1.1','c':'1.0'}
+b=sorted(a.items(),key=lambda i:i[1])
+c=[i[0] for i in b]
+#sorted(b, cmp=lambda x,y: cmp(a[x],a[y]))
+print c