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
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
def __init__(self, node=None, nodeInfo=None, splitterRpaIp=None ): self.node=Node_Object.from_dict(node) self.nodeInfo=nodeInfo self.splitterRpaIp=splitterRpaIp
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)
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)
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)
def __init__(self, node=None, nodeInfo=None, splitterRpaIp=None): self.node = Node_Object.from_dict(node) self.nodeInfo = nodeInfo self.splitterRpaIp = splitterRpaIp