blob: 78b0ca1fa7b8416ca7dd254b522be5faa1de02f1 [file] [log] [blame]
{#- Management (admin) network. For nodes where deploy address must be configured as static (at least cfg*) #}
{#- Provides: #}
{#- br_mgm (linux bridge) + address #}
{#- Requires: #}
{#- _param:deploy_address #}
{#- _param:deploy_network_netmask #}
{#- _param:deploy_network_gateway #}
{#- _param:dns_server01 #}
{#- _param:dns_server02 #}
# {{ interfaces_role }}
{%- set interface_name = interfaces.keys()[0] %}
{{ interface_name }}:
enabled: true
name: {{ interface_name }}
proto: manual
type: eth
ipflush_onchange: true
br_mgm:
address: ${_param:_esc}{_param:deploy_address}
netmask: ${_param:_esc}{_param:deploy_network_netmask} #lab03: 255.255.255.192
gateway: ${_param:_esc}{_param:deploy_network_gateway} #lab03: 172.16.49.1
enabled: true
name_servers:
- ${_param:_esc}{_param:dns_server01}
- ${_param:_esc}{_param:dns_server02}
proto: static
type: bridge
use_interfaces:
- {{ interface_name }}