|
|
@ -2408,6 +2408,7 @@ class LinuxNetwork(Network):
|
|
|
|
features[key.strip().replace('-','_')] = value.strip()
|
|
|
|
features[key.strip().replace('-','_')] = value.strip()
|
|
|
|
return features
|
|
|
|
return features
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class GenericBsdIfconfigNetwork(Network):
|
|
|
|
class GenericBsdIfconfigNetwork(Network):
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
This is a generic BSD subclass of Network using the ifconfig command.
|
|
|
|
This is a generic BSD subclass of Network using the ifconfig command.
|
|
|
@ -2415,9 +2416,6 @@ class GenericBsdIfconfigNetwork(Network):
|
|
|
|
- interfaces (a list of interface names)
|
|
|
|
- interfaces (a list of interface names)
|
|
|
|
- interface_<name> dictionary of ipv4, ipv6, and mac address information.
|
|
|
|
- interface_<name> dictionary of ipv4, ipv6, and mac address information.
|
|
|
|
- all_ipv4_addresses and all_ipv6_addresses: lists of all configured addresses.
|
|
|
|
- all_ipv4_addresses and all_ipv6_addresses: lists of all configured addresses.
|
|
|
|
It currently does not define
|
|
|
|
|
|
|
|
- default_ipv4 and default_ipv6
|
|
|
|
|
|
|
|
- type, mtu and network on interfaces
|
|
|
|
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
platform = 'Generic_BSD_Ifconfig'
|
|
|
|
platform = 'Generic_BSD_Ifconfig'
|
|
|
|
|
|
|
|
|
|
|
@ -2630,6 +2628,7 @@ class GenericBsdIfconfigNetwork(Network):
|
|
|
|
for item in ifinfo[ip_type][0].keys():
|
|
|
|
for item in ifinfo[ip_type][0].keys():
|
|
|
|
defaults[item] = ifinfo[ip_type][0][item]
|
|
|
|
defaults[item] = ifinfo[ip_type][0][item]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class HPUXNetwork(Network):
|
|
|
|
class HPUXNetwork(Network):
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
HP-UX-specifig subclass of Network. Defines networking facts:
|
|
|
|
HP-UX-specifig subclass of Network. Defines networking facts:
|
|
|
|