Commit 11707576 by Brian Coca

fix for AIX network facts

fixes #12434
parent d7b61db6
...@@ -2355,7 +2355,7 @@ class AIXNetwork(GenericBsdIfconfigNetwork, Network): ...@@ -2355,7 +2355,7 @@ class AIXNetwork(GenericBsdIfconfigNetwork, Network):
return interface['v4'], interface['v6'] return interface['v4'], interface['v6']
# AIX 'ifconfig -a' does not have three words in the interface line # AIX 'ifconfig -a' does not have three words in the interface line
def get_interfaces_info(self, ifconfig_path, ifconfig_options): def get_interfaces_info(self, ifconfig_path, ifconfig_options='-a'):
interfaces = {} interfaces = {}
current_if = {} current_if = {}
ips = dict( ips = dict(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment