Package | Description |
---|---|
com.hp.device |
Specifications for various aspects device modeling and device driver development.
|
com.hp.sdn.device |
API for accessing & supplying information about network infrastructure devices.
|
com.hp.sdn.driver | |
com.hp.sdn.dvc |
Device Management
|
com.hp.sdn.dvc.facet |
Device Driver Facet interfaces
|
Modifier and Type | Interface and Description |
---|---|
interface |
DeviceIdentity
A generic
Facet that provides read-only information about a device's identity. |
interface |
DeviceIdentityHandler
A generic
Facet that provides read-write access concerning a device's identity. |
interface |
Flags
A generic
Facet that provides access to predicates about a device. |
interface |
HandlerFacet
Abstraction of a facet returned from a device handler.
|
interface |
Presentation
A generic
Facet that provides access to presentation data for a device. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDefaultFacet
A partial implementation of
Facet that makes the assumption that
the underlying device info is a DefaultDeviceInfo instance. |
class |
AbstractFacet
A partial implementation of
Facet that maintains a device info context. |
class |
DefaultDeviceIdentity
A default implementation of the device identity facet.
|
class |
DefaultDeviceIdentityHandler
A default implementation of the device identity handler facet.
|
class |
DefaultFlags
A default implementation of the flags facet.
|
class |
DefaultPresentation
A default implementation of the presentation facet.
|
Modifier and Type | Method and Description |
---|---|
<T extends Facet> |
FacetProvider.getFacet(Class<T> facetClass)
Returns an implementation of the specified facet class, or null if that
facet is not supported by this provider.
|
<T extends Facet> |
DefaultDeviceHandler.getFacet(Class<T> facetClass) |
<T extends Facet> |
AbstractDeviceInfo.getFacet(Class<T> facetClass) |
Modifier and Type | Method and Description |
---|---|
protected Map<Class<? extends Facet>,Class<? extends AbstractFacet>> |
DefaultDeviceType.getFacetBindings(boolean isHandler)
Gets a read-only map of the facet bindings.
|
Set<Class<? extends Facet>> |
FacetProvider.getFacetClasses()
Returns the set of facet classes for the facets that this provider
provides.
|
Set<Class<? extends Facet>> |
DefaultDeviceHandler.getFacetClasses() |
Set<Class<? extends Facet>> |
AbstractDeviceInfo.getFacetClasses() |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultDeviceType.addBinding(Class<? extends Facet> facetClass,
Class<? extends AbstractFacet> facetImplementationClass)
Allows subclasses to register a facet implementation binding.
|
DefaultDeviceTypeBuilder |
DefaultDeviceTypeBuilder.facetBindings(Map<Class<? extends Facet>,Class<? extends AbstractFacet>> facetBindings) |
boolean |
FacetProvider.isSupported(Class<? extends Facet> facetClass)
Returns true if the specified facet class is supported by this
provider.
|
boolean |
DefaultDeviceHandler.isSupported(Class<? extends Facet> facetClass) |
boolean |
AbstractDeviceInfo.isSupported(Class<? extends Facet> facetClass) |
protected void |
DefaultDeviceDriverProvider.processFacets(org.apache.commons.configuration.HierarchicalConfiguration typeDefinition,
Map<Class<? extends Facet>,Class<? extends AbstractFacet>> facetBindings)
Processes the facet bindings and overrides specified in given type
definition to augment the provided facet bindings map.
|
protected void |
DefaultDeviceType.removeBinding(Class<? extends Facet> facetClass)
Allows subclasses to unregister a facet implementation binding.
|
Constructor and Description |
---|
DefaultDeviceType(DeviceDriverProvider provider,
DefaultDeviceType parentType,
String typeName,
String vendor,
String family,
String product,
String model,
Set<String> oids,
String fw,
String typeData,
String instanceData,
com.hp.device.PresentationResources presRes,
Map<Class<? extends Facet>,Class<? extends AbstractFacet>> facetBindings,
Set<String> flags,
Class<? extends DeviceHandler> handlerClass,
Class<? extends DeviceLoader> loaderClass,
String description,
String origin)
Creates a base device type associated with the given originating
provider.
|
Modifier and Type | Method and Description |
---|---|
<T extends Facet> |
FacetService.getFacet(DataPathId dpid,
Class<T> facetClass)
Returns an implementation of the specified facet class, or null if that
facet is not supported by this datapath.
|
<T extends Facet> |
FacetService.getFacet(DeviceId devId,
Class<T> facetClass)
Returns an implementation of the specified facet class, or null if that
facet is not supported by this device.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Device> |
DeviceService.getDevices(Class<? extends Facet> facetClass)
Returns a list of all devices that support the specified device driver
facet.
|
Iterator<Device> |
DeviceServiceAdapter.getDevices(Class<? extends Facet> facetClass) |
Modifier and Type | Method and Description |
---|---|
void |
FlexibleDriverProvider.addBinding(String deviceTypeName,
Class<? extends Facet> facetClass,
Class<? extends AbstractFacet> facetImplClass)
Add the facet to the given device type and all children
|
void |
FlexibleDriverProvider.removeBinding(String deviceTypeName,
Class<? extends Facet> facetClass)
Remove the facet from the given device type and all children
|
Modifier and Type | Method and Description |
---|---|
<T extends Facet> |
DeviceInfoAdapter.getFacet(Class<T> facetClass) |
Modifier and Type | Method and Description |
---|---|
Set<Class<? extends Facet>> |
DeviceInfoAdapter.getFacetClasses() |
Modifier and Type | Method and Description |
---|---|
boolean |
DeviceInfoAdapter.isSupported(Class<? extends Facet> facetClass) |
Modifier and Type | Interface and Description |
---|---|
interface |
DeviceOwnerAssigner
Facet to create device-specific message for assigning master or slave
ownership on a device to a particular controller.
|
interface |
DeviceStatusHandler
Query the device to determine it status (online/offline).
|
interface |
FlowModFacet
A generic
Facet that provides adjustment of flow mods based on
specific device information. |
interface |
FriendlyName |
interface |
InterfaceHandler
Query the device for its interfaces.
|
interface |
LinkDiscoveryVlan |
interface |
NotificationHandler
Configure the device to send events back to the controller
|
interface |
OpenFlowFacet
Abstraction for extracting OpenFlow-related information from devices.
|
interface |
Vlan |
interface |
VlanHandler
Abstraction for provisioning and managing VLANs on switches.
|
interface |
Vxlan |
interface |
VxlanHandler
Abstraction for provisioning and managing VXLAN tunnels on switches.
|
Modifier and Type | Class and Description |
---|---|
class |
ManualDeviceIdentityHandler |
Copyright © 2015. All Rights Reserved.