blob: e95574ab063e9990e967c7e98eb6473a6def0af5 [file] [log] [blame]
Henry Yu4b4a7eb2016-11-09 20:07:53 -05001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2016 Open Networking Foundation
Henry Yu4b4a7eb2016-11-09 20:07:53 -05003 *
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.tetopology.management.api;
17
18/**
19 * The common TE constants.
20 */
21public final class TeConstants {
22 /**
23 * Lowest priority of a GMPLS traffic link.
24 */
25 public static final short MIN_PRIORITY = 0;
26
27 /**
28 * Highest priority of a GMPLS traffic link.
29 */
30 public static final short MAX_PRIORITY = 7;
31
32 /**
33 * Size of the BitSet flags used in TE Topology data structures, such as
34 * TE links, TE nodes, and TE topologies.
35 */
36 public static final short FLAG_MAX_BITS = 16;
37
38 /**
39 * Indication of a Nil flag or a uninitialized long integer.
40 */
41 public static final long NIL_LONG_VALUE = 0;
42
43 // no instantiation
44 private TeConstants() {
45 }
46}