Dennis Dmitriev | 20aa825 | 2018-05-17 16:35:45 +0300 | [diff] [blame] | 1 | {#- 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 Dmitriev | 20aa825 | 2018-05-17 16:35:45 +0300 | [diff] [blame] | 16 | 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} |