Avantika-Huawei | 56c1184 | 2016-04-28 00:56:56 +0530 | [diff] [blame] | 1 | /* |
| 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 | */ |
Avantika-Huawei | fc10dca | 2016-06-10 16:13:55 +0530 | [diff] [blame] | 16 | package org.onosproject.pcep.controller; |
Avantika-Huawei | 56c1184 | 2016-04-28 00:56:56 +0530 | [diff] [blame] | 17 | |
| 18 | /** |
| 19 | * Collection of keys for annotation for PCEP tunnels. |
| 20 | */ |
| 21 | public 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"; |
Avantika-Huawei | 7f7376a | 2016-05-11 17:07:50 +0530 | [diff] [blame] | 54 | |
| 55 | /** |
| 56 | * Annotation key for the identification of initiated LSP. |
| 57 | */ |
| 58 | public static final String PCE_INIT = "pceInit"; |
Avantika-Huawei | dbdf772 | 2016-05-21 14:20:31 +0530 | [diff] [blame] | 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"; |
Avantika-Huawei | 56c1184 | 2016-04-28 00:56:56 +0530 | [diff] [blame] | 70 | } |