Rename package name of LinkResourceManager.
diff --git a/core/api/src/main/java/org/onlab/onos/net/resource/ResourceAllocation.java b/core/api/src/main/java/org/onlab/onos/net/resource/ResourceAllocation.java
index 3ddadbc..5cc1414 100644
--- a/core/api/src/main/java/org/onlab/onos/net/resource/ResourceAllocation.java
+++ b/core/api/src/main/java/org/onlab/onos/net/resource/ResourceAllocation.java
@@ -5,10 +5,4 @@
*/
public interface ResourceAllocation extends ResourceRequest {
- /**
- * Returns the type of the allocated resource.
- *
- * @return the type of the allocated resource
- */
- ResourceType type();
}
diff --git a/core/net/src/main/java/org/onlab/onos/net/resource/DefaultLinkResourceAllocations.java b/core/net/src/main/java/org/onlab/onos/net/resource/impl/DefaultLinkResourceAllocations.java
similarity index 81%
rename from core/net/src/main/java/org/onlab/onos/net/resource/DefaultLinkResourceAllocations.java
rename to core/net/src/main/java/org/onlab/onos/net/resource/impl/DefaultLinkResourceAllocations.java
index 76dae01..0330821 100644
--- a/core/net/src/main/java/org/onlab/onos/net/resource/DefaultLinkResourceAllocations.java
+++ b/core/net/src/main/java/org/onlab/onos/net/resource/impl/DefaultLinkResourceAllocations.java
@@ -1,4 +1,4 @@
-package org.onlab.onos.net.resource;
+package org.onlab.onos.net.resource.impl;
import java.util.Collection;
import java.util.Collections;
@@ -7,6 +7,11 @@
import org.onlab.onos.net.Link;
import org.onlab.onos.net.intent.IntentId;
+import org.onlab.onos.net.resource.LinkResourceAllocations;
+import org.onlab.onos.net.resource.LinkResourceRequest;
+import org.onlab.onos.net.resource.ResourceAllocation;
+import org.onlab.onos.net.resource.ResourceRequest;
+import org.onlab.onos.net.resource.ResourceType;
/**
* Implementation of {@link LinkResourceAllocations}.
diff --git a/core/net/src/main/java/org/onlab/onos/net/resource/LinkResourceManager.java b/core/net/src/main/java/org/onlab/onos/net/resource/impl/LinkResourceManager.java
similarity index 83%
rename from core/net/src/main/java/org/onlab/onos/net/resource/LinkResourceManager.java
rename to core/net/src/main/java/org/onlab/onos/net/resource/impl/LinkResourceManager.java
index a207dbc..167f321 100644
--- a/core/net/src/main/java/org/onlab/onos/net/resource/LinkResourceManager.java
+++ b/core/net/src/main/java/org/onlab/onos/net/resource/impl/LinkResourceManager.java
@@ -1,4 +1,4 @@
-package org.onlab.onos.net.resource;
+package org.onlab.onos.net.resource.impl;
import static org.slf4j.LoggerFactory.getLogger;
@@ -12,6 +12,15 @@
import org.apache.felix.scr.annotations.Service;
import org.onlab.onos.net.Link;
import org.onlab.onos.net.intent.IntentId;
+import org.onlab.onos.net.resource.BandwidthResourceAllocation;
+import org.onlab.onos.net.resource.BandwidthResourceRequest;
+import org.onlab.onos.net.resource.Lambda;
+import org.onlab.onos.net.resource.LambdaResourceAllocation;
+import org.onlab.onos.net.resource.LinkResourceAllocations;
+import org.onlab.onos.net.resource.LinkResourceRequest;
+import org.onlab.onos.net.resource.LinkResourceService;
+import org.onlab.onos.net.resource.ResourceAllocation;
+import org.onlab.onos.net.resource.ResourceRequest;
import org.slf4j.Logger;
import com.google.common.collect.Sets;
diff --git a/core/net/src/main/java/org/onlab/onos/net/resource/package-info.java b/core/net/src/main/java/org/onlab/onos/net/resource/impl/package-info.java
similarity index 66%
rename from core/net/src/main/java/org/onlab/onos/net/resource/package-info.java
rename to core/net/src/main/java/org/onlab/onos/net/resource/impl/package-info.java
index 6b402a7..a398a80 100644
--- a/core/net/src/main/java/org/onlab/onos/net/resource/package-info.java
+++ b/core/net/src/main/java/org/onlab/onos/net/resource/impl/package-info.java
@@ -1,4 +1,4 @@
/**
* Services for reserving network resources, e.g. bandwidth, lambdas.
*/
-package org.onlab.onos.net.resource;
+package org.onlab.onos.net.resource.impl;