summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/sotn-ethernet-service.json
blob: 582e88e3754b2b0f8b27145f78ef433e1170bda3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
    "ietf-eth-tran-service:etht-svc": {
        "globals": {
            "etht-svc-bandwidth-profiles": [
                {
                    "bandwidth-profile-name": ${prop.global.sotn.bandwidth-profile-name},
                    "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},
                    "coupling-flag": ${prop.global.sotn.couplingFlag}
                }
            ]
        },
        "etht-svc-instances": [
            {
                "etht-svc-name": ${prop.global.sotn.etht-svc-name},
                "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": "ietf-eth-tran-types:p2p-svc",
                "admin-status": "ietf-te-types:tunnel-state-up",
                "etht-svc-access-ports": [
                    {
                        "access-port-id": "0",
                        "access-node-id": ${oof.vpn.access-node-id},
                        "access-ltp-id": ${oof.vpn.src-access-ltp-id},
                        "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-node-id": ${oof.vpn.access-node-id},
                        "access-ltp-id": ${oof.vpn.dst-access-ltp-id},
                        "service-classification-type": "ietf-eth-tran-types:port-classification",
                        "ingress-egress-bandwidth-profile-name": ${prop.global.sotn.bandwidth-profile-name}
                    }
                ]
            }
        ]
    }
}