Ignore disabled ports
This commit is contained in:
parent
9305972b51
commit
6676a58141
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ def search_ports(args):
|
|||
|
||||
if device['device']['disabled'] == "1": continue
|
||||
if port['disabled'] == "1": continue
|
||||
if port['deleted'] == "1": continue
|
||||
|
||||
print "=" * 80
|
||||
print_data("Device", device['device']['hostname'])
|
||||
|
|
Loading…
Reference in a new issue