Completed the move to the new configuration file format. Default filename is now config.json
diff --git a/src/main/java/net/onrc/onos/ofcontroller/bgproute/Interface.java b/src/main/java/net/onrc/onos/ofcontroller/bgproute/Interface.java
index 15b2125..088c18e 100644
--- a/src/main/java/net/onrc/onos/ofcontroller/bgproute/Interface.java
+++ b/src/main/java/net/onrc/onos/ofcontroller/bgproute/Interface.java
@@ -12,12 +12,22 @@
import com.google.common.net.InetAddresses;
public class Interface {
+ private String name;
private SwitchPort switchPort = null;
private long dpid;
private short port;
private InetAddress ipAddress;
private int prefixLength;
+ public String getName() {
+ return name;
+ }
+
+ @JsonProperty("name")
+ public void setName(String name) {
+ this.name = name;
+ }
+
public synchronized SwitchPort getSwitchPort() {
if (switchPort == null){
switchPort = new SwitchPort(new Dpid(dpid), new Port(port));