blob: ac1a9235b72df27f022923ac54f63b84856221be [file] [log] [blame]
Dennis Dmitriev20aa8252018-05-17 16:35:45 +03001{#- Control network. For control plane nodes #}
2{#- Provides: #}
3{#- static interface + control network address #}
4{#- Requires: #}
5{#- _param:single_address #}
6{#- _param:control_network_netmask #}
7{#- _param:dns_server01 #}
8{#- _param:dns_server02 #}
9 # {{ interfaces_role }}
10 {%- set interface_name = interfaces.keys()[0] %}
11 {{ interface_name }}:
12 enabled: true
13 name: {{ interface_name }}
14 proto: static
15 type: eth
Dennis Dmitriev20aa8252018-05-17 16:35:45 +030016 address: ${_param:_esc}{_param:single_address}
17 netmask: ${_param:_esc}{_param:control_network_netmask}
18 name_servers:
19 - ${_param:_esc}{_param:dns_server01}
20 - ${_param:_esc}{_param:dns_server02}