Remove cost from Link

cost should be calculated by PCE,
based on characteristics, attributes.

Change-Id: I293e11d25164addd69b9882254f14f0fd5b33d35
diff --git a/src/main/java/net/onrc/onos/core/topology/Link.java b/src/main/java/net/onrc/onos/core/topology/Link.java
index f1fcae8..8cd7b82 100644
--- a/src/main/java/net/onrc/onos/core/topology/Link.java
+++ b/src/main/java/net/onrc/onos/core/topology/Link.java
@@ -50,15 +50,6 @@
     public long getLastSeenTime();
 
     /**
-     * Gets the link cost.
-     * <p/>
-     * TODO: What is the unit?
-     *
-     * @return the link cost.
-     */
-    public int getCost();
-
-    /**
      * Gets the link capacity.
      * <p/>
      * TODO: What is the unit?
diff --git a/src/main/java/net/onrc/onos/core/topology/LinkImpl.java b/src/main/java/net/onrc/onos/core/topology/LinkImpl.java
index 5542e64..95eddab 100644
--- a/src/main/java/net/onrc/onos/core/topology/LinkImpl.java
+++ b/src/main/java/net/onrc/onos/core/topology/LinkImpl.java
@@ -18,9 +18,6 @@
     protected static final Double DEFAULT_CAPACITY = Double.POSITIVE_INFINITY;
     protected Double capacity = DEFAULT_CAPACITY;
 
-    protected static final int DEFAULT_COST = 1;
-    protected int cost = DEFAULT_COST;
-
     /**
      * Constructor for when a link is read from the database and the Ports
      * already exist in the in-memory topology.
@@ -62,15 +59,6 @@
     }
 
     @Override
-    public int getCost() {
-        return cost;
-    }
-
-    public void setCost(int cost) {
-        this.cost = cost;
-    }
-
-    @Override
     public Double getCapacity() {
         return capacity;
     }