blob: a0de958a320ff6432697d5ae92be2cfb3f3da10b [file] [log] [blame]
Dennis Dmitrievf4826bc2017-09-28 19:03:54 +03001{#- Management (admin) network. For nodes where deploy address must be configured as static (at least cfg*) #}
2{#- Provides: #}
3{#- br_mgm (linux bridge) + address #}
4{#- Requires: #}
5{#- _param:deploy_address #}
6{#- _param:deploy_network_netmask #}
7{#- _param:deploy_network_gateway #}
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_mgm:
20 address: ${_param:_esc}{_param:deploy_address}
21 netmask: ${_param:_esc}{_param:deploy_network_netmask} #lab03: 255.255.255.192
22 gateway: ${_param:_esc}{_param:deploy_network_gateway} #lab03: 172.16.49.1
23 enabled: true
24 name_servers:
25 - ${_param:_esc}{_param:dns_server01}
26 - ${_param:_esc}{_param:dns_server02}
27 proto: static
28 type: bridge
29 use_interfaces:
30 - {{ interface_name }}