![Stanislav Makar](/assets/img/avatar_default.png)
We have some roles which are deployed before vrouter deployment due to we need to reconfigure default route after vrouter is ready. Default route reconfiguration: * add new configure_default_route puppet function * add new configure_default_route task in post deploy * add tests Change-Id: I5db09111a9eecad058654e5463ffb13d077cee70 Closes-bug: #1444962
13 lines
501 B
Puppet
13 lines
501 B
Puppet
notice('MODULAR: configure_default_route.pp')
|
|
|
|
$network_scheme = hiera('network_scheme')
|
|
$master_ip = hiera('master_ip')
|
|
$management_vrouter_vip = hiera('management_vrouter_vip')
|
|
|
|
prepare_network_config($network_scheme)
|
|
$management_int = get_network_role_property('management', 'interface')
|
|
$fw_admin_int = get_network_role_property('fw-admin', 'interface')
|
|
$ifconfig = configure_default_route($network_scheme, $master_ip, $management_vrouter_vip, $fw_admin_int, $management_int )
|
|
|
|
notice ($ifconfig)
|