mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
addons: address: add dad handling module global
Upon ipv6_dad_handling_enabled module global parameter set to true, the address addon will handle ipv6 dad tentatives by either * set nodad when adding an ipv6 address * waiting for dad to finish or warn of a timeout This handling should be quick close to the ifupdown process.
This commit is contained in:
@ -187,6 +187,13 @@ class address(AddonWithIpBlackList, moduleBase):
|
|||||||
'enable_l3_iface_forwarding_checks'
|
'enable_l3_iface_forwarding_checks'
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
self.ipv6_dad_handling_enabled = utils.get_boolean_from_string(
|
||||||
|
policymanager.policymanager_api.get_module_globals(
|
||||||
|
self.__class__.__name__,
|
||||||
|
'ipv6_dad_handling_enabled'
|
||||||
|
),
|
||||||
|
default=False
|
||||||
|
)
|
||||||
|
|
||||||
self.default_mtu = str(self.__policy_get_default_mtu())
|
self.default_mtu = str(self.__policy_get_default_mtu())
|
||||||
self.default_mgmt_intf_mtu = self.__policy_get_mgmt_intf_mtu()
|
self.default_mgmt_intf_mtu = self.__policy_get_mgmt_intf_mtu()
|
||||||
|
Reference in New Issue
Block a user