Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Toshio Koide
2014-10-23 14:50:21 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5c0a7269778eb088c27a71bfa8f6addfc28e7fba
5c0a7269
1 parent
2543d5ae
Rename package name of LinkResourceManager.
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
9 deletions
core/api/src/main/java/org/onlab/onos/net/resource/ResourceAllocation.java
core/net/src/main/java/org/onlab/onos/net/resource/DefaultLinkResourceAllocations.java → core/net/src/main/java/org/onlab/onos/net/resource/impl/DefaultLinkResourceAllocations.java
core/net/src/main/java/org/onlab/onos/net/resource/LinkResourceManager.java → core/net/src/main/java/org/onlab/onos/net/resource/impl/LinkResourceManager.java
core/net/src/main/java/org/onlab/onos/net/resource/package-info.java → core/net/src/main/java/org/onlab/onos/net/resource/impl/package-info.java
core/api/src/main/java/org/onlab/onos/net/resource/ResourceAllocation.java
View file @
5c0a726
...
...
@@ -5,10 +5,4 @@ package org.onlab.onos.net.resource;
*/
public
interface
ResourceAllocation
extends
ResourceRequest
{
/**
* Returns the type of the allocated resource.
*
* @return the type of the allocated resource
*/
ResourceType
type
();
}
...
...
core/net/src/main/java/org/onlab/onos/net/resource/DefaultLinkResourceAllocations.java
→
core/net/src/main/java/org/onlab/onos/net/resource/
impl/
DefaultLinkResourceAllocations.java
View file @
5c0a726
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 java.util.Set;
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}.
...
...
core/net/src/main/java/org/onlab/onos/net/resource/LinkResourceManager.java
→
core/net/src/main/java/org/onlab/onos/net/resource/
impl/
LinkResourceManager.java
View file @
5c0a726
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.Deactivate;
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
;
...
...
core/net/src/main/java/org/onlab/onos/net/resource/package-info.java
→
core/net/src/main/java/org/onlab/onos/net/resource/
impl/
package-info.java
View file @
5c0a726
/**
* Services for reserving network resources, e.g. bandwidth, lambdas.
*/
package
org
.
onlab
.
onos
.
net
.
resource
;
package
org
.
onlab
.
onos
.
net
.
resource
.
impl
;
...
...
Please
register
or
login
to post a comment