@@ -33,7 +33,7 @@ Create a new alarm subscription - DUPLICATION
...Applicability: the NFVO allows creating a subscription resource if another subscription resource with the same filter and callbackUri already exists
...Post-Conditions: none
Depends On TestCreate a new subscription
Pass Execution If${NFVO_DUPLICATION}== 0NVFO is not permitting duplication. Skipping the test
Pass Execution If${NFVO_ALLOWS_DUPLICATE_SUBS}== 0NVFO is not permitting duplication. Skipping the test
POST Subscription
Check HTTP Response Status Code Is201
Check HTTP Response Header ContainsLocation
...
...
@@ -49,7 +49,7 @@ Create a new alarm subscription - NO DUPLICATION
...Applicability: the NFVO decides to not create a duplicate subscription resource
...Post-Conditions: none
Depends On TestCreate a new subscription
Pass Execution If${NFVO_DUPLICATION}== 1NFVO permits duplication. Skipping the test
Pass Execution If${NFVO_ALLOWS_DUPLICATE_SUBS}== 1NFVO permits duplication. Skipping the test
"description":"This type represents a response for Query NS operation. It shall comply with the provisions defined in Table 6.5.2.10-1.\n",
"type":"object",
"required":[
...
...
@@ -12,69 +11,1484 @@
],
"properties":{
"id":{
"description":"Identifier of the NS instance.\n",
"$ref":"SOL005_def.yaml#/definitions/Identifier"
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"nsInstanceName":{
"description":"Human readable name of the NS instance.\n",
"type":"string"
},
"nsInstanceDescription":{
"description":"Human readable description of the NS instance.\n",
"type":"string"
},
"nsdId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"nsdInfoId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"flavourId":{
"description":"An identifier that is unique within a NS descriptor. Representation: string of variable length.\n",
"type":"string"
},
"vnfInstance":{
"description":"Information on constituent VNF(s) of the NS instance.\n",
"type":"array",
"items":{
"description":"This type represents a VNF instance.\n",
"type":"object",
"required":[
"id",
"vnfdId",
"vnfProvider",
"vnfProductName",
"vnfSoftwareVersion",
"vnfdVersion",
"vnfPkgId",
"instantiationState"
],
"properties":{
"id":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"vnfInstanceName":{
"description":"Name of the VNF instance. This attribute can be modified with the PATCH method.\n",
"type":"string"
},
"vnfInstanceDescription":{
"description":"Human-readable description of the VNF instance. This attribute can be modified with the PATCH method.\n",
"type":"string"
},
"vnfdId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"vnfProvider":{
"description":"Provider of the VNF and the VNFD. The value is copied from the VNFD.\n",
"type":"string"
},
"vnfProductName":{
"description":"Name to identify the VNF Product. The value is copied from the VNFD.\n",
"type":"string"
},
"vnfSoftwareVersion":{
"description":"A Version.\n",
"type":"string"
},
"vnfdVersion":{
"description":"A Version.\n",
"type":"string"
},
"vnfPkgId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"vnfConfigurableProperties":{
"description":"This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159. \n",
"type":"object"
},
"vimId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"instantiationState":{
"description":"The instantiation state of the VNF.\n",
"type":"string",
"enum":[
"NOT_INSTANTIATED",
"INSTANTIATED"
]
},
"instantiatedVnfInfo":{
"description":"Information specific to an instantiated VNF instance. This attribute shall be present if the instantiateState attribute value is INSTANTIATED.\n",
"type":"object",
"required":[
"flavourId",
"vnfState"
],
"properties":{
"flavourId":{
"description":"Identifier of the VNF Virtual Link Descriptor (VLD) in the VNFD.\n",
"type":"string"
},
"vnfState":{
"type":"string",
"enum":[
"STARTED",
"STOPPED"
]
},
"scaleStatus":{
"description":"Scale status of the VNF, one entry per aspect. Represents for every scaling aspect how \"big\" the VNF has been scaled w.r.t. that aspect.\n",
"type":"array",
"items":{
"required":[
"aspectId",
"scaleLevel"
],
"type":"object",
"properties":{
"aspectId":{
"description":"Identifier of the VNF Virtual Link Descriptor (VLD) in the VNFD.\n",
"type":"string"
},
"scaleLevel":{
"description":"Indicates the scale level. The minimum value shall be 0 and the maximum value shall be <= maxScaleLevel as described in the VNFD.\n",
"type":"integer"
}
}
}
},
"extCpInfo":{
"description":"Information about the external CPs exposed by the VNF instance.\n",
"type":"array",
"minItems":1,
"items":{
"type":"object",
"required":[
"id",
"cpdId"
],
"properties":{
"id":{
"description":"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
"type":"string"
},
"cpdId":{
"description":"Identifier of the VNF Virtual Link Descriptor (VLD) in the VNFD.\n",
"type":"string"
},
"cpProtocolInfo":{
"description":"Network protocol information for this CP.\n",
"type":"array",
"items":{
"description":"This type describes the protocol layer(s) that a CP or SAP uses together with protocol-related information, like addresses. It shall comply with the provisions defined in Table 6.5.3.58-1.\n",
"type":"object",
"required":[
"layerProtocol",
"ipOverEthernet"
],
"properties":{
"layerProtocol":{
"description":"The identifier of layer(s) and protocol(s) associated to the network address information. Permitted values: IP_OVER_ETHERNET See note.\n",
"type":"string",
"enum":[
"IP_OVER_ETHERNET"
]
},
"ipOverEthernet":{
"description":"This type represents information about a network address that has been assigned. It shall comply with the provisions defined in Table 6.5.3.18-1.\n",
"type":"object",
"required":[
"macAddress",
"ipAddresses",
"subnetId",
"addresses",
"addressRange"
],
"properties":{
"macAddress":{
"description":"A MAC address. Representation: string that consists of groups of two hexadecimal digits, separated by hyphens or colons.\n",
"type":"string",
"format":"MAC"
},
"ipAddresses":{
"description":"Addresses assigned to the CP instance. Each entry represents IP addresses assigned by fixed or dynamic IP address assignment per subnet.\n",
"type":"array",
"items":{
"type":"object",
"required":[
"type"
],
"properties":{
"type":{
"description":"The type of the IP addresses. Permitted values: IPV4, IPV6.\n",
"type":"string",
"enum":[
"IPV4",
"IPV6"
]
},
"addresses":{
"description":"Fixed addresses assigned (from the subnet defined by \"subnetId\" if provided).\n",
"type":"array",
"items":{
"description":"An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
"type":"string",
"format":"IP"
}
},
"isDynamic":{
"description":"Indicates whether this set of addresses was assigned dynamically (true) or based on address information provided as input from the API consumer (false). Shall be present if \"addresses\" is present and shall be absent otherwise.\n",
"type":"boolean"
},
"addressRange":{
"description":"An IP address range used, e.g., in case of egress connections. Exactly one of \"addresses\" or \"addressRange\" shall be present.\n",
"type":"object",
"required":[
"minAddress",
"maxAddress"
],
"properties":{
"minAddress":{
"description":"An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
"type":"string",
"format":"IP"
},
"maxAddress":{
"description":"An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
"type":"string",
"format":"IP"
}
}
},
"subnetId":{
"description":"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
"type":"string"
}
}
}
},
"type":{
"description":"The type of the IP addresses\n",
"type":"string",
"enum":[
"PV4",
"PV6"
]
},
"addresses":{
"description":"An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
"type":"string",
"format":"IP"
},
"isDynamic":{
"description":"Indicates whether this set of addresses was assigned dynamically (true) or based on address information provided as input from the API consumer (false). Shall be present if \"addresses\" is present and shall be absent otherwise.\n",
"type":"boolean"
},
"addressRange":{
"description":"An IP address range used, e.g. in case of egress connections. See note.\n",
"type":"object",
"required":[
"minAddress",
"maxAddress"
],
"properties":{
"minAddress":{
"description":"An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
"type":"string",
"format":"IP"
},
"maxAddress":{
"description":"An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
"type":"string",
"format":"IP"
}
}
},
"minAddress":{
"description":"An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
"type":"string",
"format":"IP"
},
"maxAddress":{
"description":"An IPV4 or IPV6 address. Representation: In case of an IPV4 address, string that consists of four decimal integers separated by dots, each integer ranging from 0 to 255. In case of an IPV6 address, string that consists of groups of zero to four hexadecimal digits, separated by colons.\n",
"type":"string",
"format":"IP"
},
"subnetId":{
"description":"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
"type":"string"
}
}
}
}
}
},
"extLinkPortId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
}
}
}
},
"extVirtualLinkInfo":{
"description":"Information about the external VLs the VNF instance is connected to.\n",
"type":"array",
"items":{
"type":"object",
"required":[
"id",
"resourceHandle"
],
"properties":{
"id":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"resourceHandle":{
"required":[
"vimConnectionId",
"resourceId"
],
"type":"object",
"description":"This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
"properties":{
"vimConnectionId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"resourceProviderId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"resourceId":{
"description":"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
"type":"string"
},
"vimLevelResourceType":{
"description":"Type of the resource in the scope of the VIM or the resource provider.\n",
"type":"string"
}
}
},
"extLinkPorts":{
"description":"Link ports of this VL.\n",
"type":"array",
"items":{
"description":"This type represents information about a link port of an external VL, i.e. a port providing connectivity for the VNF to an NS VL. \n",
"type":"object",
"required":[
"id",
"resourceHandle"
],
"properties":{
"id":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"resourceHandle":{
"required":[
"vimConnectionId",
"resourceId"
],
"type":"object",
"description":"This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
"properties":{
"vimConnectionId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"resourceProviderId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"resourceId":{
"description":"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
"type":"string"
},
"vimLevelResourceType":{
"description":"Type of the resource in the scope of the VIM or the resource provider.\n",
"type":"string"
}
}
},
"cpInstanceId":{
"description":"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
"type":"string"
}
}
}
}
}
}
},
"extManagedVirtualLinkInfo":{
"description":"External virtual links the VNF instance is connected to.\n",
"type":"array",
"items":{
"type":"object",
"required":[
"id",
"vnfVirtualLinkDescId"
],
"properties":{
"id":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"vnfVirtualLinkDescId":{
"description":"Identifier of the VNF Virtual Link Descriptor (VLD) in the VNFD.\n",
"type":"string"
},
"networkResource":{
"required":[
"vimConnectionId",
"resourceId"
],
"type":"object",
"description":"This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
"properties":{
"vimConnectionId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"resourceProviderId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"resourceId":{
"description":"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",
"type":"string"
},
"vimLevelResourceType":{
"description":"Type of the resource in the scope of the VIM or the resource provider.\n",
"type":"string"
}
}
},
"vnfLinkPorts":{
"description":"Link ports of this VL.\n",
"type":"array",
"items":{
"type":"object",
"required":[
"id",
"resourceHandle"
],
"properties":{
"id":{
"description":"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
"type":"string"
},
"resourceHandle":{
"required":[
"vimConnectionId",
"resourceId"
],
"type":"object",
"description":"This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM.\n",
"properties":{
"vimConnectionId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"resourceProviderId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"resourceId":{
"description":"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance.\n",