public final class AnnotationKeys
extends java.lang.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 java.lang.String |
BANDWIDTH
Annotation key for bandwidth.
|
static java.lang.String |
CHANNEL_ID
Annotation key for the channel id.
|
static java.lang.String |
DRIVER
Annotation key for the device driver name.
|
static java.lang.String |
DURABLE
Annotation key for durable links.
|
static java.lang.String |
GRID_X
Annotation key for grid-X (e.g.
|
static java.lang.String |
GRID_Y
Annotation key for grid-Y (e.g.
|
static java.lang.String |
LATENCY
Annotation key for latency.
|
static java.lang.String |
LATITUDE
Annotation key for latitude (e.g.
|
static java.lang.String |
LOC_TYPE
Annotation key for UI location type of device/host
(either 'geo' or 'grid').
|
static java.lang.String |
LONGITUDE
Annotation key for longitude (e.g.
|
static java.lang.String |
MANAGEMENT_ADDRESS
Annotation key for the management address.
|
static java.lang.String |
METRIC
Annotation key for link metric; used by
MetricLinkWeight function. |
static java.lang.String |
NAME
Annotation key for instance name.
|
static java.lang.String |
OPTICAL_WAVES
Annotation key for the number of optical waves.
|
static java.lang.String |
OWNER
Annotation key for device owner.
|
static java.lang.String |
PASSWORD
Annotation key for the password.
|
static java.lang.String |
PORT_IN
Annotation key for the optical channel receiving/in port (RX).
|
static java.lang.String |
PORT_MAC
Annotation key for the port mac.
|
static java.lang.String |
PORT_NAME
Annotation key for the port name.
|
static java.lang.String |
PORT_OUT
Annotation key for the optical channel port transmitting/out port (TX).
|
static java.lang.String |
PROTECTED
Link annotation key to express that a Link
is backed by underlying protection mechanism.
|
static java.lang.String |
PROTOCOL
Annotation key for southbound protocol.
|
static java.lang.String |
RACK_ADDRESS
Annotation key for device location.
|
static java.lang.String |
REST_SERVER
Annotation key for REST server identifier.
|
static java.lang.String |
ROUTER_ID
Annotation key for the router ID.
|
static java.lang.String |
SSHKEY
Annotation key for the sshkey.
|
static java.lang.String |
STATIC_LAMBDA
Annotation key for the static lambda.
|
static java.lang.String |
STATIC_PORT
Annotation key for the static port.
|
static java.lang.String |
TYPE
Deprecated.
since Cardinal
|
static java.lang.String |
UI_TYPE
Annotation key for UI type (the glyph ID for rendering).
|
static java.lang.String |
USERNAME
Annotation key for the username.
|
Modifier and Type | Method and Description |
---|---|
static double |
getAnnotatedValue(Annotated annotated,
java.lang.String key)
Returns the value annotated object for the specified annotation key.
|
public static final java.lang.String NAME
@Deprecated public static final java.lang.String TYPE
public static final java.lang.String UI_TYPE
public static final java.lang.String LOC_TYPE
public static final java.lang.String LATITUDE
public static final java.lang.String LONGITUDE
public static final java.lang.String GRID_Y
public static final java.lang.String GRID_X
public static final java.lang.String PROTOCOL
public static final java.lang.String DRIVER
public static final java.lang.String DURABLE
public static final java.lang.String METRIC
MetricLinkWeight
function.public static final java.lang.String LATENCY
public static final java.lang.String BANDWIDTH
public static final java.lang.String OPTICAL_WAVES
public static final java.lang.String PORT_NAME
public static final java.lang.String PORT_IN
public static final java.lang.String PORT_OUT
public static final java.lang.String PORT_MAC
public static final java.lang.String ROUTER_ID
public static final java.lang.String STATIC_LAMBDA
public static final java.lang.String STATIC_PORT
public static final java.lang.String RACK_ADDRESS
public static final java.lang.String OWNER
public static final java.lang.String CHANNEL_ID
public static final java.lang.String MANAGEMENT_ADDRESS
public static final java.lang.String USERNAME
public static final java.lang.String PASSWORD
public static final java.lang.String PROTECTED
public static final java.lang.String REST_SERVER
public static final java.lang.String SSHKEY
public static double getAnnotatedValue(Annotated annotated, java.lang.String key)
annotated
- annotated object whose annotated value is obtainedkey
- key of annotation