@@ -16,7 +16,7 @@ VNF Indicator Value Change Notification
...Test title: VNF Indicator Value Change Notification
...Test objective: The objective is to test the dispatch of VNF Indicator Value Change Notification when new indicator values are available in the VNF, and perform a JSON schema and content validation of the delivered notification. The action that triggers the notification under test is an explicit test step, but it is not performed by the test system.
...Pre-conditions: A VNF is instantiated, and a subscription for indicator value change notifications is available in the VNF.
...Reference: Clause 8.4.7.3.1 - ETSI GS NFV-SOL 002 [2] v3.6.1
...Reference: Clause 8.4.7.3.1 - ETSI GS NFV-SOL 002 [2] v4.3.1
...Test objective: The objective is to test the dispatch of Supported Indicators Change Notification when new indicator values are available in the VNF, and perform a JSON schema and content validation of the delivered notification. The action that triggers the notification under test is an explicit test step, but it is not performed by the test system.
...Pre-conditions: A VNF is instantiated, and a subscription for supported indicators change notifications is available in the VNF.
...Reference: Clause 8.4.7.3.1 - ETSI GS NFV-SOL 002 [2] v3.6.1
...Reference: Clause 8.4.7.3.1 - ETSI GS NFV-SOL 002 [2] v4.3.1
"description":"This type represents a VNF indicator value change notification.\n",
"VnfIndicatorValueChangeNotification":{
"description":"This type represents a VNF indicator value change notification. * NOTE:\tETSI GS NFV-SOL 001 specifies the structure and\n format of the VNFD based on TOSCA specifications.\n",
"type":"object",
"required":[
"id",
@@ -38,7 +39,7 @@
"type":"string"
},
"value":{
"description":"Provides the value of the VNF indicator. The value format is defined in the VNFD. \n",
"description":"Provides the value of the VNF indicator. The value format is defined in the VNFD. See note.\n",
"type":"object"
},
"vnfInstanceId":{
@@ -54,30 +55,118 @@
],
"properties":{
"vnfInstance":{
"description":"This type represents a link to a resource.\n",
"description":"This type represents a link to a resource using an absolute URI.\n",
"type":"object",
"required":[
"href"
],
"properties":{
"href":{
"description":"URI of the referenced resource.\n",
"type":"string",
"format":"url"
"description":"String formatted according to IETF RFC 3986.\n",
"type":"string"
}
}
},
"subscription":{
"description":"This type represents a link to a resource.\n",
"description":"This type represents a link to a resource using an absolute URI.\n",
"type":"object",
"required":[
"href"
],
"properties":{
"href":{
"description":"URI of the referenced resource.\n",
"description":"String formatted according to IETF RFC 3986.\n",
"type":"string"
}
}
}
}
}
}
},
"SupportedIndicatorsChangeNotification":{
"description":"This type represents a notification to inform the receiver that the set of indicators\nsupported by a VNF instance has changed.\n* NOTE:\tETSI GS NFV-SOL 001 specifies the structure and\n format of the VNFD based on TOSCA specifications.\n",
"type":"object",
"required":[
"id",
"notificationType",
"subscriptionId",
"timeStamp",
"vnfInstanceId"
],
"properties":{
"id":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"notificationType":{
"description":"Discriminator for the different notification types. Shall be set to \"SupportedIndicatorsChangeNotification\"\nfor this notification type.\n",
"type":"string"
},
"subscriptionId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"timeStamp":{
"description":"Date-time stamp. Representation: String formatted according to IETF RFC 3339.\n",
"type":"string",
"format":"url"
"format":"date-time"
},
"vnfInstanceId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"supportedIndicators":{
"description":"Set of VNF indicators supported by the VNF instance.\n",
"type":"array",
"items":{
"type":"object",
"required":[
"vnfIndicatorId"
],
"properties":{
"vnfIndicatorId":{
"description":"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
"type":"string"
},
"name":{
"description":"Human readable name of the VNF indicator. Shall be present if defined in the VNFD.\nSee note.\n",
"type":"string"
}
}
}
},
"_links":{
"description":"Links for this resource.\n",
"type":"object",
"required":[
"subscription"
],
"properties":{
"vnfInstance":{
"description":"This type represents a link to a resource in a notification, using an absolute or relative URI.\n",
"type":"object",
"required":[
"href"
],
"properties":{
"href":{
"description":"String formatted according to IETF RFC 3986.\n",
"type":"string"
}
}
},
"subscription":{
"description":"This type represents a link to a resource in a notification, using an absolute or relative URI.\n",
"type":"object",
"required":[
"href"
],
"properties":{
"href":{
"description":"String formatted according to IETF RFC 3986.\n",