aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/conf
AgeCommit message (Collapse)AuthorFilesLines
2017-11-09deploy/conf: support configurable docker registryYibo Cai1-7/+10
Set COMPASS_DOCKER_REPO to use docker repos other than the default one for x86_64(docker.io/compass4nfv). E.g., to deploy Arm servers, it can be set to "linaro" repo. Change-Id: Ief939e94d4a324dccd1ccf4be4ac75afb2cb0c3e Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2017-10-26Set default openstack version to OcataHarry Huang1-2/+2
Default value of openstack version variable is still newton which cause error when using this default value in k8s scenario Change-Id: I8e89e60f03a0dbf0263b0fef85f80ccb4a32efae Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-10-24Merge "Config dpdk and ovs"Justin chi4-0/+270
2017-10-24Config dpdk and ovsHarry Huang4-0/+270
switch dpdk interface driver and bring up corresponding ovs bridges. Change-Id: I07bd9b332978482507711cfbd8ad29802a8b1a8c Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-10-18Merge "Update the Euphrates docs for kubernetes scenario"Justin chi1-0/+65
2017-10-18Update the Euphrates docs for kubernetes scenarioYifei Xue1-0/+65
JIRA: - In the Euphrates release, compass has supported kubernates deployment now. However, there is no k8s related description in docs of compass4nfv. So we add k8s related description in this patch including the k8s architeture, k8s networking in Compass, k8s virtual deployment and k8s bare metel deployment. Change-Id: I3bea3ae06b1c73076ba44d10caf89602928b7021 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-10-17 Add k8-nosdn-nofeature-noha scenario supporthu xinhui1-0/+22
JIRA: - Currently Compass support 3+2 highly available Kubernetes cluster. This yaml file define 1+1 Kubernetes cluster for k8-nosdn-nofeature-noha scenario Change-Id: Iaeb4ef854a88657813fab9d255120ac93854dc6f Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
2017-10-16Merge "Modification for kargo to generate dynamic inventory"Justin chi1-14/+8
2017-10-11Merge "Add customized DNS server support"Justin chi1-1/+1
2017-10-05Add customized DNS server supportYifei Xue1-1/+1
JIRA: - Currently Compass uses the gateway of install network as the only DNS server of host1 to 5. Sometimes it doesn't work in some environments. This patch we add a variable named USER_NAMESERVER which can be exported before deployment. It is used to store a user defined DNS nameserver. Change-Id: Id74889c20cf09ec7e25d882b56ab6331ee64cdcf Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-09-30Modification for kargo to generate dynamic inventoryhu xinhui1-14/+8
JIRA: - There is some hardcode for kargo inventory.This patch is to generate dynamic inventory for kargo Change-Id: If4a7c5f973e520e4ca24c3c9e0bfa97725a5a44c Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
2017-09-30Add default value for offline deploy switchHarry Huang1-0/+1
JIRA: COMPASS-563 The switch controls offline deploy missing default value which cause passing a empty value into ansible and lead to condition check error Change-Id: I0af4df0556dcbe30dacc743456728e8bdee698e8 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-09-28Modify the network and DHA fileswutianwei23-117/+967
Due to pod2 virtual3 and virtual4 run danube before, we need to change the network and DHA to run euphrates Change-Id: I720138cb960cc6f3a57bf5f777c0debb80f64eba Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-09-15Merge "Run k8s in CI"Justin chi1-0/+42
2017-09-14Run k8s in CIwutianwei1-0/+42
Add k8s DHA file k8s-nosdn-nofeature-ha.yml when run k8s-nosdn-nofeature-ha scenario, export two variables COMPASS_OS_VERSION=centos7 KUBERNETES_VERSION="v1.7.3" Change-Id: I9012598e6d46b20f325e93aba92f03da444d97a2 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-09-14Enable DPDK scenarios in Jenkinschigang3-0/+338
Add network configuration files and scenario files to fix running error in Jenkins https://build.opnfv.org/ci/job/compass-deploy-baremetal-daily-master/2888/console Change-Id: Ie0e930e143d520c553eac41e56cf4b2504374e30 Signed-off-by: chigang <chigang@huawei.com>
2017-09-14Merge "Update the image tags to euphrates"Justin chi1-2/+2
2017-09-13Add dpdk pluginchigang3-0/+138
JIRA: COMPASS-550 add OVS-DPDK plugin, there are two roles in this plugin. 1. ins_dpdk is for dpdk installation and hugepages setting. 2. ins_ovs is for openvswitch installation. add dpdk scenario networking configuration example called "network_cfg_dpdk.yaml" Change-Id: Ifd8c1aadc218753f99bc26bb530e7cf9962ad8e3 Signed-off-by: chigang <chigang@huawei.com>
2017-09-13Update the image tags to euphratesYifei Xue1-2/+2
JIRA: - Currently the latest tag is used in building tarball. As OPNFV Euphrates will be released soon, we change the tags of some docker images to euphrates. Change-Id: Ic7a746f3a3338cf7f5cacd2f932816b3776e7de6 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-09-08Add k8s supporthu xinhui2-0/+11
JIRA: - Add a new k8s scenario for compass Change-Id: Ic5f58a6152315333684e4f2752aaa0d5d870d9ee Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
2017-09-01Support multiple physnet mappingHarry Huang6-12/+60
JIRA: COMPASS-559 1. support multiple mapping in provider_net_mappings of network.yml and create corresponding ovs bridges 2. support seperate config in sys_intf_mappings of network.yml 3. remove linux bridges in compute nodes for ovs port binding convenience 4. support openstack vlan tenant network 5. modify odl and odl_sfc roles to use configurable provider mapping 6. remove some hard coding Change-Id: Ib57484ce60d029f89c647fd5baf2c7af37c85d0b Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-08-31Support offline deployment for nosdn no feature scenarioYifei Xue1-2/+5
JIRA: - Add a repo docker which includes ubuntu PPA and python packages used for offline deployment. Change-Id: Iad9b0df7f33f5a7ab974c5deffb408fc93b3f3ad Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-08-18support the noha scenariowutianwei16-1/+1062
1. add parameter to install keepalived when only one controller 2. change the osa code to start keepalived and haproxy 3. add the noha DHA files 4. fix the setup ovs bug 5. fix the pod1 public vip Change-Id: I19f4e78b9ca834ae3d454e1c8058728ece055f69 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-08-14Modify moon networkHarry Huang4-8/+8
1. modify interface file for moon according to new network structure 2. modify some ips for pods running master Change-Id: Idfca20c8e101222d27847fcac4f12ba21a1b5a67 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-08-11Adapt network.yml to OpenStack AnsibleHarry Huang6-70/+109
JIRA:COMPASS-557 1. modify sys_intf_mappings and ip_settings in network.yml to synchronize with OSA network. networks compass build will be mgmt, external, tenant, storage. 2. modify compass_conf to support new netwok.yml 3. fix some hard coding when transfer ip parameters 4. support heterogeneous network Change-Id: Ib4a8af1f96a40e6456242e3dc2b456e0c8c17c2e Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-07-29Switch to compass4nfv docker repoHarry Huang1-1/+1
Dynamic inventory support for compass4nfv/compass-tasks-osa is ready, switch docker repo. Change-Id: I9ad5cd1cc860dd649cf43c6d5f1ea1e7c39e20fc Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-07-29Correct the DHA name of SFC scenarioYifei Xue2-0/+0
The DHA name of SFC scenario in compass4nfv repo is " os-odl_l3-sfc-ha.yml". However, the scenario name on CI master is "os-odl-sfc-ha.yml". So CI failed when read DHA file. THis patch is proposed to fix this problem. Change-Id: Icb8db6c6c023a794bdd803d0365d719a853dc712 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-07-28Add ODL SFC supportYifei Xue2-0/+129
Add SFC support for Ocata and Carbon. 1. Add ovs-nsh package for sfc scenario 2. Add sfc configuration and tasks 3. Add sfc DHA files Change-Id: Icf8f20220a2c5ac38a5b92d3ca0e24cbb0e89a52 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-07-28Add moonv4 into Compass4nfvchigang3-6/+5
JIRA:- To deploy moon master, export MOON_CFG env like below compass deploy: export MOON_CFG="master:flag=Disable,slave:flag=Enable,slave:name=slave1,slave:master_ip=master_ip" To deploy moon slave, export MOON_CFG env like below compass deploy: export MOON_CFG="master:flag=Enable,slave:flag=Disable,slave:name=slave1,slave:master_ip=master_ip" Change-Id: I21c0186a029c508d390c69112b43510d9c5b9c5c Signed-off-by: chigang <chigang@huawei.com>
2017-07-25Merge "Functest needs huawei virtual5 to test alpine"Justin chi4-0/+405
2017-07-24Dynamic InventoryHarry Huang1-0/+6
JIRA: COMPASS-556 1. using dynamic ansible inventory 2. modify Class AnsibleInstaller in compass-tasks 3. modify compass conf to support this behavior 4. specify docker image in /deploy/conf/compass.conf 5. remove clusterhost status update in playbook_done.py Change-Id: I04079547c8b251571ae4e5b165d3bf425b8913b7 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-07-21Functest needs huawei virtual5 to test alpinewutianwei4-0/+405
They want to use jenkins to trigger the build. So it need to add the huawei-virtual5 network*.yml Change-Id: Icb8d5d8f574fbbc4674ab1c61a0e3c0c3325f2d4 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-07-20Change the BMC password of PODwutianwei39-195/+195
For security, we change the password to Opnfv@pod Change-Id: I647af6db65c89fb0feee7936a3747abbab735ab7 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-07-19Add real time kvm feature from kvmfornfv projectdavidjchou2-0/+119
JIRA: COMPASS-549 1. Add rt_kvm plugin and os-nosdn-kvm-ha scenario in vm_enviroment 2. Add rt_kvm in compass4nfv playbook 3. Disable kernel update in KVM scenarios Signed-off-by: davidjchou <david.j.chou@intel.com> Change-Id: Ie164fe7ea28ebcb1e41299e92dc51b8ec16310eb Signed-off-by: chigang <chigang@huawei.com>
2017-07-13Add deployment timeout to 300 minschigang2-2/+2
JIRA:- Deployment timeout in Intel POD, so add more timeout. Reduce it when offline deployment support. Change-Id: I244033ceb6d32ef1e3966716be9303c58c662d80 Signed-off-by: chigang <chigang@huawei.com>
2017-07-10Add opendaylight switchHarry Huang9-0/+20
Add key plugins in DHA file and declare opendaylight as a plugin in odl scenario. Change-Id: Iefc07b691d5052a9980d8c87f23a9f82be61ed6e Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-06-20fix baremetal deployhuangxiangyu2-20/+20
1. delete package part when external network is not ready 2. modify some vm_environment ip to adapt with containerized compass4nfv code Change-Id: I9d777675e7ca9d6f9b12a885df8677b2446e6917 Signed-off-by: huangxiangyu <huangxiangyu5@huawei.com>
2017-06-09support Containerized compass-corehuangxiangyu6-29/+129
JIRA: COMPASS-534 1. rm compass vm and add ansible to bring up 5 compass containers 2. use tar package instead of compass.iso which contains compass docker images, OS ISO, PPA, pip packages. 3. modify client.py to communicate with containerized compass-core 4. modify cobbler files and ansible callback files to adapt with containerized compass-core 5. upgrade openstack version to ocata 6. use the openstack-ansible to deploy openstack 7. virtual deploy external use nat Change-Id: Ifa2a3f5b8c7c32224ac4276fd3d4cc2b0d270a26 Signed-off-by: huangxiangyu <huangxiangyu5@huawei.com>
2017-05-02huawei-pod6 added to sandbox CIThaj12-0/+1001
so, all config files are added for huawei-pod6 Change-Id: Ic11ca7de4787a67e52ac75784f760347bcb42315 Signed-off-by: Thaj <Thajudheen.rajak@huawei.com>
2017-03-27Merge "Support bond created"Justin chi1-1/+17
2017-03-17update opera related filesHarry Huang12-124/+68
1. update opera_adapter.py to sync new opera config 2. modify all os-nosdn-openo-ha.yml, add open-o version and vnf type 3. modify all network_openo.yml, using only one external ip and assign open-o docker ips Change-Id: Iadcba8cc2fc17ddf32dfea9fe52c471a6bfadde8 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-03-14Support bond createdliyuenan1-1/+17
JIRA: - You can add bond according to deploy/conf/network_cfg.yaml. Change-Id: I70f2f03581cf763dbaf7a8a47bdbd46b66620fcb Signed-off-by: liyuenan <liyuenan@huawei.com>
2017-03-10Add network_openo.yml in all virtual podsHarry Huang5-0/+456
add network_openo.yml to adapt with open-o scenario in: 1. huawei-virtual1 2. huawei-virtual2 3. huawei-virtual3 4. huawei-virtual4 5. huawei-virtual7 Change-Id: I96046470ddb05f8f613489db35f4a6b623a5cf4c Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-03-06add open-o scenarioHarry Huang7-0/+579
add os-nosdn-openo-ha.yml and network_openo.yml in: 1. huawei-pod1 2. huawei-pod2 3. intel-pod8 Change-Id: I89ad426c1e3006bf2ef218cd9b55d97e53aa8721 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-02-28Merge "Add License header for files without it"Justin chi87-0/+783
2017-02-27Add License header for files without itchigang87-0/+783
JIRA: - use the first author's company for license holder use the latest year for license year add license for yml,c,cpp,shell,python,java. don't add license for template files such as config and j2 patch for auto add license: https://github.com/Justin-chi/Lab/blob/master/add_license.sh delete the files with the Eclipse License Change-Id: I4f17da4ebb36a074c0b6722a2a4154e6c235d4bb Signed-off-by: chigang <chigang@huawei.com>
2017-02-21add ntp for compass-coreqiwei-li-huawei1-1/+1
JIRA: COMPASS-514 add ntp for compass-core and set up timezone, make timezone in compass-core same as where hosts' are To set timezone of both compass-core and hosts, edit /deploy/conf/compass.conf TIMEZONE: Asia/Shanghai Change-Id: If60623dbff793e56e65c32f80addc5e1d956f3e1 Signed-off-by: qiwei-li-huawei <qiwei.li@huawei.com>
2017-02-04Merge "Add opera support"Justin chi2-0/+141
2017-02-04Add opera supportHarry Huang2-0/+141
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 <huangxiangyu5@huawei.com>
2017-01-25New patch for orange-pod3 POD with indentation correction for network*.yml filesFrancois DESPRES10-0/+728
Change-Id: Ifa100d6e444c4190d8f15d980c4fd72f8b953a1d Signed-off-by: Francois DESPRES <francois.despres@orange.com>