summaryrefslogtreecommitdiffstats
path: root/deploy/conf
AgeCommit message (Collapse)AuthorFilesLines
2018-02-27modify the intel-pod17 k8s dha filewutianwei1-0/+3
Change-Id: I06e53449a68d8b4291e5c9c4682f42410f28ef68 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-02-27Add dha fileswutianwei3-0/+226
Add the huawei-pod1 and huawei-pod2 k8s dha files Change-Id: Id191c6d18508f15d9032a2cb3d0f563c059a7d53 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-02-25Add plugin for Stor4nfv for k8s deployramamani yeleswarapu2-0/+73
- Adds 'stor4nfv' plugin which installs OpenSDS using stor4nfv. - Adds k8s-nosdn-stor4nfv-ha scenario file. - Adds k8s-nosdn-stor4nfv-noha scenario file. Change-Id: Iee718a48994ad4e55f4b7a01933bd4e7773ac67f Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
2018-02-13deploy/conf: add ha role to k8 scenarioYibo Cai1-0/+1
Only K8s ha scenario is supported now. This noha scenario is broken. Add minor fixup so we can still use it to deploy K8s on two nodes. Change-Id: I3a763fe07ea2d31cd3ae049621e3d978c1bca4be Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2018-02-09change k8s version to v1.9.1hu xinhui1-0/+1
JIRA: - 1. compass4nfv can deploy v1.9.1 kubernetes 2. end user can use the kubernetes dashboard Change-Id: I274dda38599da95f382dfcb4159b530da8422fd8 Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
2018-02-06Merge "Fix some hard coding for some ip assignments"Yifei Xue4-15/+9
2018-02-05Merge "Seperate compass-tasks"Yifei Xue1-1/+8
2018-01-31Seperate compass-tasksHarry Huang1-1/+8
JIRA: - 1. Keep openstack-ansible in compass-tasks-osa. Keep kubespray in compass-tasks-k8s. Build different compass-tasks in one tar ball. Identify which one to use during docker-compose. 2. Temporarily using private docker repo. 3. COMPOSE_IMAGES is used to controll which components to form compass-core regardless of specific repo. Set default value for openstack and kubernetes when perform single cluster deploy. Change-Id: Ief52580e954c602575c9bf8abe5733c100876c7f Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-01-27Compass4nfv virtual deploy support direct connectionwutianwei1-0/+1
compass4nfv using nat for VM external network currently, this patch add the direct connection method. if want to use it ,you need set the NAT_EXTERNAL to false, and configure the network.yml according to you environment Change-Id: I5a1a2f96b8c32a00eaef4d591c4452b555f0c9a2 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-01-26Change the scenario file for k8s api hahu xinhui2-0/+6
1. Change the vm_environment config of k8-nosdn-nofeature-ha.yml 2. Change the hardware_environment config of k8-nosdn-nofeature-ha.yml Change-Id: Ia7654daf50c0c4b9f20e0851d41d25bf1051cb2d Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
2018-01-22Fix some hard coding for some ip assignmentsHarry Huang4-15/+9
JIRA: COMPASS-570 1. fix hard coding in ip assignments for install network. support full ip assignments from network.yml 2. remove some used config item in deploy/conf Change-Id: I566b74f4a55e6b96af3ee9f41d1e183a73424a91 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-01-19Support multi-cluster deployHarry Huang1-1/+0
JIRA: COMPASS-566 1. set DEPLOY_HOST to "true "no longer refresh compass-core 2. patch depends on merged compass-tasks 3. support assign cluster name in scenario file Change-Id: I28d201c201cff5baefee9993d195be16ef1e830b Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-12-21Add compass-docker-composeHarry Huang1-35/+1
1. Add ansible for docker compose containerized compass 2. deploy/conf/compass.conf no longer specify image tags for runtime. build.yaml now is added into compass tarball to be the only place determine image tags 3. This patch is based on patch: https://gerrit.opnfv.org/gerrit/#/c/47393/ use merged compass-tasks 4. Tempoarily using private docker repo for compass-tasks. Switch to opnfv repo when patch https://gerrit.opnfv.org/gerrit/#/c/47329/ is merged 5. Modify ansible callback module accrodingly Change-Id: I0728a9002a1cc7804c9e8f13bd1afdccb684a159 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-12-21Merge "deploy/conf: separate x86 and AArch64 docker image naming"Yifei Xue1-13/+31
2017-12-13add the barometer dha file for CI runningwutianwei3-0/+238
huawei-pod1 huawei-pod2 intel-pod17 Change-Id: Icc592d070a7835245f706699df6927af296bf5bd Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-12-10deploy/conf: separate x86 and AArch64 docker image namingYibo Cai1-13/+31
Latest update hard-coded some docker image names, which breaks the deployment on Arm platform. This patch fixes the issue by distinguishing docker image naming on different architecture. This is an interim solution, and in the future, we may leverage docker multi arch support to use consistent naming for different architectures. Change-Id: I5c59c12fb250c4e09d83582640e248075b5f7373 Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2017-12-07Merge "Add DHA and network files for intel pod17"Yifei Xue9-0/+838
2017-12-05Add plugin for Barometer.ramamani yeleswarapu2-0/+73
Change-Id: I5049805eb4e2e2c5e2cc87772afe6650253be36c Signed-off-by: John Hinman <john.hinman@intel.com> Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
2017-11-30Add DHA and network files for intel pod17Yifei Xue9-0/+838
Intel Pod17 is ready now, this patch is proposed to add DHA and network yml files for it. Then we can run some daily BM deployments on it. Change-Id: I1431295b3f7c70afb6ee77979e0eb75972d94bc1 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-11-28Upgrade OpenStack version from Ocata to PikeYifei Xue2-6/+8
JIRA: COMPASS-565 For OPNFV F release, it's going to use OpenStack Pike as the NFVI component. This task is created to monitor the upgrade work of OpenStack Pike. Subtasks as follow: - Add Pike related configurations to compass_conf - Upgrade ubuntu os to ubuntu 16.04.3 - Upgrade centos os to centos 7.4 - Upgrade openstack-ansible from ocata to pike - Upgrade openstack repos from ocata to pike Change-Id: I2202e8e3ae23dae8e575c89170c9e5e057757870 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
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