summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates
diff options
context:
space:
mode:
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}
}
]