Fix two little bugs in odtn:
1. Add "nc:" namespace prefix in <edit-config> operation.
2. Use the last segment of UUID as the port number.

Change-Id: I9d1ffa96f69746585137f2bbf8ceb11a488152b4
diff --git a/drivers/odtn-driver/src/main/java/org/onosproject/drivers/odtn/tapi/TapiDeviceDescriptionDiscovery.java b/drivers/odtn-driver/src/main/java/org/onosproject/drivers/odtn/tapi/TapiDeviceDescriptionDiscovery.java
index 50ab094..4459ffc 100644
--- a/drivers/odtn-driver/src/main/java/org/onosproject/drivers/odtn/tapi/TapiDeviceDescriptionDiscovery.java
+++ b/drivers/odtn-driver/src/main/java/org/onosproject/drivers/odtn/tapi/TapiDeviceDescriptionDiscovery.java
@@ -138,7 +138,8 @@
             JsonNode sipAttributes = iter.next();
             if (checkValidEndpoint(sipAttributes)) {
                 String uuid = sipAttributes.get(UUID).textValue();
-                PortNumber portNumber = PortNumber.portNumber(uuid.split("-")[0]);
+                String[] uuidSeg = uuid.split("-");
+                PortNumber portNumber = PortNumber.portNumber(uuidSeg[uuidSeg.length - 1]);
                 annotations.set(UUID, uuid);
 
                 JsonNode mcPool = sipAttributes.get(MEDIA_CHANNEL_SERVICE_INTERFACE_POINT_SPEC).get(MC_POOL);