Victor Ryzhenkin | 4e9bf57 | 2018-12-20 00:43:16 +0400 | [diff] [blame] | 1 | # Virtual node default networking template |
| 2 | # |
| 3 | parameters: |
| 4 | linux: |
| 5 | network: |
| 6 | interface: |
| 7 | deploy_interface: |
| 8 | name: ${_param:primary_interface} |
| 9 | enabled: true |
| 10 | type: eth |
| 11 | proto: dhcp |
| 12 | control_interface: |
| 13 | name: ${_param:control_interface} |
| 14 | enabled: true |
| 15 | type: eth |
| 16 | proto: static |
| 17 | address: ${_param:single_address} |
| 18 | netmask: 255.255.255.0 |
| 19 | ipflush_onchange: true |
| 20 | restart_on_ipflush: true |
| 21 | post_up_cmds: |
| 22 | - ip r rep 10.254.0.0/16 via ${_param:single_address} |