Added ipAddress field to Host related test modules
 (In the previous check-in, ipAddress was added in Host and HostData classes so that we can get IP address from Topology service)

Change-Id: Id891367d31cc992c7b40081ea2773923b068899c
diff --git a/src/main/java/net/onrc/onos/core/topology/HostData.java b/src/main/java/net/onrc/onos/core/topology/HostData.java
index e790134..33f3803 100644
--- a/src/main/java/net/onrc/onos/core/topology/HostData.java
+++ b/src/main/java/net/onrc/onos/core/topology/HostData.java
@@ -41,6 +41,17 @@
      *
      * @param mac the MAC address to identify the host
      */
+    public HostData(MACAddress mac) {
+        this.mac = checkNotNull(mac);
+        this.ip = 0;
+        this.attachmentPoints = new LinkedList<>();
+    }
+
+    /**
+     * Constructor for a given host MAC address.
+     *
+     * @param mac the MAC address to identify the host
+     */
     public HostData(MACAddress mac, int ip) {
         this.mac = checkNotNull(mac);
         this.ip = ip;