do not use abbrv 'show ip int' use 'show ip interfaces'
This commit is contained in:
1 parent
8228244ceb
commit
11b518fd24
7 files changed
+1
-1
No files matched your search
+1
-1
@@ -487,7 +487,7 @@ class S350Driver(NetworkDriver):
|
|||||||
def get_interfaces_ip(self):
|
def get_interfaces_ip(self):
|
||||||
"""Returns all configured interface IP addresses."""
|
"""Returns all configured interface IP addresses."""
|
||||||
interfaces = {}
|
interfaces = {}
|
||||||
show_ip_int = self._send_command("show ip int")
|
show_ip_int = self._send_command("show ip interface")
|
||||||
|
|
||||||
header = True # cycle trought header
|
header = True # cycle trought header
|
||||||
for line in show_ip_int.splitlines():
|
for line in show_ip_int.splitlines():
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user