コード例 #1
0
 def __init__(self, json_struct=None):
     self._extensions = KeyedArrayType(ExtensionsSpec,
                                       'extensionsSpecification')
     self.uuid = ""
     self.name = KeyedArrayType(NameAndValue, 'valueName')
     self.label = KeyedArrayType(NameAndValue, 'valueName')
     super(GlobalClass, self).__init__(json_struct)
コード例 #2
0
ファイル: contextSchema.py プロジェクト: 5G-Crosshaul/COP
 def __init__(self, json_struct=None):
     self.provider = False
     self.contextId = ""
     self.parentContext = ""
     self.serviceEndpoint = KeyedArrayType(ServiceEndpoint, 'endpointId')
     self.topology = KeyedArrayType(Topology, 'topologyId')
     super(ContextSchema, self).__init__(json_struct)
コード例 #3
0
 def __init__(self, json_struct=None):
     self.topologyId = ""
     self.underlayTopology = ArrayType.factory(str)
     self.nodes = KeyedArrayType(Node, 'nodeId')
     self.edges = KeyedArrayType((WirelessEdge, EthEdge, DwdmEdge),
                                 'edgeId', 'edgeType')
     super(Topology, self).__init__(json_struct)
コード例 #4
0
 def __init__(self, json_struct=None):
     self.uuid = ""
     self._extensions = KeyedArrayType(ExtensionsSpec,
                                       'extensionsSpecification')
     self._topology = ArrayType.factory(str)
     self.name = KeyedArrayType(NameAndValue, 'valueName')
     self.label = KeyedArrayType(NameAndValue, 'valueName')
     super(_nwTopologyServiceSchema, self).__init__(json_struct)
コード例 #5
0
 def __init__(self, json_struct=None):
     self._telink = KeyedArrayType(TeLink, 'localId')
     self.uuid = ""
     self._routingConstraint = RoutingConstraint()  #import
     self.label = KeyedArrayType(NameAndValue, 'valueName')
     self._extensions = KeyedArrayType(ExtensionsSpec,
                                       'extensionsSpecification')
     self.name = KeyedArrayType(NameAndValue, 'valueName')
     super(_pathSchema, self).__init__(json_struct)
コード例 #6
0
 def __init__(self, json_struct=None):
     self.direction=Direction(0)
     self.uuid=""
     self._layerProtocol=KeyedArrayType(LayerProtocol, 'localId')
     self._state=LifecycleStatePac() #import
     self.label=KeyedArrayType(NameAndValue, 'valueName')
     self._extensions=KeyedArrayType(ExtensionsSpec, 'extensionsSpecification')
     self.name=KeyedArrayType(NameAndValue, 'valueName')
     super(_serviceEndPointSchema, self).__init__(json_struct)
コード例 #7
0
 def __init__(self, json_struct=None):
     self.layerProtocolName = ArrayType.factory(str)
     self.uuid = ""
     self._link = KeyedArrayType(Link, 'uuid')
     self.label = KeyedArrayType(NameAndValue, 'valueName')
     self._node = KeyedArrayType(Node, 'uuid')
     self._extensions = KeyedArrayType(ExtensionsSpec,
                                       'extensionsSpecification')
     self.name = KeyedArrayType(NameAndValue, 'valueName')
     super(_topologySchema, self).__init__(json_struct)
コード例 #8
0
 def __init__(self, json_struct=None):
     self._servicePort = KeyedArrayType(VirtualNetworkServicePort,
                                        'localId')
     self.layerProtocolName = ArrayType.factory(str)
     self._schedule = TimeRange()  #import
     self._vnwConstraint = KeyedArrayType(VirtualNetworkConstraint,
                                          'localId')
     self._state = AdminStatePac()  #import
     self._topology = ""
     super(VirtualNetworkService, self).__init__(json_struct)
コード例 #9
0
 def __init__(self, json_struct=None):
     self.requestedCapacity = Capacity()  #import
     self.latencyCharacteristic = KeyedArrayType(LatencyCharacteristic,
                                                 'trafficPropertyName')
     self._srcServiceEndPoint = ""
     self.serviceLevel = ""
     self.costCharacteristic = KeyedArrayType(CostCharacteristic,
                                              'costName')
     self.serviceLayer = ArrayType.factory(str)
     self._diversityExclusion = ArrayType.factory(str)
     self._sinkServiceEndPoint = ""
     super(VirtualNetworkConstraint, self).__init__(json_struct)
コード例 #10
0
 def __init__(self, json_struct=None):
     self._servicePort = KeyedArrayType(PathCompServicePort, 'localId')
     self.uuid = ""
     self._routingConstraint = RoutingConstraint()  #import
     self._optimizationConstraint = PathOptimizationConstraint()  #import
     self.label = KeyedArrayType(NameAndValue, 'valueName')
     self._extensions = KeyedArrayType(ExtensionsSpec,
                                       'extensionsSpecification')
     self._path = ArrayType.factory(str)
     self._objectiveFunction = PathObjectiveFunction()  #import
     self.name = KeyedArrayType(NameAndValue, 'valueName')
     super(_pathCompServiceSchema, self).__init__(json_struct)
コード例 #11
0
 def __init__(self, json_struct=None):
     self.pathLayer = ArrayType.factory(str)
     self._excludePath = KeyedArrayType(TeLink, 'localId')
     self._includePath = KeyedArrayType(TeLink, 'localId')
     self.requestedCapacity = Capacity()  #import
     self.costCharacteristic = KeyedArrayType(CostCharacteristic,
                                              'costName')
     self._avoidTopology = ArrayType.factory(str)
     self.latencyCharacteristic = KeyedArrayType(LatencyCharacteristic,
                                                 'trafficPropertyName')
     self.serviceLevel = ""
     self._includeTopology = ArrayType.factory(str)
     super(RoutingConstraint, self).__init__(json_struct)
コード例 #12
0
 def __init__(self, json_struct=None):
     self.name = KeyedArrayType(NameAndValue, 'valueName')
     self._notification = KeyedArrayType(Notification, 'uuid')
     self._subscriptionFilter = SubscriptionFilter()  #import
     self.subscriptionState = Subscriptionstate(0)
     self._notificationChannel = NotificationChannel()  #import
     self.supportedObjectTypes = ArrayType.factory(str)
     self.label = KeyedArrayType(NameAndValue, 'valueName')
     self.supportedNotificationTypes = ArrayType.factory(str)
     self._extensions = KeyedArrayType(ExtensionsSpec,
                                       'extensionsSpecification')
     self.uuid = ""
     super(_notifSubscriptionSchema, self).__init__(json_struct)
コード例 #13
0
 def __init__(self, json_struct=None):
     self.direction = Direction(0)
     self.layerProtocolName = Layerprotocolname(0)
     self._route = KeyedArrayType(Route, 'localId')
     self.uuid = ""
     self._connectionPort = KeyedArrayType(ConnectionPort, 'localId')
     self._state = OperationalStatePac()  #import
     self.label = KeyedArrayType(NameAndValue, 'valueName')
     self._node = ""
     self._extensions = KeyedArrayType(ExtensionsSpec,
                                       'extensionsSpecification')
     self.name = KeyedArrayType(NameAndValue, 'valueName')
     super(_connectionSchema, self).__init__(json_struct)
コード例 #14
0
 def __init__(self, json_struct=None):
     self.additionalInfo = KeyedArrayType(NameAndValue, 'valueName')
     self.layerProtocolName = Layerprotocolname(0)
     self.changedAttributes = ArrayType.factory(NameAndValueChange)
     self.sequenceNumber = ""
     self.targetObjectIdentifier = ""
     self.additionalText = ""
     self.notificationType = Notificationtype(0)
     self.targetObjectType = Targetobjecttype(0)
     self.sourceIndicator = Sourceindicator(0)
     self.eventTimeStamp = ""
     self.targetObjectName = KeyedArrayType(NameAndValue, 'valueName')
     super(Notification, self).__init__(json_struct)
コード例 #15
0
 def __init__(self, json_struct=None):
     self._connection = ArrayType.factory(str)
     self._servicePort = KeyedArrayType(ConnectivityServicePort, 'localId')
     self.direction = Direction(0)
     self.layerProtocolName = Layerprotocolname(0)
     self.uuid = ""
     self.name = KeyedArrayType(NameAndValue, 'valueName')
     self._state = AdminStatePac()  #import
     self.label = KeyedArrayType(NameAndValue, 'valueName')
     self._extensions = KeyedArrayType(ExtensionsSpec,
                                       'extensionsSpecification')
     self._connConstraint = ConnectivityConstraint()  #import
     self._schedule = TimeRange()  #import
     super(_connectivityServiceSchema, self).__init__(json_struct)
コード例 #16
0
 def __init__(self, json_struct=None):
     self._servicePort = KeyedArrayType(VirtualNetworkServicePort,
                                        'localId')
     self.layerProtocolName = ArrayType.factory(str)
     self.uuid = ""
     self.name = KeyedArrayType(NameAndValue, 'valueName')
     self._vnwConstraint = KeyedArrayType(VirtualNetworkConstraint,
                                          'localId')
     self._state = AdminStatePac()  #import
     self._topology = ""
     self.label = KeyedArrayType(NameAndValue, 'valueName')
     self._extensions = KeyedArrayType(ExtensionsSpec,
                                       'extensionsSpecification')
     self._schedule = TimeRange()  #import
     super(_vnwServiceSchema, self).__init__(json_struct)
コード例 #17
0
 def __init__(self, json_struct=None):
     self._connection = KeyedArrayType(_connectionSchema, 'uuid')
     self._notification = KeyedArrayType(Notification, 'uuid')
     self._vnwService = KeyedArrayType(VirtualNetworkService, 'uuid')
     self._topology = KeyedArrayType(_topologySchema, 'uuid')
     self._notifSubscription = KeyedArrayType(
         NotificationSubscriptionService, 'uuid')
     self._serviceEndPoint = KeyedArrayType(_serviceEndPointSchema, 'uuid')
     self._pathCompService = KeyedArrayType(_pathCompServiceSchema, 'uuid')
     self._nwTopologyService = KeyedArrayType(_nwTopologyServiceSchema,
                                              'uuid')  #import
     self._connectivityService = KeyedArrayType(_connectivityServiceSchema,
                                                'uuid')
     self._path = KeyedArrayType(_pathSchema, 'uuid')
     super(ContextSchema, self).__init__(json_struct)
コード例 #18
0
 def __init__(self, json_struct=None):
     self._layerProtocol = KeyedArrayType(LayerProtocol, 'localId')
     self.direction = Direction(0)
     self._state = AdminStatePac()  #import
     self._clientNodeEdgePoint = ArrayType.factory(str)
     self._mappedServiceEndPoint = ArrayType.factory(str)
     super(NodeEdgePoint, self).__init__(json_struct)
コード例 #19
0
 def __init__(self, json_struct=None):
     self._routingConstraint = RoutingConstraint()  #import
     self._servicePort = KeyedArrayType(PathCompServicePort, 'localId')
     self._objectiveFunction = PathObjectiveFunction()  #import
     self._optimizationConstraint = PathOptimizationConstraint()  #import
     self._path = ArrayType.factory(str)
     super(PathComputationService, self).__init__(json_struct)
コード例 #20
0
 def __init__(self, json_struct=None):
     self.multiLayer=False
     self.topoComponents=KeyedArrayType(ServiceEndpoint, 'endpointId')
     self.id=""
     self.noPath=False
     self.label=Label() #import
     super(PathType, self).__init__(json_struct)
 def __init__(self, json_struct=None):
     self._notification = KeyedArrayType(Notification, 'uuid')
     self._subscriptionFilter = SubscriptionFilter()  #import
     self.subscriptionState = Subscriptionstate(0)
     self._notificationChannel = NotificationChannel()  #import
     self.supportedObjectTypes = ArrayType.factory(str)
     self.supportedNotificationTypes = ArrayType.factory(str)
     super(NotificationSubscriptionService, self).__init__(json_struct)
コード例 #22
0
 def __init__(self, json_struct=None):
     self.direction=Direction(0)
     self._clientNodeEdgePoint=ArrayType.factory(str)
     self._serverNodeEdgePoint=""
     self._state=OperationalStatePac() #import
     self._peerConnectionEndPoint=""
     self._layerProtocol=KeyedArrayType(LayerProtocol, 'localId')
     super(ConnectionEndPoint, self).__init__(json_struct)
コード例 #23
0
 def __init__(self, json_struct=None):
     self._connection = ArrayType.factory(str)
     self._servicePort = KeyedArrayType(ConnectivityServicePort, 'localId')
     self.direction = Direction(0)
     self.layerProtocolName = Layerprotocolname(0)
     self._schedule = TimeRange()  #import
     self._state = AdminStatePac()  #import
     self._connConstraint = ConnectivityConstraint()  #import
     super(ConnectivityService, self).__init__(json_struct)
コード例 #24
0
 def __init__(self, json_struct=None):
     self.contextId=""
     self.operStatus=Operstatus(0)
     self.callId=""
     self.zEnd=ServiceEndpoint() #import
     self.connections=KeyedArrayType(Connection, 'connectionId')
     self.trafficParams=TrafficParams() #import
     self.aEnd=ServiceEndpoint() #import
     self.transportLayer=TransportLayerType() #import
     self.match=MatchRules() #import
     super(Call, self).__init__(json_struct)
コード例 #25
0
 def __init__(self, json_struct=None):
     self.layerProtocolName = ArrayType.factory(str)
     self._state = AdminStatePac()  #import
     self._transferTiming = TransferTimingPac()  #import
     self._ownedNodeEdgePoint = KeyedArrayType(NodeEdgePoint, 'uuid')
     self._encapTopology = ""
     self._transferCapacity = TransferCapacityPac()  #import
     self._transferCost = TransferCostPac()  #import
     self._aggregatedNodeEdgePoint = ArrayType.factory(str)
     self._transferIntegrity = TransferIntegrityPac()  #import
     super(Node, self).__init__(json_struct)
コード例 #26
0
 def __init__(self, json_struct=None):
     self.direction=""
     self.layerProtocolName=ArrayType.factory(str)
     self._transferCapacity=TransferCapacityPac() #import
     self._state=AdminStatePac() #import
     self._linkPort=KeyedArrayType(LinkPort, 'localId')
     self._node=ArrayType.factory(str)
     self._transferIntegrity=TransferIntegrityPac() #import
     self._lpTransition=LayerProtocolTransitionPac() #import
     self._transferCost=TransferCostPac() #import
     self._riskParameter=RiskParameterPac() #import
     self._transferTiming=TransferTimingPac() #import
     self._validation=ValidationPac() #import
     super(Link, self).__init__(json_struct)
コード例 #27
0
 def __init__(self, json_struct=None):
     self.latencyCharacteristic = KeyedArrayType(LatencyCharacteristic,
                                                 'trafficPropertyName')
     super(TransferTimingPac, self).__init__(json_struct)
コード例 #28
0
 def __init__(self, json_struct=None):
     self.costCharacteristic = KeyedArrayType(CostCharacteristic,
                                              'costName')
     super(TransferCostPac, self).__init__(json_struct)
コード例 #29
0
 def __init__(self, json_struct=None):
     self.connection = KeyedArrayType(Connection, 'connectionId')
     super(ConnectionsSchema, self).__init__(json_struct)
コード例 #30
0
ファイル: callsSchema.py プロジェクト: 5G-Crosshaul/COP
 def __init__(self, json_struct=None):
     self.call = KeyedArrayType(Call, 'callId')
     super(CallsSchema, self).__init__(json_struct)