blob: 5b36795eb3ef43f6cf1b36c16cc1214752756764 (
plain) (
blame)
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
|
---
__vmhost_bridge_interface_zones__:
enp1s0:
- lan
- svc
enp2s0:
- magenta
enp3s0:
- mgmt
- iot
__vmhost_bridge_interface_zones_yaml__: |
{% for interface in (__vmhost_bridge_interface_zones__.keys() | sort) %}
{% for zone in __vmhost_bridge_interface_zones__[interface] %}
{{ zone }}:
interfaces:
- {{ interface }}.{{ network_zones[zone].vlan }}
{% endfor %}
{% endfor %}
vm_host:
name: ch-gnocchi
network:
bridges: "{{ __vmhost_bridge_interface_zones_yaml__ | from_yaml }}"
|