public class DeviceCapability
extends org.onosproject.net.config.Config<org.onosproject.net.DeviceId>
| Modifier and Type | Field and Description |
|---|---|
static String |
LABELSTACKCAP |
static String |
LOCALLABELCAP |
static String |
SRCAP |
| Constructor and Description |
|---|
DeviceCapability() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid() |
boolean |
labelStackCap()
Gets the label stack capability of the router.
|
boolean |
localLabelCap()
Gets the local label capability of the router.
|
DeviceCapability |
setLabelStackCap(boolean labelStackCap)
Sets the label stack capability of the router.
|
DeviceCapability |
setLocalLabelCap(boolean localLabelCap)
Sets the local label capability of the router.
|
DeviceCapability |
setSrCap(boolean srCap)
Sets the SR capability of the router.
|
boolean |
srCap()
Gets the SR capability of the router.
|
apply, clear, get, get, get, get, get, get, getList, getList, hasField, hasField, hasFields, hasFields, hasOnlyFields, hasOnlyFields, init, isBoolean, isBoolean, isConnectPoint, isConnectPoint, isDecimal, isDecimal, isIntegralNumber, isIntegralNumber, isIpAddress, isIpAddress, isIpPrefix, isIpPrefix, isMacAddress, isMacAddress, isNumber, isNumber, isString, isString, isTpPort, isTpPort, isValidLength, key, node, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, subjectpublic static final String SRCAP
public static final String LABELSTACKCAP
public static final String LOCALLABELCAP
public boolean isValid()
isValid in class org.onosproject.net.config.Config<org.onosproject.net.DeviceId>public boolean srCap()
public boolean labelStackCap()
public boolean localLabelCap()
public DeviceCapability setSrCap(boolean srCap)
srCap - SR capability of the router.public DeviceCapability setLabelStackCap(boolean labelStackCap)
labelStackCap - label stack capability of the router.public DeviceCapability setLocalLabelCap(boolean localLabelCap)
localLabelCap - local label capability of the router.