summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcode/vlanscrape5
1 files changed, 3 insertions, 2 deletions
diff --git a/code/vlanscrape b/code/vlanscrape
index 44411fc..56b8b0a 100755
--- a/code/vlanscrape
+++ b/code/vlanscrape
@@ -157,7 +157,8 @@ def check_out_vs_dst(hostName, vlanList):
outFile = outputDir + "/" + hostName
outList = []
if (len(vlanList) == 1) and ("none" in vlanList[0]):
- print "no vlans in", hostName
+ #print "no vlans in", hostName
+ pass
else:
for l in sorted(vlanList, key=lambda x: int(x[0])):
o=''
@@ -217,7 +218,7 @@ def is_juniper(hostName):
elif "unset" in model:
print "Model info missing for", hostName, "- skipping"
else:
- print "model not recognized, skipping"
+ print "model", model, "not recognized, skipping:", hostName
try: