mirror of
https://github.com/xcat2/confluent.git
synced 2026-09-28 16:20:54 +00:00
Merge branch 'discovery' of github.com:jjohnson42/confluent into discovery
This commit is contained in:
@@ -120,7 +120,11 @@ def _map_switch_backend(args):
|
||||
# fallback if ifName is empty
|
||||
#
|
||||
global _macmap
|
||||
switch, password, user = args
|
||||
if len(args) == 3:
|
||||
switch, password, user = args
|
||||
else:
|
||||
switch, password = args
|
||||
user = None
|
||||
haveqbridge = False
|
||||
mactobridge = {}
|
||||
conn = snmp.Session(switch, password, user)
|
||||
|
||||
Reference in New Issue
Block a user