Exemplo n.º 1
0
 def __init__(self,
     node=None,
     nodeInfo=None,
     sdsName=None,
     protectionDomain=None,
     faultSet=None,
     allIPs=None,
     sdsOnlyIPs=None,
     sdcOnlyIPs=None,
     devices=None,
     optimized=None,
     port=None
 ):
     self.node=Node_Object.from_dict(node)
     self.nodeInfo=nodeInfo
     self.sdsName=sdsName
     self.protectionDomain = protectionDomain
     self.faultSet=faultSet # Is this as easy as giving a string with a Faultset name??? (Its not documented)
     self.allIPs=[]
     for allIp in allIPs:
         self.allIPs.append(allIp)
     self.sdsOnlyIPs=[]
     if sdsOnlyIPs:
         for sdsOnlyIp in sdsOnlyIPs:
             self.sdsOnlyIPs.append(sdsOnlyIp)
     self.sdcOnlyIPs=[]
     if sdcOnlyIPs:
         for sdcOnlyIp in sdcOnlyIPs:
             self.sdcOnlyIPs.append(sdcOnlyIp)
     self.devices=[]
     if devices:
         for device in devices:
             self.devices.append(Sds_Device_Object.from_dict(device))
     self.optimized=optimized
     self.port=port
Exemplo n.º 2
0
 def __init__(self,
              node=None,
              nodeInfo=None,
              sdsName=None,
              protectionDomain=None,
              faultSet=None,
              allIPs=None,
              sdsOnlyIPs=None,
              sdcOnlyIPs=None,
              devices=None,
              optimized=None,
              port=None):
     self.node = Node_Object.from_dict(node)
     self.nodeInfo = nodeInfo
     self.sdsName = sdsName
     self.protectionDomain = protectionDomain
     self.faultSet = faultSet  # Is this as easy as giving a string with a Faultset name??? (Its not documented)
     self.allIPs = []
     for allIp in allIPs:
         self.allIPs.append(allIp)
     self.sdsOnlyIPs = []
     if sdsOnlyIPs:
         for sdsOnlyIp in sdsOnlyIPs:
             self.sdsOnlyIPs.append(sdsOnlyIp)
     self.sdcOnlyIPs = []
     if sdcOnlyIPs:
         for sdcOnlyIp in sdcOnlyIPs:
             self.sdcOnlyIPs.append(sdcOnlyIp)
     self.devices = []
     if devices:
         for device in devices:
             self.devices.append(Sds_Device_Object.from_dict(device))
     self.optimized = optimized
     self.port = port
Exemplo n.º 3
0
 def __init__(self,
     node=None,
     nodeInfo=None,
     splitterRpaIp=None
 ):
     self.node=Node_Object.from_dict(node)
     self.nodeInfo=nodeInfo
     self.splitterRpaIp=splitterRpaIp
Exemplo n.º 4
0
 def __init__(self,
     node=None,
     nodeInfo=None,
     tbIPs=None
 ):
     self.node=Node_Object.from_dict(node)
     self.nodeInfo=nodeInfo
     self.tbIPs=[]
     if tbIPs:
         for tbIp in tbIPs:
             self.tbIPs.append(tbIp)
Exemplo n.º 5
0
 def __init__(self,
              node=None,
              nodeInfo=None,
              managementIPs=None,
              mdmIPs=None):
     self.managementIPs = []
     if managementIPs:
         for mgmtIP in managementIPs:
             self.managementIPs.append(mgmtIP)
     self.node = Node_Object.from_dict(node)
     self.nodeInfo = nodeInfo
     self.mdmIPs = []
     if mdmIPs:
         for mdmIP in mdmIPs:
             self.mdmIPs.append(mdmIP)
Exemplo n.º 6
0
 def __init__(self,
     node=None,
     nodeInfo=None,
     managementIPs=None,
     mdmIPs = None
 ):
     self.managementIPs=[]
     if managementIPs:
         for mgmtIP in managementIPs:
             self.managementIPs.append(mgmtIP)
     self.node=Node_Object.from_dict(node)
     self.nodeInfo=nodeInfo
     self.mdmIPs = []
     if mdmIPs:
         for mdmIP in mdmIPs:
             self.mdmIPs.append(mdmIP)
Exemplo n.º 7
0
 def __init__(self, node=None, nodeInfo=None, splitterRpaIp=None):
     self.node = Node_Object.from_dict(node)
     self.nodeInfo = nodeInfo
     self.splitterRpaIp = splitterRpaIp