| sgudz | c390621 | 2019-03-02 20:45:34 +0200 | [diff] [blame] | 1 | {#- External network. For proxy and other nodes with endpoints from external network #} | 
|  | 2 | {#- Provides:                         #} | 
|  | 3 | {#-   (linux interface) + address #} | 
|  | 4 | {#- Requires:                         #} | 
|  | 5 | {#-   _param:external_address          #} | 
|  | 6 | {#-   _param:external_network_netmask       #} | 
|  | 7 | # {{ interfaces_role }} | 
|  | 8 | {%- set interface_name = interfaces.keys()[0] %} | 
|  | 9 | {{ interface_name }}: | 
|  | 10 | enabled: true | 
|  | 11 | name: {{ interface_name }} | 
|  | 12 | address: ${_param:_esc}{_param:baremetal_address} | 
|  | 13 | netmask: 255.255.255.0 | 
|  | 14 | proto: static | 
|  | 15 | type: eth |