[ONOS-5805] MEF NRP REST API app for CE App

Migrating MEF NRP API translation app to onos-app-samples.

- Originally developed mainly by Konstantinos Kanonakis <kanonakisk@gmail.com>

- fixed NRP example JSON

Change-Id: If846dab4e08dcd17bc65a475b72fb3dc1a58cd9d
diff --git a/mef-nrp-api/examples/nrp-epl-fc-create-example-1.json b/mef-nrp-api/examples/nrp-epl-fc-create-example-1.json
new file mode 100644
index 0000000..98719fc
--- /dev/null
+++ b/mef-nrp-api/examples/nrp-epl-fc-create-example-1.json
@@ -0,0 +1,140 @@
+{
+  "id": "forwardingConstruct_1_to_2",
+  "adminState": "ACTIVE",
+  "fcPortList": [
+    {
+      "role": "WORKING",
+      "ltpRefList": [
+        {
+          "id": "of:0000000000000001/1",
+          "adminState": "ACTIVE",
+          "physicalPortReference": {
+            "CLLI": "CPqD1-Port1",
+            "Vendor": "Stanford University, Ericsson Research and CPqD Research",
+            "Hostname": "of:0000000000000001",
+            "Port": "1"
+          },
+          "lpList": [
+            {
+              "layerProtocolName": "string",
+              "nrp_lpSpec": {
+                "terminationSpec": {
+                  "id": "string",
+                  "nrp_physicalLayer": "string",
+                  "nrp_ingressBwProfile": {
+                    "bwpCfgCir": 2000000,
+                    "bwpCfgCbs": 2000,
+                    "bwpCfgEir": 1000000,
+                    "bwpCfgEbs": 2000
+                  },
+                  "nrp_uniTerminationSpec": {
+                    "id": "of:0000000000000001/1",
+                    "nrp_uniCfgCeVidUntagged": 0,
+                    "nrp_serviceprovideruniprofile": {
+                      "nrp_maxNumOfEvc": 1,
+                      "nrp_bundlingEnabled": true,
+                      "nrp_allToOneBundlingEnabled": true,
+                      "nrp_serviceMultiplexingEnabled": false
+                    },
+                    "nrp_operatoruniprofile": {
+                      "nrp_operatorUniId": "of:0000000000000001/1",
+                      "nrp_maxNumOfOvcEndPoint": 0,
+                      "nrp_maxNumOfCeVlanIdPerOvcEndPoint": 0
+                    }
+                  }
+                },
+                "connectionPointAndAdapterSpec": {
+                  "connectionPointAndAdapterSpec": {
+                    "connectionPointAndAdapterSpec": {
+                      "nrpEvcEndPointConnAdaptSpect": {
+                        "nrp_evcEndPointId": "string",
+                        "nrp_evcEndPointRole": {
+                          "role": "ROOT"
+                        },
+                        "nrp_evcEndPointMap": [
+                          {
+                            "nrp_endPointMapFormU": {
+                              "nrp_cevlanid": []
+                            }
+                          }
+                        ],
+                        "nrp_speed": "10000000"
+                      }
+                    }
+                  }
+                }
+              }
+            }
+          ]
+        }
+      ]
+    },
+    {
+      "role": "WORKING",
+      "ltpRefList": [
+        {
+          "id": "of:0000000000000002/3",
+          "adminState": "ACTIVE",
+          "physicalPortReference": {
+            "CLLI": "CPqD2-Port1",
+            "Vendor": "Stanford University, Ericsson Research and CPqD Research",
+            "Hostname": "of:0000000000000002",
+            "Port": "3"
+          },
+          "lpList": [
+            {
+              "layerProtocolName": "string",
+              "nrp_lpSpec": {
+                "terminationSpec": {
+                  "id": "string",
+                  "nrp_physicalLayer": "string",
+                  "nrp_inniTerminationSpec": {
+                    "id": "string"
+                  }
+                },
+                "connectionPointAndAdapterSpec": {
+                  "connectionPointAndAdapterSpec": {
+                    "connectionPointAndAdapterSpec": {
+                      "nrpIvcEndPointConnAdaptSpect": {
+                        "nrp_ivcEndPointId": "string",
+                        "nrp_ivcEndPointRole": {
+                          "role": "TRUNK"
+                        },
+                        "nrp_ivcEndPointMap": [
+                          {
+                            "nrp_endPointMapFormT": {
+                              "nrp_svlanid": [
+                                "2"
+                              ],
+                              "nrp_tpid": [
+                                "0x8100"
+                              ]
+                            }
+                          }
+                        ],
+                        "nrp_speed": "10000000"
+                      }
+                    }
+                  }
+                }
+              }
+            }
+          ]
+        }
+      ]
+    }
+  ],
+  "nrpCeFcSpec": {
+    "nrp_connectionType": "PointToPoint",
+    "nrp_edgeCeFcSpec": {
+      "NRP_evcEndpoint": "string",
+      "nrp_ceVlanIdPreservation": true,
+      "nrp_ceVlanCosPreservation": true
+    },
+    "nrpTransitCeFcSpec": {
+      "NRP_evcEndpoint": "string",
+      "nrp_sVlanIdPreservation": true,
+      "nrp_sVlanCosPreservation": true
+    }
+  }
+}