blob: ce54ed715d0a25118f0820d00c16c70ff340663d [file] [log] [blame]
Dennis Dmitrievf4826bc2017-09-28 19:03:54 +03001{#- Control network. For control plane nodes #}
2{#- Provides: #}
3{#- br_ctl (linux bridge) + address #}
4{#- _param:keepalived_vip_interface = 'br_ctl' #}
5{#- Requires: #}
6{#- _param:single_address #}
7{#- _param:control_network_netmask #}
8{#- _param:dns_server01 #}
9{#- _param:dns_server02 #}
10
11 # {{ interfaces_role }}
12 {%- set interface_name = interfaces.keys()[0] %}
13 {{ interface_name }}:
14 enabled: true
15 name: {{ interface_name }}
16 proto: manual
17 type: eth
18 ipflush_onchange: true
19 br_ctl:
20 address: ${_param:_esc}{_param:single_address}
21 enabled: true
22 netmask: ${_param:_esc}{_param:control_network_netmask}
23 proto: static
24 type: bridge
25 name_servers:
26 - ${_param:_esc}{_param:dns_server01}
27 - ${_param:_esc}{_param:dns_server02}
28 use_interfaces:
29 - {{ interface_name }}
30 require_interfaces:
31 - {{ interface_name }}