@Service public class SimpleVirtualGroupStore extends AbstractVirtualStore<org.onosproject.net.group.GroupEvent,org.onosproject.net.group.GroupStoreDelegate> implements org.onosproject.incubator.net.virtual.VirtualNetworkGroupStore
delegateMap| Constructor and Description |
|---|
SimpleVirtualGroupStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
addOrUpdateExtraneousGroupEntry(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.group.Group group) |
void |
addOrUpdateGroupEntry(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.group.Group group) |
void |
deactivate() |
void |
deleteGroupDescription(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.DeviceId deviceId,
org.onosproject.net.group.GroupKey appCookie) |
void |
deviceInitialAuditCompleted(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.DeviceId deviceId,
boolean completed) |
boolean |
deviceInitialAuditStatus(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.DeviceId deviceId) |
Iterable<org.onosproject.net.group.Group> |
getExtraneousGroups(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.DeviceId deviceId) |
org.onosproject.net.group.Group |
getGroup(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.DeviceId deviceId,
org.onosproject.core.GroupId groupId) |
org.onosproject.net.group.Group |
getGroup(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.DeviceId deviceId,
org.onosproject.net.group.GroupKey appCookie) |
int |
getGroupCount(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.DeviceId deviceId) |
Iterable<org.onosproject.net.group.Group> |
getGroups(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.DeviceId deviceId) |
void |
groupOperationFailed(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.DeviceId deviceId,
org.onosproject.net.group.GroupOperation operation) |
void |
notifyOfFailovers(org.onosproject.incubator.net.virtual.NetworkId networkId,
Collection<org.onosproject.net.group.Group> failoverGroups) |
void |
purgeGroupEntries(org.onosproject.incubator.net.virtual.NetworkId networkId) |
void |
purgeGroupEntry(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.DeviceId deviceId) |
void |
pushGroupMetrics(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.DeviceId deviceId,
Collection<org.onosproject.net.group.Group> groupEntries) |
void |
removeExtraneousGroupEntry(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.group.Group group) |
void |
removeGroupEntry(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.group.Group group) |
void |
storeGroupDescription(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.group.GroupDescription groupDesc) |
void |
updateGroupDescription(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.DeviceId deviceId,
org.onosproject.net.group.GroupKey oldAppCookie,
org.onosproject.incubator.net.virtual.VirtualNetworkGroupStore.UpdateType type,
org.onosproject.net.group.GroupBuckets newBuckets,
org.onosproject.net.group.GroupKey newAppCookie) |
hasDelegate, notifyDelegate, notifyDelegate, setDelegate, unsetDelegate@Activate public void activate()
@Deactivate public void deactivate()
public int getGroupCount(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.DeviceId deviceId)
getGroupCount in interface org.onosproject.incubator.net.virtual.VirtualNetworkGroupStorepublic Iterable<org.onosproject.net.group.Group> getGroups(org.onosproject.incubator.net.virtual.NetworkId networkId, org.onosproject.net.DeviceId deviceId)
getGroups in interface org.onosproject.incubator.net.virtual.VirtualNetworkGroupStorepublic org.onosproject.net.group.Group getGroup(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.DeviceId deviceId,
org.onosproject.net.group.GroupKey appCookie)
getGroup in interface org.onosproject.incubator.net.virtual.VirtualNetworkGroupStorepublic org.onosproject.net.group.Group getGroup(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.DeviceId deviceId,
org.onosproject.core.GroupId groupId)
getGroup in interface org.onosproject.incubator.net.virtual.VirtualNetworkGroupStorepublic void storeGroupDescription(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.group.GroupDescription groupDesc)
storeGroupDescription in interface org.onosproject.incubator.net.virtual.VirtualNetworkGroupStorepublic void updateGroupDescription(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.DeviceId deviceId,
org.onosproject.net.group.GroupKey oldAppCookie,
org.onosproject.incubator.net.virtual.VirtualNetworkGroupStore.UpdateType type,
org.onosproject.net.group.GroupBuckets newBuckets,
org.onosproject.net.group.GroupKey newAppCookie)
updateGroupDescription in interface org.onosproject.incubator.net.virtual.VirtualNetworkGroupStorepublic void deleteGroupDescription(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.DeviceId deviceId,
org.onosproject.net.group.GroupKey appCookie)
deleteGroupDescription in interface org.onosproject.incubator.net.virtual.VirtualNetworkGroupStorepublic void addOrUpdateGroupEntry(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.group.Group group)
addOrUpdateGroupEntry in interface org.onosproject.incubator.net.virtual.VirtualNetworkGroupStorepublic void removeGroupEntry(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.group.Group group)
removeGroupEntry in interface org.onosproject.incubator.net.virtual.VirtualNetworkGroupStorepublic void purgeGroupEntry(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.DeviceId deviceId)
purgeGroupEntry in interface org.onosproject.incubator.net.virtual.VirtualNetworkGroupStorepublic void purgeGroupEntries(org.onosproject.incubator.net.virtual.NetworkId networkId)
purgeGroupEntries in interface org.onosproject.incubator.net.virtual.VirtualNetworkGroupStorepublic void addOrUpdateExtraneousGroupEntry(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.group.Group group)
addOrUpdateExtraneousGroupEntry in interface org.onosproject.incubator.net.virtual.VirtualNetworkGroupStorepublic void removeExtraneousGroupEntry(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.group.Group group)
removeExtraneousGroupEntry in interface org.onosproject.incubator.net.virtual.VirtualNetworkGroupStorepublic Iterable<org.onosproject.net.group.Group> getExtraneousGroups(org.onosproject.incubator.net.virtual.NetworkId networkId, org.onosproject.net.DeviceId deviceId)
getExtraneousGroups in interface org.onosproject.incubator.net.virtual.VirtualNetworkGroupStorepublic void deviceInitialAuditCompleted(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.DeviceId deviceId,
boolean completed)
deviceInitialAuditCompleted in interface org.onosproject.incubator.net.virtual.VirtualNetworkGroupStorepublic boolean deviceInitialAuditStatus(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.DeviceId deviceId)
deviceInitialAuditStatus in interface org.onosproject.incubator.net.virtual.VirtualNetworkGroupStorepublic void groupOperationFailed(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.DeviceId deviceId,
org.onosproject.net.group.GroupOperation operation)
groupOperationFailed in interface org.onosproject.incubator.net.virtual.VirtualNetworkGroupStorepublic void pushGroupMetrics(org.onosproject.incubator.net.virtual.NetworkId networkId,
org.onosproject.net.DeviceId deviceId,
Collection<org.onosproject.net.group.Group> groupEntries)
pushGroupMetrics in interface org.onosproject.incubator.net.virtual.VirtualNetworkGroupStorepublic void notifyOfFailovers(org.onosproject.incubator.net.virtual.NetworkId networkId,
Collection<org.onosproject.net.group.Group> failoverGroups)
notifyOfFailovers in interface org.onosproject.incubator.net.virtual.VirtualNetworkGroupStore