Package | Description |
---|---|
etri.sdn.controller.module.devicemanager |
Modifier and Type | Class and Description |
---|---|
private static class |
OFMDefaultEntityClassifier.DefaultEntityClass
A default fixed entity class
|
Modifier and Type | Field and Description |
---|---|
protected IEntityClass |
Device.entityClass |
private IEntityClass[] |
DeviceIterator.entityClasses |
Modifier and Type | Method and Description |
---|---|
IEntityClass |
OFMDefaultEntityClassifier.classifyEntity(Entity entity)
This choose a proper IEntityClass object to which the entity belongs.
|
IEntityClass |
IEntityClassifierService.classifyEntity(Entity entity)
Classifies the given entity into an IEntityClass.
|
IEntityClass |
IDevice.getEntityClass()
Gets the entity class for the device.
|
IEntityClass |
Device.getEntityClass() |
IEntityClass |
OFMDefaultEntityClassifier.reclassifyEntity(IDevice curDevice,
Entity entity) |
IEntityClass |
IEntityClassifierService.reclassifyEntity(IDevice curDevice,
Entity entity)
Reclassifies the given entity into a class.
|
Modifier and Type | Method and Description |
---|---|
static Device |
Devices.allocateDevice(java.lang.Long deviceKey,
Entity entity,
IEntityClass entityClass)
Returns a new device.
|
static Device |
Device.allocateDevice(java.lang.Long deviceKey,
Entity entity,
IEntityClass entityClass) |
static Device |
Devices.allocateDevice(java.lang.Long deviceKey,
java.util.List<AttachmentPoint> aps,
java.util.List<AttachmentPoint> trueAPs,
java.util.Collection<Entity> entities,
IEntityClass entityClass)
Returns a new device.
|
boolean |
Devices.isEntityAllowed(Entity entity,
IEntityClass entityClass)
Is this entity is allowed?
|
java.util.Iterator<Device> |
OFMDeviceManager.queryClassByEntity(IEntityClass clazz,
java.util.EnumSet<IDeviceService.DeviceField> keyFields,
Entity entity) |
java.util.Iterator<Device> |
Devices.queryClassByEntity(IEntityClass clazz,
java.util.EnumSet<IDeviceService.DeviceField> keyFields,
Entity entity)
Returns an iterator of devices that related to the entity argument.
|
private void |
Devices.removeEntity(Entity removed,
IEntityClass entityClass,
java.lang.Long deviceKey,
java.util.Collection<Entity> others)
Removes the device of the deviceKey argument from the single and multi indices.
|
private void |
Devices.updateSecondaryIndices(Entity entity,
IEntityClass entityClass,
java.lang.Long deviceKey)
Updates the secondary indices for the given entity and associated
entity classes.
|
Constructor and Description |
---|
Device(java.lang.Long deviceKey,
java.util.Collection<AttachmentPoint> oldAPs,
java.util.Collection<AttachmentPoint> attachmentPoints,
java.util.Collection<Entity> entities,
IEntityClass entityClass)
Creates a device from a set of entities.
|
Device(java.lang.Long deviceKey,
Entity entity,
IEntityClass entityClass,
java.util.Collection<AttachmentPoint> attachmentPoints)
Creates a device from an entities.
|
DeviceIterator(java.util.Iterator<Device> subIterator,
IEntityClass[] entityClasses,
java.lang.Long macAddress,
java.lang.Short vlan,
java.lang.Integer ipv4Address,
java.lang.Long switchDPID,
java.lang.Integer switchPort)
Constructs a new device iterator over the key fields.
|