Sho SHIMIZU
Committed by Thomas Vachuska

Remove methods in the deprecated old resource API

Change-Id: I5ccb8e30fc1a48208f28384d4c444f864ffe9cb7
......@@ -22,10 +22,4 @@ import com.google.common.annotations.Beta;
*/
@Beta
public interface ResourceAllocation {
/**
* Returns the resource type.
*
* @return the resource type
*/
ResourceType type();
}
......
......@@ -22,11 +22,4 @@ import com.google.common.annotations.Beta;
*/
@Beta
public interface ResourceRequest {
/**
* Returns the resource type.
*
* @return the resource type
*/
ResourceType type();
}
......
......@@ -15,13 +15,7 @@
*/
package org.onosproject.net.resource.link;
import java.util.Collection;
import java.util.Set;
import org.onosproject.net.Link;
import org.onosproject.net.intent.IntentId;
import org.onosproject.net.resource.ResourceAllocation;
import org.onosproject.net.resource.ResourceRequest;
/**
* Representation of allocated link resources.
......@@ -30,33 +24,4 @@ import org.onosproject.net.resource.ResourceRequest;
*/
@Deprecated
public interface LinkResourceAllocations extends ResourceAllocation {
/**
* Returns the {@link IntentId} associated with the request.
*
* @return the {@link IntentId} associated with the request
*/
IntentId intentId();
/**
* Returns the set of target links.
*
* @return the set of target links
*/
Collection<Link> links();
/**
* Returns the set of resource requests.
*
* @return the set of resource requests
*/
Set<ResourceRequest> resources();
/**
* Returns allocated resource for the given link.
*
* @param link the target link
* @return allocated resource for the link
*/
Set<ResourceAllocation> getResourceAllocation(Link link);
}
......