summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates
diff options
context:
space:
mode:
authorgaurav <gaurav.agrawal@huawei.com>2018-08-10 12:37:02 +0530
committergaurav <gaurav.agrawal@huawei.com>2018-08-10 12:37:02 +0530
commit56062fd7dcc091cb38569302b7171b1956a48c1d (patch)
treed6f129cb785d4a83d76fd7d7dbcc1e149d9c501c /platform-logic/restapi-templates
parentb324322c4d885c45e6cb0843ed769203969ac041 (diff)
SOTN DG to support EPL
Updates include: - Template changes to support EPL - Changes wrt. parameter names Change-Id: I016adb31b9c6ad043a43468cec198d4336bb96a1 Issue-ID: SDNC-356 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com> Former-commit-id: a2c96f67d1e799f8f762fb14be3744a03649869a
Diffstat (limited to 'platform-logic/restapi-templates')
-rw-r--r--platform-logic/restapi-templates/src/main/json/sotn-ethernet-service.json22
1 files changed, 7 insertions, 15 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/sotn-ethernet-service.json b/platform-logic/restapi-templates/src/main/json/sotn-ethernet-service.json
index b5a371a3..ab8aaae7 100644
--- a/platform-logic/restapi-templates/src/main/json/sotn-ethernet-service.json
+++ b/platform-logic/restapi-templates/src/main/json/sotn-ethernet-service.json
@@ -24,7 +24,7 @@
"etht-svc-bandwidth-profiles": [
{
"bandwidth-profile-name": ${prop.global.sotn.bandwidth-profile-name},
- "bandwidth-profile-type": "mef-10-bwp",
+ "bandwidth-profile-type": "ietf-eth-tran-types:mef-10-bwp",
"CIR": ${prop.global.sotn.cir},
"EIR": ${prop.global.sotn.eir},
"color-aware": ${prop.global.sotn.colorAware},
@@ -38,29 +38,21 @@
"access-provider-id": ${oof.vpn.access-provider-id},
"access-client-id": ${oof.vpn.access-client-id},
"access-topology-id": ${oof.vpn.access-topology-id},
- "etht-svc-type": "p2p-svc",
- "admin-status": "tunnel-state-up",
+ "etht-svc-type": "ietf-eth-tran-types:p2p-svc",
+ "admin-status": "ietf-te-types:tunnel-state-up",
"etht-svc-access-ports": [
{
- "access-port-id": 0,
+ "access-port-id": "0",
"access-node-id": ${oof.vpn.access-node-id},
"access-ltp-id": ${oof.vpn.src-access-ltp-id},
- "service-classification-type": "vlan-classification",
- "outer-tag": {
- "tag-type": "classify-c-vlan",
- "vlan-value": ${prop.connection-attachment.cVLAN}
- },
+ "service-classification-type": "ietf-eth-tran-types:port-classification",
"ingress-egress-bandwidth-profile-name": ${prop.global.sotn.bandwidth-profile-name}
},
{
- "access-port-id": 1,
+ "access-port-id": "1",
"access-node-id": ${oof.vpn.access-node-id},
"access-ltp-id": ${oof.vpn.dst-access-ltp-id},
- "service-classification-type": "vlan-classification",
- "outer-tag": {
- "tag-type": "classify-c-vlan",
- "vlan-value": ${prop.connection-attachment.cVLAN}
- },
+ "service-classification-type": "ietf-eth-tran-types:port-classification",
"ingress-egress-bandwidth-profile-name": ${prop.global.sotn.bandwidth-profile-name}
}
]