ONOS Application Permissions v0.1
Last updated: Feb. 17, 2015
DRAFT: Subject to change
Type | Description | Services | APIs |
---|---|---|---|
APP_INFORMATION | Permission to read various information about installed applications | Application Service | getApplication getState getPermissions |
APP_LIFECYCLE_EVENT | Permission to receive application lifecycle events | Application Service | addListener removeListener |
CLUSTER_WRITE | Permission to modify the cluster | Leadership Service | runForLeadership withdraw |
CLUSTER_READ | Permission to read cluster information | Cluster Service | getLocalNode getNodes getState |
Leadership Service | getLeader getLeaderboard | ||
CLUSTER_EVENT | Permission receive cluster events | Cluster Service | addListener removeListener |
Leadership Service | addListener removeListener | ||
MASTERSHIP_WRITE | Permission to modify mastership role of the devices | Mastership Service | requestRoleFor relinquishMastership |
MASTERSHIP_READ | Permission to read various mastership information | Mastership Service | getLocalRole getMasterFor getNodesFor getDevicesOf |
MASTERSHIP_EVENT | Permission to get notified of mastership events | Mastership Service | addListener removeListener |
DEVICE_WRITE | Permission to modify devices | Device Service | |
DEVICE_READ | Permission to read device information | Device Service | getDeviceCount getDevices getAvailableDevices getDevice getRole getPorts getPort isAvailable |
Device Clock Service | isTimestampAvailable getTimestamp | ||
DEVICE_EVENT | Permission receive device events | Device Service | addListener removeListener |
FLOWRULE_WRITE | Permission to add/remove flow rules | Flow Rule Service | applyFlowRules removeFlowRules removeFlowRulesById applyBatch |
FLOWRULE_READ | Permission to read flow rule information | Flow Rule Service | getFlowRuleCount getFlowEntries getFlowRulesById getFlowRulesByGroupId |
FLOWRULE_EVENT | Permission receive flow rule events | Flow Rule Service | addListener removeListener |
HOST_WRITE | Permission to modify host | Host Service | requestMac |
HOST_READ | Permission to read host information | Host Service | getHostCount getHosts getHost getHostByVlan getHostsByMac getHostsByIP getConnectedHosts getAddressBindings getAddressBindingsForPort |
Host Clock Service | getTimestemp | ||
HOST_EVENT | Permission receive host events | Host Service | startMonitoringIp stopMonitoringIp addListener removeListener |
INTENT_WRITE | Permission to issue/remove intents | Intent Service | submit withdraw replace execute |
Intent Batch Service | addIntentOperations removeIntentOperations setDelegate unsetDelegate | ||
INTENT_READ | Permission to read intent information | Intent Service | getIntents getIntentCount getIntent getIntentState getInstallableIntents |
Intent Batch Service | getPendingOperations isLocalLeader | ||
INTENT_EVENT | Permission receive intent events | Intent Service | addListener removeListener |
Intent Batch Service | addListener removeListener | ||
INTENT_EXTENSION | Permission to extend intent service | Intent Extension Service | registerCompiler unregisterCompiler getCompiler registerInstaller unregisterInstaller getInstallers |
LINK_WRITE | Permission to modify link information | Link Resource Service | requestResources releaseResources updateResources |
LINK_READ | Permission to read link information | Link Service | getLinkCount getLinks getActiveLinks getDeviceLinks getDeviceEgressLinks getEgressLinks getIngressLinks getLink |
Link Resource Service | getAllocations getAvailableResources | ||
LINK_EVENT | Permission receive link events | Link Service | addListener removeListener |
Link Resource Service | addListener removeListener | ||
PACKET_WRITE | Permission to send/block packet | Packet Context | send block |
Packet Service | emit | ||
ProxyArpService | reply forward handleArp | ||
PACKET_READ | Permission to read packet information | Packet Context | time inPacket outPacket treatmentBuilder isHandled |
ProxyArpService | known | ||
PACKET_EVENT | Permission to handle packet events | Packet Service | addProcessor removeProcessor |
STATISTIC_READ | Permission to access flow statistic information | Statistic Service | load max min higesthitter |
TOPOLOGY_READ | Permission to read path and topology information | Path Service | getPaths |
Topology Service | currentTopology isLatest getGraph getClusters getCluster getClusterDevices getClusterLinks getPaths isInfrastructure isBroadcastPoint | ||
TOPOLOGY_EVENT | Permission to handle topology events | Topology Service | addListener removeListener |
DATABASE_WRITE | Permission to modify database | Database Service | put putIfAbsent putIfVersionMatches batchWrite |
DATABASE_READ | Permission to read information from the database | Database Service | get getAll batchRead |