L23network: rename some incoming parmetrs for create_br_iface.

This commit is contained in:
Sergey Vasilenko 2013-03-27 13:57:47 +04:00
parent 3efdfaecfd
commit 1685902129

View File

@ -45,11 +45,13 @@ define l23network::l3::create_br_iface (
$dns_domain = undef,
$dns_search = undef,
$save_default_gateway = false,
$interface_vlandev = undef,
$interface_bond_mode = undef,
$interface_bond_miimon = 100,
$interface_bond_lacp_rate = 1,
$interface_order_prefix = false,
$lnx_interface_vlandev = undef,
$lnx_interface_bond_mode = undef,
$lnx_interface_bond_miimon = 100,
$lnx_interface_bond_lacp_rate = 1,
$lnx_interface_order_prefix = false,
$ovs_bond_name = 'bond0',
$ovs_bond_options = [],
){
if ! $external_ids {
$ext_ids = "bridge-id=${bridge}"
@ -73,12 +75,12 @@ define l23network::l3::create_br_iface (
}
l23network::l3::ifconfig {$interface:
ipaddr => 'none',
vlandev => $interface_vlandev,
vlandev => $lnx_interface_vlandev,
require => L23network::L2::Port[$interface],
bond_mode => $interface_bond_mode,
bond_miimon => $interface_bond_miimon,
bond_lacp_rate => $interface_bond_lacp_rate,
ifname_order_prefix => $interface_order_prefix,
bond_mode => $lnx_interface_bond_mode,
bond_miimon => $lnx_interface_bond_miimon,
bond_lacp_rate => $lnx_interface_bond_lacp_rate,
ifname_order_prefix => $lnx_interface_order_prefix,
}
l23network::l3::ifconfig {$bridge:
ipaddr => $ipaddr,