| Package | Description |
|---|---|
| org.onosproject.net.behaviour |
Abstractions of various device configuration or device adaptation behaviours;
counterpart to the device driver subsystem.
|
| org.onosproject.net.driver |
Set of facilities to allow the platform to be extended with
device specific behaviours and to allow modeling device behaviours while
hiding details of specific device driver implementations.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
BridgeConfig
Behaviour for handling various drivers for bridge configurations.
|
interface |
MplsQuery
A HandlerBehaviour to check the capability of MPLS.
|
interface |
Pipeliner
Behaviour for handling various pipelines.
|
interface |
PortAdmin
Means to administratively enable/disable a logical port at the device.
|
interface |
PortConfig
Means to configure a logical port at the device.
|
interface |
TunnelConfig
Behaviour for handling various drivers for tunnel configuration.
|
interface |
VlanQuery
A HandlerBehaviour to check the capability of VLAN.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
DriverConnect
Abstraction of handler behaviour used to set-up and tear-down driver
connection with a device.
|
interface |
HandlerBehaviour
Representation of a facet of device behaviour that can be used to interact
with a device (in context of
DriverHandler). |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBehaviour
Base implementation of device driver behaviour.
|
class |
AbstractHandlerBehaviour
Base implementation of device driver handler behaviour.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Behaviour> |
DriverHandler.behaviour(Class<T> behaviourClass)
Returns the specified facet of behaviour to interact with the device.
|
<T extends Behaviour> |
DriverData.behaviour(Class<T> behaviourClass)
Returns the specified facet of behaviour to access the device data.
|
<T extends Behaviour> |
DefaultDriverHandler.behaviour(Class<T> behaviourClass) |
<T extends Behaviour> |
DefaultDriverData.behaviour(Class<T> behaviourClass) |
<T extends Behaviour> |
Driver.createBehaviour(DriverData data,
Class<T> behaviourClass)
Creates an instance of behaviour primed with the specified driver data.
|
<T extends Behaviour> |
DefaultDriver.createBehaviour(DriverData data,
Class<T> behaviourClass) |
<T extends Behaviour> |
Driver.createBehaviour(DriverHandler handler,
Class<T> behaviourClass)
Creates an instance of behaviour primed with the specified driver data.
|
<T extends Behaviour> |
DefaultDriver.createBehaviour(DriverHandler handler,
Class<T> behaviourClass) |
| Modifier and Type | Method and Description |
|---|---|
Set<Class<? extends Behaviour>> |
Driver.behaviours()
Returns the set of behaviours supported by this driver.
|
Set<Class<? extends Behaviour>> |
DefaultDriver.behaviours() |
Class<? extends Behaviour> |
Driver.implementation(Class<? extends Behaviour> behaviour)
Returns the implementation class for the specified behaviour.
|
Class<? extends Behaviour> |
DefaultDriver.implementation(Class<? extends Behaviour> behaviour) |
| Modifier and Type | Method and Description |
|---|---|
Set<Driver> |
DriverService.getDrivers(Class<? extends Behaviour> withBehaviour)
Returns the set of drivers which support the specified behaviour.
|
boolean |
Driver.hasBehaviour(Class<? extends Behaviour> behaviourClass)
Indicates whether or not the driver, or any of its parents, support
the specified class of behaviour.
|
boolean |
DefaultDriver.hasBehaviour(Class<? extends Behaviour> behaviourClass) |
Class<? extends Behaviour> |
Driver.implementation(Class<? extends Behaviour> behaviour)
Returns the implementation class for the specified behaviour.
|
Class<? extends Behaviour> |
DefaultDriver.implementation(Class<? extends Behaviour> behaviour) |
| Constructor and Description |
|---|
DefaultDriver(String name,
Driver parent,
String manufacturer,
String hwVersion,
String swVersion,
Map<Class<? extends Behaviour>,Class<? extends Behaviour>> behaviours,
Map<String,String> properties)
Creates a driver with the specified name.
|
DefaultDriver(String name,
Driver parent,
String manufacturer,
String hwVersion,
String swVersion,
Map<Class<? extends Behaviour>,Class<? extends Behaviour>> behaviours,
Map<String,String> properties)
Creates a driver with the specified name.
|
Copyright © 2015. All rights reserved.