blob: ce3d3e12a5a1245c01950ad14a4a039f6146a08d [file] [log] [blame]
Kalyankumar Asangi27728f22016-02-17 15:46:28 +05301/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2016-present Open Networking Laboratory
Kalyankumar Asangi27728f22016-02-17 15:46:28 +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.ospf.controller.util;
17
18/**
19 * Enum represents OSPF link type.
20 */
21public enum OspfLinkType {
22
23 /**
24 * Indicates a point-to-point connection to another router.
25 */
26 POINT_TO_POINT,
27
28 /**
29 * Indicates a connection to a transit network.
30 */
31 TO_TRANSIT_NET,
32
33 /**
34 * Indicates a connection to a stub network.
35 */
36 TO_STUB_NET,
37
38 /**
39 * Indicates a Virtual link to another area border router.
40 */
Jon Hall8c7b06a2017-02-22 13:37:33 -080041 VIRTUAL_LINK
Kalyankumar Asangi27728f22016-02-17 15:46:28 +053042}