diff options
author | prakash.e <prakash.e@huawei.com> | 2019-04-17 15:37:12 +0530 |
---|---|---|
committer | prakash.e <prakash.e@huawei.com> | 2019-04-17 15:46:20 +0530 |
commit | 076e731b54f12469f049037c447bfacb7760ab73 (patch) | |
tree | d193681b137bb0437e01d522cb34e07d19ae74b6 /platform-logic/generic-resource-api/src/main/xml/sdwan | |
parent | 3bf2950cb32ae29638c196aa82459ac29590d88e (diff) |
updated generated vf-module-index parameter
vf-module-id is assigned with correct parameter
prop.vpn-vf-index since vf-module-id is NULL in
response
Change-Id: I39c4541996d9809aacecec70ac4e84da8011cb33
Issue-ID: SDNC-659
Signed-off-by: Prakash.E <prakash.e@huawei.com>
Former-commit-id: f6b4d96d8938241d95c0f75f28444231ff425eae
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/xml/sdwan')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-create.xml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-create.xml b/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-create.xml index 3e5e8d90..02a816bd 100644 --- a/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-create.xml +++ b/platform-logic/generic-resource-api/src/main/xml/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-create.xml @@ -98,7 +98,7 @@ <parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-index+1`' />
</set>
<set>
- <parameter name='vf-module-id' value='`$prop.site-vf-index`' />
+ <parameter name='vf-module-id' value='`$prop.vpn-vf-index`' />
<parameter name='vf-module-object-path' value="`'restconf/config/GENERIC-RESOURCE-API:services/service/'
+ $vf-module-topology-operation-input.service-information.service-instance-id
+ '/service-data/vnfs/vnf/'
@@ -128,7 +128,9 @@ <parameter name='sdwan-vpn-name' value='`$prop.name`' />
<parameter name='topology' value='`$prop.topology`' />
<parameter name='operational-status' value='Created' />
- <parameter name='model-customization-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' /><parameter name='model-invariant-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' /><parameter name='model-version-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' >
+ <parameter name='model-customization-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />
+ <parameter name='model-invariant-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />
+ <parameter name='model-version-id' value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' />
<parameter name='selflink' value="`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $vf-module-topology-operation-input.service-information.service-instance-id + '/service-data/vnfs/vnf/' + $service-data.vnfs.vnf[$vnf-index].vnf-id + '/vnf-data/vf-modules/vf-module/' + $prop.vpn-vf-index + '/vf-module-data/'` " />
</save>
<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='generic-vnf:relationship-list'
@@ -146,4 +148,4 @@ </return>
</block>
</method>
-</service-logic>
+</service-logic>
\ No newline at end of file |