diff options
author | 2018-08-02 10:50:02 +0530 | |
---|---|---|
committer | 2018-08-02 11:00:13 +0530 | |
commit | 38cd81d0c603227a14b1f5b57470015c998fe9e4 (patch) | |
tree | 8ae561d27389a413c6d20ccdcd7a26b0b6ec0674 /platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_sotn-network-topology-operation-create.xml | |
parent | b08903f327f974cacb6a97737f9f3911d779eaa9 (diff) |
Updates to SOTN DG
Updates include:
- Changes to support inter-domain.
- Changes wrt. AAI nodes and fields.
Change-Id: I50ed3553e792a382c534c72475afc666629320cc
Issue-ID: SDNC-356
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
Former-commit-id: 62b4fd6b216ec03288cd216b50803ba8c64a3c3b
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_sotn-network-topology-operation-create.xml')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_sotn-network-topology-operation-create.xml | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_sotn-network-topology-operation-create.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_sotn-network-topology-operation-create.xml index fa2547d3..446d8a19 100644 --- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_sotn-network-topology-operation-create.xml +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_sotn-network-topology-operation-create.xml @@ -172,33 +172,38 @@ <parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.last-rpc-action' value='`$network-topology-operation-input.sdnc-request-header.svc-action`' />
<parameter name='service-data.networks.network[$nidx].network-data.network-level-oper-status.last-action' value='`$network-topology-operation-input.request-information.request-action`' />
</set>
- <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='configuration'
- key='configuration.configuration-id = $prop.sotn.network-id' >
- <parameter name='configuration-id' value='`$prop.sotn.network-id`' />
- <parameter name='configuration-name' value='`$prop.sotn.client-svc-name`' />
- <parameter name='configuration-type' value='`$prop.sotn.client-svc-descr`' />
- <parameter name='configuration-sub-type' value='`$prop.sotn.tenantId`' />
- <parameter name='orchestration-status' value='`$prop.sotn.vpnType`' />
- <parameter name='management-option' value='`$prop.sotn.cir`' />
+ <save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity'
+ key='connectivity.connectivity-id = $prop.sotn.network-id' >
+ <parameter name='connectivity-id' value='`$prop.sotn.network-id`' />
+ <parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />
+ <parameter name='CIR' value='`$prop.sotn.cir`' />
+ <parameter name='EIR' value='`$prop.sotn.eir`' />
+ <parameter name='CBS' value='`$prop.sotn.cbs`' />
+ <parameter name='EBS' value='`$prop.sotn.ebs`' />
+ <parameter name='color-aware' value='`$prop.sotn.colorAware`' />
+ <parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />
+ <parameter name='access-provider-id' value='`$prop.sotn.access-provider-id`' />
+ <parameter name='access-client-id' value='`$prop.sotn.access-client-id`' />
+ <parameter name='access-topology-id' value='`$prop.sotn.access-topology-id`' />
+ <parameter name='access-node-id' value='`$prop.sotn.access-node-id`' />
+ <parameter name='access-ltp-id' value='`$prop.sotn.access-ltp-id`' />
+ <parameter name='cvlan-tag-entry' value='`$prop.sotn.cVLAN`' />
<parameter name='operational-status' value='Created' />
<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />
<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />
<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />
- <parameter name='configuration-selflink' value="`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` " />
+ <parameter name='connectivity-selflink' value="`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` " />
</save>
<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list'
key='service-instance.service-instance-id = $service-data.service-information.service-instance-id
AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id
AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type'
force="true" pfx="tmp.AnAI-data">
- <parameter name="relationship-list.relationship[0].related-to" value="configuration" />
- <parameter name="relationship-list.relationship[0].related-link" value="`'/network/configurations/configuration/' + $prop.sotn.network-id`" />
- <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="configuration.configuration-id" />
+ <parameter name="relationship-list.relationship[0].related-to" value="connectivity" />
+ <parameter name="relationship-list.relationship[0].related-link" value="`'/network/connectivities/connectivity/' + $prop.sotn.network-id`" />
+ <parameter name="relationship-list.relationship[0].relationship-data[0].relationship-key" value="connectivity.connectivity-id" />
<parameter name="relationship-list.relationship[0].relationship-data[0].relationship-value" value="`$prop.sotn.network-id`" />
</save>
- <set>
- <parameter name='unique-src-ltpId' value="`'nodeId-' + $prop.sotn.src-access-node-id + '-ltpId-' + $prop.sotn.src-access-ltp-id`" />
- </set>
<return status='success'>
<parameter name="ack-final-indicator" value="Y" />
<parameter name="error-code" value="200" />
|