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 10:36:51 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
50df38df23f52de10bbcefbdfd18037fdd3e991b
50df38df
1 parent
3855f31f
Starting implementation of LinkResourceManager.
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
73 additions
and
1 deletions
core/api/src/main/java/org/onlab/onos/net/resource/package-info.java
core/net/src/main/java/org/onlab/onos/net/resource/LinkResourceManager.java
core/net/src/main/java/org/onlab/onos/net/resource/package-info.java
core/api/src/main/java/org/onlab/onos/net/resource/package-info.java
View file @
50df38d
/**
* Services for reserving network resources, e.g. bandwidth, lambdas.
*/
package
org
.
onlab
.
onos
.
net
.
resource
;
\ No newline at end of file
package
org
.
onlab
.
onos
.
net
.
resource
;
...
...
core/net/src/main/java/org/onlab/onos/net/resource/LinkResourceManager.java
0 → 100644
View file @
50df38d
package
org
.
onlab
.
onos
.
net
.
resource
;
import
static
org
.
slf4j
.
LoggerFactory
.
getLogger
;
import
org.apache.felix.scr.annotations.Activate
;
import
org.apache.felix.scr.annotations.Component
;
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.slf4j.Logger
;
/**
* Provides basic implementation of link resources allocation.
*/
@Component
(
immediate
=
true
)
@Service
public
class
LinkResourceManager
implements
LinkResourceService
{
private
final
Logger
log
=
getLogger
(
getClass
());
@Activate
public
void
activate
()
{
log
.
info
(
"Started"
);
}
@Deactivate
public
void
deactivate
()
{
log
.
info
(
"Stopped"
);
}
@Override
public
LinkResourceAllocations
requestResources
(
LinkResourceRequest
req
)
{
// TODO Auto-generated method stub
return
null
;
}
@Override
public
void
releaseResources
(
LinkResourceAllocations
allocations
)
{
// TODO Auto-generated method stub
}
@Override
public
Iterable
<
LinkResourceAllocations
>
getAllocations
()
{
// TODO Auto-generated method stub
return
null
;
}
@Override
public
Iterable
<
LinkResourceAllocations
>
getAllocations
(
Link
link
)
{
// TODO Auto-generated method stub
return
null
;
}
@Override
public
Iterable
<
IntentId
>
getIntents
(
Link
link
)
{
// TODO Auto-generated method stub
return
null
;
}
@Override
public
ResourceRequest
getAvailableResources
(
Link
link
)
{
// TODO Auto-generated method stub
return
null
;
}
}
core/net/src/main/java/org/onlab/onos/net/resource/package-info.java
0 → 100644
View file @
50df38d
/**
* Services for reserving network resources, e.g. bandwidth, lambdas.
*/
package
org
.
onlab
.
onos
.
net
.
resource
;
Please
register
or
login
to post a comment