| Package | Description |
|---|---|
| org.onosproject.app |
Set of abstractions for managing network control applications.
|
| org.onosproject.core |
ONOS Core API definitions.
|
| org.onosproject.net.config.basics |
Various basic builtin network configurations.
|
| org.onosproject.net.flow |
Flow rule model & related services API definitions.
|
| org.onosproject.net.flowobjective |
Abstractions for objective-based flow programming of data plane without
requiring device pipeline structure awareness. This subsystem is
experimental and its interfaces will change in the upcoming release.
|
| org.onosproject.net.group |
Abstractions for interacting with device port groups.
|
| org.onosproject.net.intent |
Set of abstractions for conveying high-level intents for treatment of
selected network traffic by allowing applications to express the
what rather than the how.
|
| org.onosproject.net.meter |
Flow meter model and related services.
|
| org.onosproject.net.packet |
Mechanism for processing inbound packets intercepted from the data plane and
for emitting outbound packets onto the data plane.
|
| org.onosproject.net.statistic |
Service for looking up statistics on links.
|
| org.onosproject.security |
Application security constructs.
|
| org.onosproject.store.service |
Distributed core state management services.
|
| Modifier and Type | Method and Description |
|---|---|
ApplicationId |
ApplicationStore.getId(String name)
Returns the registered id of the application with the given name.
|
ApplicationId |
ApplicationService.getId(String name)
Returns the registered id of the application with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ApplicationStore.activate(ApplicationId appId)
Mark the application as actived.
|
void |
ApplicationAdminService.activate(ApplicationId appId)
Activates the specified application.
|
void |
ApplicationStore.deactivate(ApplicationId appId)
Mark the application as deactivated.
|
void |
ApplicationAdminService.deactivate(ApplicationId appId)
Deactivates the specified application.
|
Application |
ApplicationStore.getApplication(ApplicationId appId)
Returns the application with the supplied application identifier.
|
Application |
ApplicationService.getApplication(ApplicationId appId)
Returns the application with the supplied application identifier.
|
Set<Permission> |
ApplicationStore.getPermissions(ApplicationId appId)
Returns the permissions granted to the applications.
|
Set<Permission> |
ApplicationService.getPermissions(ApplicationId appId)
Returns the permissions currently granted to the applications.
|
ApplicationState |
ApplicationStore.getState(ApplicationId appId)
Returns the current application state.
|
ApplicationState |
ApplicationService.getState(ApplicationId appId)
Return the application state.
|
void |
ApplicationStore.remove(ApplicationId appId)
Removes the specified application.
|
void |
ApplicationStore.setPermissions(ApplicationId appId,
Set<Permission> permissions)
Updates the permissions granted to the applications.
|
void |
ApplicationAdminService.setPermissions(ApplicationId appId,
Set<Permission> permissions)
Updates the permissions granted to the applications.
|
void |
ApplicationAdminService.uninstall(ApplicationId appId)
Uninstalls the specified application.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultApplicationId
Application identifier.
|
| Modifier and Type | Method and Description |
|---|---|
ApplicationId |
CoreService.getAppId(Short id)
Returns an existing application id from a given id.
|
ApplicationId |
ApplicationIdStore.getAppId(Short id)
Returns an existing application id from a given id.
|
ApplicationId |
CoreService.getAppId(String name)
Returns an existing application id from a given id.
|
ApplicationId |
ApplicationIdStore.getAppId(String name)
Returns registered application id from the given name.
|
ApplicationId |
DefaultApplication.id() |
ApplicationId |
Application.id()
Returns the application name id.
|
ApplicationId |
CoreService.registerApplication(String identifier)
Registers a new application by its name, which is expected
to follow the reverse DNS convention, e.g.
|
ApplicationId |
ApplicationIdStore.registerApplication(String identifier)
Registers a new application by its name, which is expected
to follow the reverse DNS convention, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
Set<ApplicationId> |
CoreService.getAppIds()
Returns the set of currently registered application identifiers.
|
Set<ApplicationId> |
ApplicationIdStore.getAppIds()
Returns the set of currently registered application identifiers.
|
| Constructor and Description |
|---|
DefaultApplication(ApplicationId appId,
Version version,
String description,
String origin,
ApplicationRole role,
Set<Permission> permissions,
Optional<URI> featuresRepo,
List<String> features)
Creates a new application descriptor using the supplied data.
|
| Modifier and Type | Field and Description |
|---|---|
static SubjectFactory<ApplicationId> |
SubjectFactories.APP_SUBJECT_FACTORY |
| Modifier and Type | Method and Description |
|---|---|
FlowRule.Builder |
FlowRule.Builder.fromApp(ApplicationId appId)
Assigns the application that built this flow rule to this object.
|
FlowRule.Builder |
DefaultFlowRule.Builder.fromApp(ApplicationId appId) |
Iterable<FlowRule> |
FlowRuleService.getFlowRulesByGroupId(ApplicationId appId,
short groupId)
Returns a list of rules filterd by application and group id.
|
Iterable<FlowRule> |
FlowRuleService.getFlowRulesById(ApplicationId id)
Returns a list of rules with this application id.
|
void |
FlowRuleService.removeFlowRulesById(ApplicationId appId)
Removes all rules by id.
|
void |
FlowRuleProvider.removeRulesById(ApplicationId id,
FlowRule... flowRules)
Removes rules by their id.
|
| Constructor and Description |
|---|
DefaultFlowRule(DeviceId deviceId,
TrafficSelector selector,
TrafficTreatment treatment,
int priority,
ApplicationId appId,
GroupId groupId,
int timeout,
boolean permanent,
FlowRuleExtPayLoad payLoad)
Support for the third party flow rule.
|
DefaultFlowRule(DeviceId deviceId,
TrafficSelector selector,
TrafficTreatment treatment,
int priority,
ApplicationId appId,
int timeout,
boolean permanent,
FlowRuleExtPayLoad payLoad)
Support for the third party flow rule.
|
| Modifier and Type | Method and Description |
|---|---|
ApplicationId |
Objective.appId()
The application which applied this objective.
|
ApplicationId |
DefaultNextObjective.appId() |
ApplicationId |
DefaultForwardingObjective.appId() |
ApplicationId |
DefaultFilteringObjective.appId() |
| Modifier and Type | Method and Description |
|---|---|
Objective.Builder |
Objective.Builder.fromApp(ApplicationId appId)
Specifies the application which applied the filter.
|
NextObjective.Builder |
NextObjective.Builder.fromApp(ApplicationId appId)
Specifies the application which applied the filter.
|
FilteringObjective.Builder |
FilteringObjective.Builder.fromApp(ApplicationId appId)
Assigns an application id.
|
DefaultNextObjective.Builder |
DefaultNextObjective.Builder.fromApp(ApplicationId appId) |
DefaultForwardingObjective.Builder |
DefaultForwardingObjective.Builder.fromApp(ApplicationId appId) |
DefaultFilteringObjective.Builder |
DefaultFilteringObjective.Builder.fromApp(ApplicationId appId) |
| Modifier and Type | Method and Description |
|---|---|
ApplicationId |
GroupDescription.appId()
Returns application identifier that has created this group object.
|
ApplicationId |
DefaultGroupDescription.appId()
Returns application identifier that has created this group object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GroupService.addBucketsToGroup(DeviceId deviceId,
GroupKey oldCookie,
GroupBuckets buckets,
GroupKey newCookie,
ApplicationId appId)
Appends buckets to existing group.
|
Iterable<Group> |
GroupService.getGroups(DeviceId deviceId,
ApplicationId appId)
Retrieves all groups created by an application in the specified device
as seen by current controller instance.
|
void |
GroupService.removeBucketsFromGroup(DeviceId deviceId,
GroupKey oldCookie,
GroupBuckets buckets,
GroupKey newCookie,
ApplicationId appId)
Removes buckets from existing group.
|
void |
GroupService.removeGroup(DeviceId deviceId,
GroupKey appCookie,
ApplicationId appId)
Deletes a group associated to an application cookie.
|
| Constructor and Description |
|---|
DefaultGroupDescription(DeviceId deviceId,
GroupDescription.Type type,
GroupBuckets buckets,
GroupKey appCookie,
Integer groupId,
ApplicationId appId)
Constructor to be used by north bound applications.
|
| Modifier and Type | Field and Description |
|---|---|
protected ApplicationId |
Intent.Builder.appId |
| Modifier and Type | Method and Description |
|---|---|
ApplicationId |
Intent.appId()
Returns the identifier of the application that requested the intent.
|
| Modifier and Type | Method and Description |
|---|---|
TwoWayP2PIntent.Builder |
TwoWayP2PIntent.Builder.appId(ApplicationId appId) |
SinglePointToMultiPointIntent.Builder |
SinglePointToMultiPointIntent.Builder.appId(ApplicationId appId) |
PointToPointIntent.Builder |
PointToPointIntent.Builder.appId(ApplicationId appId) |
PathIntent.Builder |
PathIntent.Builder.appId(ApplicationId appId) |
OpticalPathIntent.Builder |
OpticalPathIntent.Builder.appId(ApplicationId appId) |
OpticalConnectivityIntent.Builder |
OpticalConnectivityIntent.Builder.appId(ApplicationId appId) |
OpticalCircuitIntent.Builder |
OpticalCircuitIntent.Builder.appId(ApplicationId appId) |
MultiPointToSinglePointIntent.Builder |
MultiPointToSinglePointIntent.Builder.appId(ApplicationId appId) |
MplsPathIntent.Builder |
MplsPathIntent.Builder.appId(ApplicationId appId) |
MplsIntent.Builder |
MplsIntent.Builder.appId(ApplicationId appId) |
LinkCollectionIntent.Builder |
LinkCollectionIntent.Builder.appId(ApplicationId appId) |
Intent.Builder |
Intent.Builder.appId(ApplicationId appId)
Sets the application id for the intent that will be built.
|
HostToHostIntent.Builder |
HostToHostIntent.Builder.appId(ApplicationId appId) |
ConnectivityIntent.Builder |
ConnectivityIntent.Builder.appId(ApplicationId appId) |
static Key |
Key.of(long key,
ApplicationId appId)
Creates a key based on the provided long.
|
static Key |
Key.of(String key,
ApplicationId appId)
Creates a key based on the provided string.
|
| Constructor and Description |
|---|
ConnectivityIntent(ApplicationId appId,
Key key,
Collection<NetworkResource> resources,
TrafficSelector selector,
TrafficTreatment treatment,
List<Constraint> constraints,
int priority)
Creates a connectivity intent that matches on the specified selector
and applies the specified treatment.
|
FlowRuleIntent(ApplicationId appId,
Key key,
Collection<FlowRule> flowRules,
Collection<NetworkResource> resources)
Creates an flow rule intent with the specified key, flow rules to be set, and
required network resources.
|
FlowRuleIntent(ApplicationId appId,
List<FlowRule> flowRules)
Deprecated.
in Cardinal Release
|
FlowRuleIntent(ApplicationId appId,
List<FlowRule> flowRules,
Collection<NetworkResource> resources)
Creates a flow rule intent with the specified flow rules and resources.
|
Intent(ApplicationId appId,
Key key,
Collection<NetworkResource> resources,
int priority)
Creates a new intent.
|
OpticalCircuitIntent(ApplicationId appId,
Key key,
ConnectPoint src,
ConnectPoint dst,
OduCltPort.SignalType signalType,
boolean isBidirectional,
int priority)
Creates an optical circuit intent between the specified
connection points.
|
OpticalConnectivityIntent(ApplicationId appId,
Key key,
ConnectPoint src,
ConnectPoint dst,
OduSignalType signalType,
boolean isBidirectional,
int priority)
Creates an optical connectivity intent between the specified
connection points.
|
PathIntent(ApplicationId appId,
TrafficSelector selector,
TrafficTreatment treatment,
Path path,
List<Constraint> constraints,
int priority)
Creates a new point-to-point intent with the supplied ingress/egress
ports and using the specified explicit path.
|
| Modifier and Type | Method and Description |
|---|---|
ApplicationId |
MeterRequest.appId()
The id of the application which created this meter.
|
ApplicationId |
Meter.appId()
The id of the application which created this meter.
|
ApplicationId |
DefaultMeterRequest.appId() |
ApplicationId |
DefaultMeter.appId() |
| Modifier and Type | Method and Description |
|---|---|
MeterRequest.Builder |
MeterRequest.Builder.fromApp(ApplicationId appId)
Assigns the application that built this meter.
|
Meter.Builder |
Meter.Builder.fromApp(ApplicationId appId)
Assigns the application that built this meter.
|
MeterRequest.Builder |
DefaultMeterRequest.Builder.fromApp(ApplicationId appId) |
Meter.Builder |
DefaultMeter.Builder.fromApp(ApplicationId appId) |
| Modifier and Type | Method and Description |
|---|---|
ApplicationId |
PacketRequest.appId()
Obtain the application id.
|
ApplicationId |
DefaultPacketRequest.appId() |
| Modifier and Type | Method and Description |
|---|---|
void |
PacketService.cancelPackets(TrafficSelector selector,
PacketPriority priority,
ApplicationId appId)
Cancels previous packet requests for packets matching the given
selector to be punted from the dataplane to the controller.
|
void |
PacketService.requestPackets(TrafficSelector selector,
PacketPriority priority,
ApplicationId appId)
Requests that packets matching the given selector are punted from the
dataplane to the controller.
|
| Constructor and Description |
|---|
DefaultPacketRequest(TrafficSelector selector,
PacketPriority priority,
ApplicationId appId)
Creates a new packet request.
|
| Modifier and Type | Method and Description |
|---|---|
Load |
StatisticService.load(Link link,
ApplicationId appId,
Optional<GroupId> groupId)
Obtain the load for a the ingress to the given link used by
the specified application ID and group ID.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SecurityAdminService.acceptPolicy(ApplicationId appId)
Accepts and enforces security policy to specified application.
|
Map<Integer,List<Permission>> |
SecurityAdminService.getPrintableGrantedPermissions(ApplicationId appId)
Returns sorted granted permission Map.
|
Map<Integer,List<Permission>> |
SecurityAdminService.getPrintableRequestedPermissions(ApplicationId appId)
Returns sorted requested permission Map.
|
Map<Integer,List<Permission>> |
SecurityAdminService.getPrintableSpecifiedPermissions(ApplicationId appId)
Returns sorted developer specified permission Map.
|
static boolean |
SecurityUtil.isAppSecured(ApplicationId appId) |
boolean |
SecurityAdminService.isSecured(ApplicationId appId)
Returns true if security policy has been enforced to specified application.
|
static void |
SecurityUtil.register(ApplicationId appId) |
void |
SecurityAdminService.register(ApplicationId appId)
Register application to SM-ONOS subsystem.
|
void |
SecurityAdminService.review(ApplicationId appId)
Changes SecurityModeState of specified application to REVIEWED.
|
| Modifier and Type | Method and Description |
|---|---|
DistributedSetBuilder<E> |
DistributedSetBuilder.withApplicationId(ApplicationId id)
Sets the owner applicationId for the set.
|
ConsistentMapBuilder<K,V> |
ConsistentMapBuilder.withApplicationId(ApplicationId id)
Sets the owner applicationId for the map.
|
Copyright © 2015. All rights reserved.