blob: 91dca0346bdab4e598a90f9e2636ecc8079bef8b [file] [log] [blame]
Avantika-Huaweidbdf7722016-05-21 14:20:31 +05301/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2016-present Open Networking Foundation
Avantika-Huaweidbdf7722016-05-21 14:20:31 +05303 *
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.pce.pceservice;
17
18/**
19 * Collection of keys for annotation for PCEP tunnels.
20 */
21public final class PcepAnnotationKeys {
22
23 /**
24 * Prohibits instantiation.
25 */
26 private PcepAnnotationKeys() {
27 }
28
29 /**
30 * Annotation key for bandwidth.
31 * The value for this key is interpreted as Mbps.
32 */
33 public static final String BANDWIDTH = "bandwidth";
34
35 /**
36 * Annotation key for the LSP signaling type.
37 */
38 public static final String LSP_SIG_TYPE = "lspSigType";
39
40 /**
41 * Annotation key for the PCC tunnel id.
42 */
43 public static final String PCC_TUNNEL_ID = "PccTunnelId";
44
45 /**
46 * Annotation key for the LSP id assigned per tunnel per session.
47 */
48 public static final String PLSP_ID = "PLspId";
49
50 /**
51 * Annotation key for the LSP id assigned per tunnel.
52 */
53 public static final String LOCAL_LSP_ID = "localLspId";
54
55 /**
56 * Annotation key for the identification of initiated LSP.
57 */
58 public static final String PCE_INIT = "pceInit";
59
60 /**
61 * Annotation key for the cost type.
62 */
63 public static final String COST_TYPE = "costType";
64
65 /**
66 * Annotation key for the Delegation.
67 * Whether LSPs are delegated or not.
68 */
69 public static final String DELEGATE = "delegate";
70}