public final class AnnotationKeys extends Object
Number of the annotation keys have been deprecated as the use of annotations is being phased out and instead network configuration subsystem is being phased-in for majority of model meta-data.
| Modifier and Type | Field and Description |
|---|---|
static String |
BANDWIDTH
Annotation key for bandwidth.
|
static String |
CHANNEL_ID
Annotation key for the channel id.
|
static String |
DRIVER
Annotation key for the device driver name.
|
static String |
DURABLE
Annotation key for durable links.
|
static String |
LATENCY
Annotation key for latency.
|
static String |
LATITUDE
Annotation key for latitude (e.g.
|
static String |
LONGITUDE
Annotation key for longitude (e.g.
|
static String |
MANAGEMENT_ADDRESS
Annotation key for the management address.
|
static String |
METRIC
Annotation key for link metric; used by
MetricLinkWeight function. |
static String |
NAME
Annotation key for instance name.
|
static String |
OPTICAL_WAVES
Annotation key for the number of optical waves.
|
static String |
OWNER
Annotation key for device owner.
|
static String |
PASSWORD
Annotation key for the password.
|
static String |
PORT_MAC
Annotation key for the port mac.
|
static String |
PORT_NAME
Annotation key for the port name.
|
static String |
PROTOCOL
Annotation key for southbound protocol.
|
static String |
RACK_ADDRESS
Annotation key for device location.
|
static String |
ROUTER_ID
Annotation key for the router ID.
|
static String |
STATIC_LAMBDA
Annotation key for the static lambda.
|
static String |
STATIC_PORT
Annotation key for the static port.
|
static String |
TYPE
Deprecated.
since Cardinal
|
static String |
USERNAME
Annotation key for the username.
|
| Modifier and Type | Method and Description |
|---|---|
static double |
getAnnotatedValue(Annotated annotated,
String key)
Returns the value annotated object for the specified annotation key.
|
public static final String NAME
@Deprecated public static final String TYPE
public static final String LATITUDE
public static final String LONGITUDE
public static final String PROTOCOL
public static final String DRIVER
public static final String DURABLE
public static final String METRIC
MetricLinkWeight function.public static final String LATENCY
public static final String BANDWIDTH
public static final String OPTICAL_WAVES
public static final String PORT_NAME
public static final String PORT_MAC
public static final String ROUTER_ID
public static final String STATIC_LAMBDA
public static final String STATIC_PORT
public static final String RACK_ADDRESS
public static final String OWNER
public static final String CHANNEL_ID
public static final String MANAGEMENT_ADDRESS
public static final String USERNAME
public static final String PASSWORD
public static double getAnnotatedValue(Annotated annotated, String key)
annotated - annotated object whose annotated value is obtainedkey - key of annotation