2nd iteration of the unit test.
diff --git a/src/main/java/net/onrc/onos/ofcontroller/core/INetMapTopologyObjects.java b/src/main/java/net/onrc/onos/ofcontroller/core/INetMapTopologyObjects.java
index 1a01155..77c42b1 100644
--- a/src/main/java/net/onrc/onos/ofcontroller/core/INetMapTopologyObjects.java
+++ b/src/main/java/net/onrc/onos/ofcontroller/core/INetMapTopologyObjects.java
@@ -94,6 +94,10 @@
@JsonIgnore
@Incidence(label="on",direction = Direction.IN)
public ISwitchObject getSwitch();
+
+ @JsonIgnore
+ @Adjacency(label="on",direction = Direction.IN)
+ public ISwitchObject getVertexSwitch();
@JsonProperty("devices")
@Adjacency(label="host")
@@ -139,11 +143,11 @@
@JsonProperty("ipv4")
@Property("nw_addr")
public String getIPAddress();
- @Property("dl_addr")
+ @Property("nw_addr")
public void setIPAddress(String ipaddr);
@JsonIgnore
- @Incidence(label="host",direction = Direction.IN)
+ @Adjacency(label="host",direction = Direction.IN)
public Iterable<IPortObject> getAttachedPorts();
@JsonIgnore