コード例 #1
0
 def __init__(self, component):
     UISection.__init__(self, component, "Settings", "settingsButtonIcon")
     self.putChild("Controller", ControllerRes(self.component))
     dirRes = DirectoriesRes(self.component)
     self.putChild("Directories", dirRes)
     dirRes.putChild("DirectoryInfo", DirectoryInfoRes(self.component))
     self.putChild("CaptivePortal", CaptivePortalRes(self.component))
     self.putChild("DHCP", DhcpRes(self.component))
     self.putChild("Logs", LogRes(self.component))
コード例 #2
0
ファイル: settingsui.py プロジェクト: bigswitch/snac
 def __init__(self, component):
     UISection.__init__(self, component, "Settings", "settingsButtonIcon")
     self.putChild("Controller", ControllerRes(self.component))
     dirRes = DirectoriesRes(self.component)
     self.putChild("Directories", dirRes)
     dirRes.putChild("DirectoryInfo", DirectoryInfoRes(self.component))
     self.putChild("CaptivePortal", CaptivePortalRes(self.component))
     self.putChild("DHCP", DhcpRes(self.component))
     self.putChild("Logs", LogRes(self.component))
コード例 #3
0
ファイル: webservice_testui.py プロジェクト: pombreda/snac
 def __init__(self, component):
     UISection.__init__(self, component, "WebServiceTest")
コード例 #4
0
ファイル: reportsui.py プロジェクト: bigswitch/snac
 def __init__(self, component):
     UISection.__init__(self, component, "Reports", "reportsButtonIcon")
コード例 #5
0
ファイル: dbexplorerui.py プロジェクト: pombreda/snac
 def __init__(self, component, persistent):
     if persistent:
         self.dbname = "cdb"
     else:
         self.dbname = "ndb"
     UISection.__init__(self, component, self.dbname.upper() + "Explorer")
コード例 #6
0
ファイル: dbexplorerui.py プロジェクト: bigswitch/snac
 def __init__(self, component, persistent):
     if persistent:
         self.dbname = "cdb"
     else:
         self.dbname = "ndb"
     UISection.__init__(self, component, self.dbname.upper()+"Explorer")
コード例 #7
0
ファイル: reportsui.py プロジェクト: pombreda/snac
 def __init__(self, component):
     UISection.__init__(self, component, "Reports", "reportsButtonIcon")
コード例 #8
0
 def __init__(self, component):
     UISection.__init__(self, component, "PolicyDebug")
     self.policy = component.resolve(str(sepl.policy.PyPolicyComponent))
     self.dpsrc = self.inport = self.dlsrc = self.dldst = self.nwsrc = self.nwdst = ''
     self.args = ['nwdst', 'dldst', 'nwsrc', 'dlsrc', 'inport', 'dpsrc']
コード例 #9
0
 def __init__(self, component):
     UISection.__init__(self, component, "Policy", "policyButtonIcon")
     self.putChild("QuickSetup", QuickSetupRes(self.component))
     self.putChild("Rules", RulesRes(self.component))
     self.putChild("HostAuthRules", HostAuthRes(self.component))
     self.putChild("UserAuthRules", UserAuthRes(self.component))
コード例 #10
0
ファイル: helpui.py プロジェクト: bigswitch/snac
 def __init__(self, component):
     UISection.__init__(self, component, "Help", "helpButtonIcon")
コード例 #11
0
ファイル: restrackerui.py プロジェクト: bigswitch/snac
 def __init__(self, component):
     UISection.__init__(self, component, "ResTrackerDebug")
     self.rt = component.resolve(str(pyrestracker))