summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/post-osa/vars/main.yml
blob: da886028b1387b608ea4fb952e43a64ef8ba0fbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---

sfc_plugins:
  src: sfc.conf
  dst: /opt/sfc.conf

intf_external: |-
  {%- set intf_external = compu_sys_mappings["external"]["interface"] %}
  {%- if compu_sys_mappings["external"]["vlan_tag"] | int %}
  {%- set intf_external = intf_external + '.' + compu_sys_mappings["external"]["vlan_tag"]|string %}
  {%- endif %}
  {{- intf_external }}

intf_tenant: |-
  {%- set intf_tenant = compu_sys_mappings["tenant"]["interface"] %}
  {%- if compu_sys_mappings["tenant"]["vlan_tag"] | int %}
  {%- set intf_tenant = intf_tenant + '.' + compu_sys_mappings["tenant"]["vlan_tag"]|string %}
  {%- endif %}
  {{- intf_tenant }}

intf_storage: |-
  {%- set intf_storage = compu_sys_mappings["storage"]["interface"] %}
  {%- if compu_sys_mappings["storage"]["vlan_tag"] | int %}
  {%- set intf_storage = intf_storage + '.' + compu_sys_mappings["storage"]["vlan_tag"]|string %}
  {%- endif %}
  {{- intf_storage }}