@Service public class DefaultVirtualGroupProvider extends AbstractVirtualProvider implements VirtualGroupProvider
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.net.group.GroupService |
groupService |
protected VirtualProviderRegistryService |
providerRegistryService |
| Constructor and Description |
|---|
DefaultVirtualGroupProvider()
Creates a virtual provider with the supplied identifier.
|
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
protected void |
modified(org.osgi.service.component.ComponentContext context) |
void |
performGroupOperation(NetworkId networkId,
org.onosproject.net.DeviceId deviceId,
org.onosproject.net.group.GroupOperations groupOps)
Performs a batch of group operation in the specified virtual device
with the specified parameters.
|
idclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitid@Reference(cardinality=MANDATORY_UNARY) protected VirtualProviderRegistryService providerRegistryService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.group.GroupService groupService
public DefaultVirtualGroupProvider()
@Activate public void activate()
@Deactivate public void deactivate()
@Modified protected void modified(org.osgi.service.component.ComponentContext context)
public void performGroupOperation(NetworkId networkId, org.onosproject.net.DeviceId deviceId, org.onosproject.net.group.GroupOperations groupOps)
VirtualGroupProviderperformGroupOperation in interface VirtualGroupProvidernetworkId - the identity of the virtual network where this rule appliesdeviceId - device identifier on which the batch of group
operations to be executedgroupOps - immutable list of group operation