Add support for NetBSD network fact (#18113)

Like hostname, it use the same interface as FreeBSD so
we bascailly reuse the same code. Only tested on NetBSD 7.
pull/18056/merge
Michael Scherer 8 years ago committed by jctanner
parent 9a5be38a22
commit 492da6ce71

@ -2876,6 +2876,13 @@ class OpenBSDNetwork(GenericBsdIfconfigNetwork):
def parse_lladdr_line(self, words, current_if, ips):
current_if['macaddress'] = words[1]
class NetBSDNetwork(GenericBsdIfconfigNetwork):
"""
This is the NetBSD Network Class.
It uses the GenericBsdIfconfigNetwork
"""
platform = 'NetBSD'
class SunOSNetwork(GenericBsdIfconfigNetwork):
"""
This is the SunOS Network Class.

Loading…
Cancel
Save