diff options
author | 2017-09-27 21:08:48 +0530 | |
---|---|---|
committer | 2017-09-27 21:10:39 +0530 | |
commit | 1edee32aa30f6803289958a0110a6f899e54274c (patch) | |
tree | 541cc9a3b55801105929773fb02a7e5a3c925c02 /platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-network-input-parameters.xml | |
parent | c3e2005d4a8bc51460a8ad9661c8961ad8c6eaf4 (diff) |
Add DGs for VoLTE use case
Add network-topology-operation-delete sub DG for delete underlay L3VPN configuration
Change-Id: Iba9380aaf33f48116fa46a416efff34c130cfc52
Issue-Id: SDNC-27
Signed-off-by: Ramu N <ramu.n@huawei.com>
Former-commit-id: 6cb45a1f39166566d0229e4dba430223a9877141
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-network-input-parameters.xml')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-network-input-parameters.xml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-network-input-parameters.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-network-input-parameters.xml index e865258c..07d717a0 100644 --- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-network-input-parameters.xml +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-network-input-parameters.xml @@ -106,7 +106,20 @@ <parameter name="error-message" value="request-information.request-action is required to be CreateNetworkInstance for svc-action=assign" />
</return></outcome></switch></block></outcome><outcome value='deactivate'>
</outcome><outcome value='delete'>
-</outcome><outcome value='Other'>
+<block atomic="true"><outcome value='DeleteNetworkInstance'><block atomic="true"><for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >
+<block>
+<switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'name'`">
+<outcome value='true'>
+<switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`">
+<outcome value=''><return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="network-request-input.network-input-parameters.name is a required input" />
+</return></outcome></switch></outcome></switch></block></for></block></outcome><outcome value='Other'><return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="request-information.request-action is required to be CreateNetworkInstance for svc-action=assign" />
+</return></outcome></block></outcome><outcome value='Other'>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
<parameter name="error-code" value="500" />
|