blob: 2b9dab3b53979f28cad7db5f5b36e47b20586969 [file] [log] [blame]
Kiran Ramachandrac92a1222016-03-30 13:05:31 +05301/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2016-present Open Networking Laboratory
Kiran Ramachandrac92a1222016-03-30 13:05: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.isis.controller;
17
18/**
19 * Representation of an ISIS interface.
20 */
21public interface IsisInterface {
22
23 /**
24 * Sets interface index.
25 *
26 * @param interfaceIndex interface index
27 */
28 void setInterfaceIndex(int interfaceIndex);
29
30 /**
31 * Sets intermediate system name.
32 *
33 * @param intermediateSystemName intermediate system name
34 */
35 void setIntermediateSystemName(String intermediateSystemName);
36
37 /**
38 * Sets system ID.
39 *
40 * @param systemId system ID
41 */
42 void setSystemId(String systemId);
43
44 /**
45 * Sets LAN ID.
46 *
47 * @param lanId LAN ID
48 */
49 void setLanId(String lanId);
50
51 /**
52 * Sets ID length.
53 *
54 * @param idLength ID length
55 */
56 void setIdLength(int idLength);
57
58 /**
59 * Sets max area addresses.
60 *
61 * @param maxAreaAddresses max area addresses
62 */
63 void setMaxAreaAddresses(int maxAreaAddresses);
64
65 /**
66 * Sets reserved packet circuit type.
67 *
68 * @param reservedPacketCircuitType reserved packet circuit type
69 */
70 void setReservedPacketCircuitType(int reservedPacketCircuitType);
71
72 /**
73 * Sets point to point.
74 *
75 * @param p2p point to point
76 */
77 void setP2p(int p2p);
78
79 /**
80 * Sets area address.
81 *
82 * @param areaAddress area address
83 */
84 void setAreaAddress(String areaAddress);
85
86 /**
87 * Sets area length.
88 *
89 * @param areaLength area length
90 */
91 void setAreaLength(int areaLength);
92
93 /**
94 * Sets link state packet ID.
95 *
96 * @param lspId link state packet ID
97 */
98 void setLspId(String lspId);
99
100 /**
101 * Sets holding time.
102 *
103 * @param holdingTime holding time
104 */
105 void setHoldingTime(int holdingTime);
106
107 /**
108 * Sets priority.
109 *
110 * @param priority priority
111 */
112 void setPriority(int priority);
113
114 /**
115 * Sets hello interval.
116 *
117 * @param helloInterval hello interval
118 */
119 void setHelloInterval(int helloInterval);
120}