Browse Source
Response information was added to Individual Subscription. Added data is supported in POST Subscription patch. So, we added UT test code for supporting this API and updated inc file to include the additional response parameters. Implements: blueprint support-fundamental-lcm Spec: https://specs.openstack.org/openstack/tacker-specs/specs/wallaby/support-fundamental-vnf-lcm-based-on-ETSI-NFV.html Change-Id: I6e5d10a68b34f5e78e6d56d2aba5646b272e54d0changes/26/774526/21
6 changed files with 172 additions and 16 deletions
@ -1,14 +1,52 @@
|
||||
{ |
||||
"id": "76057f8e65ab37fb82d9382dfc3f3c8b", |
||||
"filter": { |
||||
"notificationTypes": [ |
||||
"VnfLcmOperationOccurrenceNotification" |
||||
] |
||||
}, |
||||
"callbackUri": "http://sample1.com/notification", |
||||
"_links": { |
||||
"self": { |
||||
"href": "https://sample1.com/vnflcm/v1/subscriptions/76057f8e65ab37fb82d9382dfc3f3c8b" |
||||
} |
||||
} |
||||
{ |
||||
"id": "76057f8e65ab37fb82d9382dfc3f3c8b", |
||||
"filter": { |
||||
"vnfInstanceSubscriptionFilter": { |
||||
"vnfdIds": [], |
||||
"vnfProductsFromProviders": { |
||||
"vnfProvider": "Vnf Provider 1", |
||||
"vnfProducts": [ |
||||
{ |
||||
"vnfProductName": "Vnf Product 1", |
||||
"versions": [ |
||||
{ |
||||
"vnfSoftwareVersion": "v1", |
||||
"vnfdVersions": [ |
||||
"vnfd.v1.1" |
||||
] |
||||
} |
||||
] |
||||
} |
||||
] |
||||
} |
||||
}, |
||||
"notificationTypes": [ |
||||
"VnfLcmOperationOccurrenceNotification", |
||||
"VnfIdentifierCreationNotification", |
||||
"VnfIdentifierDeletionNotification" |
||||
], |
||||
"operationTypes": [ |
||||
"INSTANTIATE", |
||||
"SCALE", |
||||
"TERMINATE", |
||||
"HEAL", |
||||
"CHANGE_EXT_CONN", |
||||
"MODIFY_INFO" |
||||
], |
||||
"operationStates": [ |
||||
"STARTING", |
||||
"PROCESSING", |
||||
"COMPLETED", |
||||
"FAILED_TEMP", |
||||
"FAILED", |
||||
"ROLLING_BACK", |
||||
"ROLLED_BACK" |
||||
] |
||||
}, |
||||
"callbackUri": "http://sample1.com/notification", |
||||
"_links": { |
||||
"self": { |
||||
"href": "https://sample1.com/vnflcm/v1/subscriptions/76057f8e65ab37fb82d9382dfc3f3c8b" |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue