Changed to use XOS client to get service and port information
XOS client still gets these information from OpenStack temporarily
until XOS provides these APIs
Change-Id: I1ef9302f719a18a7377221f63b84431c2cdface8
diff --git a/apps/xosclient/src/main/java/org/onosproject/xosclient/api/VtnPortApi.java b/apps/xosclient/src/main/java/org/onosproject/xosclient/api/VtnPortApi.java
index 593f32e..e4e56d3 100644
--- a/apps/xosclient/src/main/java/org/onosproject/xosclient/api/VtnPortApi.java
+++ b/apps/xosclient/src/main/java/org/onosproject/xosclient/api/VtnPortApi.java
@@ -44,4 +44,22 @@
* @return vtn port; null if it fails to get port information
*/
VtnPort vtnPort(VtnPortId portId);
+
+ /**
+ * Returns port information from OpenStack with port id.
+ *
+ * @param portId port id
+ * @return vtn port; null if it fails to get port information
+ */
+ // TODO remove this when XOS provides port information
+ VtnPort vtnPort(VtnPortId portId, OpenStackAccess osAccess);
+
+ /**
+ * Returns port information from OpenStack with port name.
+ *
+ * @param portName port name
+ * @return vtn port; null if it fails to get port information
+ */
+ // TODO remove this when XOS provides port information
+ VtnPort vtnPort(String portName, OpenStackAccess osAccess);
}