diff options
author | 2022-02-06 10:05:53 -0500 | |
---|---|---|
committer | 2022-02-06 10:28:57 -0500 | |
commit | 2a546f93ac1c3686f099549fc88cd8bf2d39bd20 (patch) | |
tree | 46bf1012faa8f3a9b30789e82bdfc0831d88ab75 /platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-deactivate.xml | |
parent | 3163302061acd65bafb5a1f9ab954e467d858186 (diff) |
- Support for the Transport Slicing use-case to work with the updated YANG models
and ACTN PNC simulator.
- Mark service-instance as "Activated" and "Deactivated" accordingly when a slice
is getting activated or deactivated.
Issue-ID: SDNC-1665
Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com>
Change-Id: I185272d8b9e9c38729e2d687a854b3be9eac3cfd
Former-commit-id: b7aecf8c2e75f444d096f950cfdc0844610795aa
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-deactivate.xml')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-deactivate.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-deactivate.xml b/platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-deactivate.xml index 6f263361..3997add7 100644 --- a/platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-deactivate.xml +++ b/platform-logic/generic-resource-api/src/main/xml/trans_slicing/GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-deactivate.xml @@ -186,6 +186,13 @@ <parameter name='connectivity-id' value='`$tmp.aai.connectivity.connectivity-id`' />
<parameter name='operational-status' value='Deactivated' />
</update>
+ <update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance'
+ key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id
+ AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id
+ AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'>
+ <parameter name='service-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />
+ <parameter name='orchestration-status' value='Deactivated' />
+ </update>
</block>
</outcome>
</execute>
|