blob: 9e9fd25bf0687a63a15945908df6028014510d53 [file] [log] [blame]
yjimmyyb94f93b2016-07-11 16:03:48 -07001/*
2 * Copyright 2016-present Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.net.optical;
17
18import com.google.common.annotations.Beta;
19
20/**
21 * Collection of keys for annotation for optical devices.
22 */
23@Beta
24public final class OpticalAnnotations {
25
26 private OpticalAnnotations() {}
27
28 /**
29 * Annotation key for optical port's target power.
30 */
31 public static final String TARGET_POWER = "targetPower";
32
33 /**
34 * Annotation key for optical port's current power.
35 */
36 public static final String CURRENT_POWER = "currentPower";
37
38 /**
39 * Annotation key for optical port's neighbor's DeviceId#toString().
40 */
41 public static final String NEIGHBOR_ID = "neighborDeviceId";
42
43 /**
44 * Annotation key for optical port's neighbor's PortNumber#toString().
45 */
46 public static final String NEIGHBOR_PORT = "neighborPort";
47}