aboutsummaryrefslogtreecommitdiffstats
path: root/tutorials
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-03-26 16:03:47 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-03-26 16:06:13 +0100
commit676591091ff3c154193213b26103c694f1a5f1be (patch)
tree12bce87cd541ace6b55fd1cd83a1c73dc527cb2c /tutorials
parent314c0c1e45bc6a4c1ae0e7c030ebbf51b80abb35 (diff)
Fix indentation issues within YAMLs
Fixes applied as reported by yamllint. Change-Id: I5320d49799ecdd3ffbc8f9fbb8617554a709c247 Issue-ID: INT-1482 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'tutorials')
-rw-r--r--tutorials/vFWDT/playbooks/vpgn/latest/ansible/distributetraffic/site.yml76
-rw-r--r--tutorials/vFWDT/playbooks/vpgn/latest/ansible/distributetrafficcheck/site.yml64
-rw-r--r--tutorials/vFWDT/policies/types/affinityPolicy-v20181031.yml10
-rw-r--r--tutorials/vFWDT/policies/types/queryPolicy-v20181031.yml2
-rw-r--r--tutorials/vFWDT/policies/types/vnfPolicy-v20181031.yml14
5 files changed, 83 insertions, 83 deletions
diff --git a/tutorials/vFWDT/playbooks/vpgn/latest/ansible/distributetraffic/site.yml b/tutorials/vFWDT/playbooks/vpgn/latest/ansible/distributetraffic/site.yml
index 14de1646..90b34974 100644
--- a/tutorials/vFWDT/playbooks/vpgn/latest/ansible/distributetraffic/site.yml
+++ b/tutorials/vFWDT/playbooks/vpgn/latest/ansible/distributetraffic/site.yml
@@ -40,43 +40,43 @@
set_fact:
vserver2_interfaces: "{{destinations[0].vservers[1]['l-interfaces'] | list}}"
- block:
- - name: length interfaces vserver1
- set_fact:
- length1: "{{ vserver1_interfaces |length }}"
- - name: length interfaces vserver2
- set_fact:
- length2: "{{ vserver2_interfaces |length }}"
+ - name: length interfaces vserver1
+ set_fact:
+ length1: "{{ vserver1_interfaces |length }}"
+ - name: length interfaces vserver2
+ set_fact:
+ length2: "{{ vserver2_interfaces |length }}"
- block:
- - name: adress 1 vserver
- set_fact:
- sink_addresses:
- - "{{destinations[0].vservers[0]['l-interfaces'][0]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[0]['l-interfaces'][1]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[0]['l-interfaces'][2]['ipv4-addresses'][0]}}"
- - name: adress 2 vserver
- set_fact:
- fw_addresses:
- - "{{destinations[0].vservers[1]['l-interfaces'][0]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[1]['l-interfaces'][1]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[1]['l-interfaces'][2]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[1]['l-interfaces'][3]['ipv4-addresses'][0]}}"
+ - name: adress 1 vserver
+ set_fact:
+ sink_addresses:
+ - "{{destinations[0].vservers[0]['l-interfaces'][0]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[0]['l-interfaces'][1]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[0]['l-interfaces'][2]['ipv4-addresses'][0]}}"
+ - name: adress 2 vserver
+ set_fact:
+ fw_addresses:
+ - "{{destinations[0].vservers[1]['l-interfaces'][0]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[1]['l-interfaces'][1]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[1]['l-interfaces'][2]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[1]['l-interfaces'][3]['ipv4-addresses'][0]}}"
when:
- length1 == "3"
- length2 == "4"
- block:
- - name: adress 1 vserver
- set_fact:
- fw_addresses:
- - "{{destinations[0].vservers[0]['l-interfaces'][0]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[0]['l-interfaces'][1]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[0]['l-interfaces'][2]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[0]['l-interfaces'][3]['ipv4-addresses'][0]}}"
- - name: adress 2 vserver
- set_fact:
- sink_addresses:
- - "{{destinations[0].vservers[1]['l-interfaces'][0]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[1]['l-interfaces'][1]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[1]['l-interfaces'][2]['ipv4-addresses'][0]}}"
+ - name: adress 1 vserver
+ set_fact:
+ fw_addresses:
+ - "{{destinations[0].vservers[0]['l-interfaces'][0]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[0]['l-interfaces'][1]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[0]['l-interfaces'][2]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[0]['l-interfaces'][3]['ipv4-addresses'][0]}}"
+ - name: adress 2 vserver
+ set_fact:
+ sink_addresses:
+ - "{{destinations[0].vservers[1]['l-interfaces'][0]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[1]['l-interfaces'][1]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[1]['l-interfaces'][2]['ipv4-addresses'][0]}}"
when:
- length1 == "4"
- length2 == "3"
@@ -122,12 +122,12 @@
- debug: var=fwIp
- debug: var=sinkIp
- block:
- - name: get new FW IP
- set_fact:
- fwIp: "{{fwIp.stdout}}"
- - name: get new SINK IP
- set_fact:
- sinkIp: "{{sinkIp.stdout}}"
+ - name: get new FW IP
+ set_fact:
+ fwIp: "{{fwIp.stdout}}"
+ - name: get new SINK IP
+ set_fact:
+ sinkIp: "{{sinkIp.stdout}}"
- debug: var=pkgIp.stdout
- debug: var=oldFwIp.stdout
- debug: var=oldSinkIp.stdout
diff --git a/tutorials/vFWDT/playbooks/vpgn/latest/ansible/distributetrafficcheck/site.yml b/tutorials/vFWDT/playbooks/vpgn/latest/ansible/distributetrafficcheck/site.yml
index 665619ab..36e36249 100644
--- a/tutorials/vFWDT/playbooks/vpgn/latest/ansible/distributetrafficcheck/site.yml
+++ b/tutorials/vFWDT/playbooks/vpgn/latest/ansible/distributetrafficcheck/site.yml
@@ -28,43 +28,43 @@
set_fact:
vserver2_interfaces: "{{destinations[0].vservers[1]['l-interfaces'] | list}}"
- block:
- - name: length interfaces vserver1
- set_fact:
- length1: "{{ vserver1_interfaces |length }}"
- - name: length interfaces vserver2
- set_fact:
- length2: "{{ vserver2_interfaces |length }}"
+ - name: length interfaces vserver1
+ set_fact:
+ length1: "{{ vserver1_interfaces |length }}"
+ - name: length interfaces vserver2
+ set_fact:
+ length2: "{{ vserver2_interfaces |length }}"
- block:
- - name: adress 1 vserver
- set_fact:
- sink_addresses:
- - "{{destinations[0].vservers[0]['l-interfaces'][0]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[0]['l-interfaces'][1]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[0]['l-interfaces'][2]['ipv4-addresses'][0]}}"
- - name: adress 2 vserver
- set_fact:
- fw_addresses:
- - "{{destinations[0].vservers[1]['l-interfaces'][0]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[1]['l-interfaces'][1]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[1]['l-interfaces'][2]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[1]['l-interfaces'][3]['ipv4-addresses'][0]}}"
+ - name: adress 1 vserver
+ set_fact:
+ sink_addresses:
+ - "{{destinations[0].vservers[0]['l-interfaces'][0]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[0]['l-interfaces'][1]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[0]['l-interfaces'][2]['ipv4-addresses'][0]}}"
+ - name: adress 2 vserver
+ set_fact:
+ fw_addresses:
+ - "{{destinations[0].vservers[1]['l-interfaces'][0]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[1]['l-interfaces'][1]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[1]['l-interfaces'][2]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[1]['l-interfaces'][3]['ipv4-addresses'][0]}}"
when:
- length1 == "3"
- length2 == "4"
- block:
- - name: adress 1 vserver
- set_fact:
- fw_addresses:
- - "{{destinations[0].vservers[0]['l-interfaces'][0]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[0]['l-interfaces'][1]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[0]['l-interfaces'][2]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[0]['l-interfaces'][3]['ipv4-addresses'][0]}}"
- - name: adress 2 vserver
- set_fact:
- sink_addresses:
- - "{{destinations[0].vservers[1]['l-interfaces'][0]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[1]['l-interfaces'][1]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[1]['l-interfaces'][2]['ipv4-addresses'][0]}}"
+ - name: adress 1 vserver
+ set_fact:
+ fw_addresses:
+ - "{{destinations[0].vservers[0]['l-interfaces'][0]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[0]['l-interfaces'][1]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[0]['l-interfaces'][2]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[0]['l-interfaces'][3]['ipv4-addresses'][0]}}"
+ - name: adress 2 vserver
+ set_fact:
+ sink_addresses:
+ - "{{destinations[0].vservers[1]['l-interfaces'][0]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[1]['l-interfaces'][1]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[1]['l-interfaces'][2]['ipv4-addresses'][0]}}"
when:
- length1 == "4"
- length2 == "3"
diff --git a/tutorials/vFWDT/policies/types/affinityPolicy-v20181031.yml b/tutorials/vFWDT/policies/types/affinityPolicy-v20181031.yml
index e28ac313..3b0da019 100644
--- a/tutorials/vFWDT/policies/types/affinityPolicy-v20181031.yml
+++ b/tutorials/vFWDT/policies/types/affinityPolicy-v20181031.yml
@@ -19,7 +19,7 @@ node_types:
type: string
consraints:
- valid_values:
- - zone
+ - zone
identity:
type: string
required: true
@@ -30,8 +30,8 @@ node_types:
type: string
constraints:
- valid_values:
- - any
- - all
+ - any
+ - all
affinityProperties:
type: policy.data.affinityProperties_properties
required: true
@@ -51,8 +51,8 @@ data_types:
type: string
constraints:
- valid_values:
- - same
- - different
+ - same
+ - different
category:
type: string
required: true
diff --git a/tutorials/vFWDT/policies/types/queryPolicy-v20181031.yml b/tutorials/vFWDT/policies/types/queryPolicy-v20181031.yml
index 6fb6c8c2..0638fb4d 100644
--- a/tutorials/vFWDT/policies/types/queryPolicy-v20181031.yml
+++ b/tutorials/vFWDT/policies/types/queryPolicy-v20181031.yml
@@ -19,7 +19,7 @@ node_types:
type: string
consraints:
- valid_values:
- - request_param_query
+ - request_param_query
identity:
type: string
required: true
diff --git a/tutorials/vFWDT/policies/types/vnfPolicy-v20181031.yml b/tutorials/vFWDT/policies/types/vnfPolicy-v20181031.yml
index 5a4dfd94..f4e9849b 100644
--- a/tutorials/vFWDT/policies/types/vnfPolicy-v20181031.yml
+++ b/tutorials/vFWDT/policies/types/vnfPolicy-v20181031.yml
@@ -19,7 +19,7 @@ node_types:
type: string
consraints:
- valid_values:
- - vnfPolicy
+ - vnfPolicy
identity:
type: string
required: true
@@ -35,8 +35,8 @@ node_types:
type: string
constraints:
- valid_values:
- - any
- - all
+ - any
+ - all
vnfProperties:
type: list
required: true
@@ -59,10 +59,10 @@ data_types:
type: string
constraints:
- valid_values:
- - serviceInstanceId
- - vnfName
- - cloudRegionId
- - vimId
+ - serviceInstanceId
+ - vnfName
+ - cloudRegionId
+ - vimId
customerId:
type: string
required: true