ONOS-7451 ODTN TAPI connectivity service.
(still JSON cannot be converted to DataNode)
Completed with RPC PoC for ONOS-7451
Fixed style errors (import Yang classes > 120)
Change-Id: Ie565576a604ee1ccf3d046e7e461c1d132234e8f
diff --git a/apps/odtn/src/test/resources/nbi-tapi-sample.json b/apps/odtn/src/test/resources/nbi-tapi-sample.json
new file mode 100644
index 0000000..e0bd960
--- /dev/null
+++ b/apps/odtn/src/test/resources/nbi-tapi-sample.json
@@ -0,0 +1,51 @@
+{
+ "tapi-common:context": {
+ "service-interface-point": [
+ {
+ "uuid": "9F759964-2410-44AF-8522-4FCE2C3ED464",
+ "layer-protocol-name": ["DSR"],
+ "name": [
+ {
+ "value-name": "port",
+ "value": "1"
+ },
+ {
+ "value-name": "transponder",
+ "value": "TRPN_A"
+ }
+ ]
+ },
+ {
+ "uuid": "FBDDC006-8913-4509-BA71-485CFAC89567",
+ "layer-protocol-name": ["DSR"],
+ "name": [
+ {
+ "value-name": "port",
+ "value": "1"
+ },
+ {
+ "value-name": "transponder",
+ "value": "TRPN_B"
+ }
+ ]
+ }
+ ],
+ "tapi-connectivity:connectivity-service": [
+ {
+ "uuid" : "D0BF25C8-B20C-49C3-9030-1C5AEC993E44",
+ "end-point": [
+ {
+ "local-id" : "TRPN_A-1",
+ "layer-protocol-name": "DSR",
+ "service-interface-point": "9F759964-2410-44AF-8522-4FCE2C3ED464"
+ },
+ {
+ "local-id" : "TRPN_B-1",
+ "layer-protocol-name": "DSR",
+ "service-interface-point": "FBDDC006-8913-4509-BA71-485CFAC89567"
+ }
+ ]
+ }
+ ]
+ }
+}