blob: 767184c7b0bc5319a0e429edab2f78718bccedeb [file] [log] [blame]
sunish vk30637eb2016-02-16 15:19:32 +05301/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2016-present Open Networking Foundation
sunish vk30637eb2016-02-16 15:19:32 +05303 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
5 * the License. You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
10 * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
11 * specific language governing permissions and limitations under the License.
12 */
13package org.onosproject.ospf.controller;
14
15import java.util.List;
16
17/**
18 * Represents an OSPF Process.
19 */
20public interface OspfProcess {
21
22 /**
23 * Gets the list of areas belonging to this process.
24 *
25 * @return list of areas belonging to this process
26 */
27 public List<OspfArea> areas();
28
29 /**
30 * Sets the list of areas belonging to this process.
31 *
32 * @param areas list of areas belonging to this process
33 */
34 public void setAreas(List<OspfArea> areas);
35
36 /**
37 * Gets the process id.
38 *
39 * @return process id
40 */
41 public String processId();
42
43 /**
44 * Sets the process id.
45 *
46 * @param processId the process id
47 */
48 public void setProcessId(String processId);
49}