[xci] integrate istio in XCI 71/58471/9
authorwutianwei <wutianwei1@huawei.com>
Wed, 13 Jun 2018 03:53:14 +0000 (11:53 +0800)
committerFatih Degirmenci <fdegir@gmail.com>
Thu, 23 Aug 2018 10:52:26 +0000 (10:52 +0000)
using kubespary to deploy the istio, kubespary support to deploy istio

installer-type:kubespray
deploy-scenario:k8-nosdn-istio

Change-Id: Id8c04936187c89fafa921dada382a0e9e11aab27
Signed-off-by: wutianwei <wutianwei1@huawei.com>
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
xci/installer/kubespray/playbooks/configure-kubenet.yml
xci/opnfv-scenario-requirements.yml

index 3b1cb01..18a126c 100644 (file)
           with_items: "{{ kubenet_xci_static_routes }}"
           loop_control:
             label: "{{ item.network }}"
-      when: deploy_scenario == 'k8-nosdn-nofeature'
+      when: deploy_scenario.find('k8-nosdn-') != -1
 
     - name: Ensure rp_filter is disabled on localhost
       sysctl:
         name: net.ipv4.conf.all.rp_filter
         sysctl_set: yes
         state: present
-        value: "{{ deploy_scenario == 'k8-nosdn-nofeature' | ternary(0, 1) }}"
+        value: "{{ (kubenet_xci_static_routes is defined) | ternary(0, 1) }}"
         reload: yes
       delegate_to: localhost
       run_once: True
index 1c7c8d5..f5fc62d 100644 (file)
         - ubuntu
         - centos
         - opensuse
+
+- scenario: k8-nosdn-istio
+  scm: git
+  src: https://gerrit.opnfv.org/gerrit/releng-xci-scenarios
+  version: master
+  role: scenarios/k8-nosdn-istio/role/k8-nosdn-istio
+  installers:
+    - installer: kubespray
+      flavors:
+        - ha
+        - mini
+        - noha
+      distros:
+        - ubuntu
+        - centos
+        - opensuse