public final class MacMapChange extends Object
MacMapChange class keeps differences to be applied
to MAC mapping configuration.| Modifier and Type | Field and Description |
|---|---|
static int |
DONT_PURGE
A flag bit which indicates obsolete network caches do not need to be
purged.
|
static int |
REMOVING
A flag bit which indicates the MAC mapping will be removed.
|
| Constructor and Description |
|---|
MacMapChange(Set<MacVlan> allow,
Set<MacVlan> deny,
int flags)
Construct a new instance used to resume or destroy MAC mapping.
|
MacMapChange(Set<MacVlan> allowAdded,
Set<MacVlan> allowRemoved,
Set<MacVlan> denyAdded,
Set<MacVlan> denyRemoved,
int flags)
Construct a new instance used to change MAC mapping configuration.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
dontPurge()
Determine whether obsolete network caches does not need to be purged
or not.
|
Set<MacVlan> |
getAllowAddedSet()
Return a set of
MacVlan instances to be added to the allowed
host set. |
Set<MacVlan> |
getAllowRemovedSet()
Return a set of
MacVlan instances to be removed from the allowed
host set. |
Set<MacVlan> |
getDenyAddedSet()
Return a set of
MacVlan instances to be added to the denied
host set. |
Set<MacVlan> |
getDenyRemovedSet()
Return a set of
MacVlan instances to be removed from the denied
host set. |
boolean |
isRemoving()
Determine whether the MAC mapping is going to be removed or not.
|
public static final int REMOVING
public static final int DONT_PURGE
public MacMapChange(Set<MacVlan> allowAdded, Set<MacVlan> allowRemoved, Set<MacVlan> denyAdded, Set<MacVlan> denyRemoved, int flags)
allowAdded - A set of MacVlan instances to be added
to the allowed host set.allowRemoved - A set of MacVlan instances to be removed
from the allowed host set.denyAdded - A set of MacVlan instances to be added
to the denied host set.denyRemoved - A set of MacVlan instances to be removed
from the denied host set.flags - A bitwise OR-ed flags.public Set<MacVlan> getAllowAddedSet()
MacVlan instances to be added to the allowed
host set.MacVlan instances to be added to the allowed
host set.public Set<MacVlan> getAllowRemovedSet()
MacVlan instances to be removed from the allowed
host set.MacVlan instances to be removed from the
allowed host set.public Set<MacVlan> getDenyAddedSet()
MacVlan instances to be added to the denied
host set.MacVlan instances to be added to the denied
host set.public Set<MacVlan> getDenyRemovedSet()
MacVlan instances to be removed from the denied
host set.MacVlan instances to be removed from the
denied host set.public boolean isRemoving()
true is returned only if the MAC mapping is going to
be removed.public boolean dontPurge()
true is returned only if network caches does not need
to be purged.Copyright © 2018 OpenDaylight. All rights reserved.