[ONOS-5805] MEF SCA REST API app for CE App
Migrating MEF SCA API translation app to onos-app-samples.
- Originally developed mainly by Konstantinos Kanonakis <kanonakisk@gmail.com>
Change-Id: Ibf9f9e60c4dcd6375dd135a2f2c7714e3cd7d127
diff --git a/mef-sca-api/examples/sca-elan-create-example.json b/mef-sca-api/examples/sca-elan-create-example.json
new file mode 100644
index 0000000..feeba4c
--- /dev/null
+++ b/mef-sca-api/examples/sca-elan-create-example.json
@@ -0,0 +1,54 @@
+{
+ "evcServiceType": "Multipoint_To_Multipoint",
+ "evcCfgIdentifier": "ELAN1",
+ "SCA_ETH_Flow_Points": [
+ {
+ "evcPerUniCfgIdentifier": "ELAN1-UNI1",
+ "scaEthFppUniN": {
+ "transportPort": {
+ "CLLI": "CPqD-1-1",
+ "Hostname": "of:0000000000000001",
+ "Port": "1"
+ },
+ "interfaceCfgIdentifier": "uni1",
+ "interfaceCfgIngressBwp": {
+ "bwpCfgIdentifier": "",
+ "bwpCfgCir": 2000000,
+ "bwpCfgCbs": 2000
+ }
+ }
+ },
+ {
+ "evcPerUniCfgIdentifier": "ELAN1-UNI2",
+ "scaEthFppUniN": {
+ "transportPort": {
+ "CLLI": "CPqD-2-1",
+ "Hostname": "of:0000000000000002",
+ "Port": "1"
+ },
+ "interfaceCfgIdentifier": "uni2",
+ "interfaceCfgIngressBwp": {
+ "bwpCfgIdentifier": "",
+ "bwpCfgCir": 2000000,
+ "bwpCfgCbs": 2000
+ }
+ }
+ },
+ {
+ "evcPerUniCfgIdentifier": "ELAN1-UNI3",
+ "scaEthFppUniN": {
+ "transportPort": {
+ "CLLI": "CPqD-3-1",
+ "Hostname": "of:0000000000000003",
+ "Port": "1"
+ },
+ "interfaceCfgIdentifier": "uni3",
+ "interfaceCfgIngressBwp": {
+ "bwpCfgIdentifier": "",
+ "bwpCfgCir": 2000000,
+ "bwpCfgCbs": 2000
+ }
+ }
+ }
+ ]
+}