blob: 5f93d0476594edb709d382f84fc50c9c4651ef5e [file] [log] [blame]
Victor Ryzhenkin4e9bf572018-12-20 00:43:16 +04001# Virtual node default networking template
2#
3parameters:
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}