public class MacGroupId extends Object implements Distributable, ElementId, Serializable
(1) The datapath where the Mac group is applied to
(2) Type of Mac group: source or destination
(3) Id of the Mac group, which is an integer value
Modifier and Type | Field and Description |
---|---|
static int |
MAX_ID |
Modifier and Type | Method and Description |
---|---|
DataPathId |
dpId() |
boolean |
equals(Object obj) |
int |
grpId() |
int |
hashCode() |
String |
toString() |
MacGroup.Type |
type() |
static MacGroupId |
valueOf(DataPathId dpId,
MacGroup.Type type,
int grpId)
Generate Mac group ID
|
public static final int MAX_ID
public static MacGroupId valueOf(DataPathId dpId, MacGroup.Type type, int grpId)
dpId
- DataPath Id where the Mac group is applied totype
- Type of Mac group, source or destinationgrpId
- Integer Id of the Mac grouppublic DataPathId dpId()
public MacGroup.Type type()
public int grpId()
Copyright © 2016. All Rights Reserved.