blob: e6b5fe1a87a04899a33dec835713eae27a54d3bf [file] [log] [blame]
mohamedrahil00f6f262016-11-24 20:20:41 +05301/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2016-present Open Networking Foundation
mohamedrahil00f6f262016-11-24 20:20:41 +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 */
harikrushna-Huawei6ecfc772017-04-10 18:22:00 +053016package org.onosproject.pcep.server.impl;
mohamedrahil00f6f262016-11-24 20:20:41 +053017
harikrushna-Huawei6ecfc772017-04-10 18:22:00 +053018import org.onosproject.pcep.server.PccId;
19import org.onosproject.pcep.server.PcepCfg;
mohamedrahil00f6f262016-11-24 20:20:41 +053020import org.slf4j.Logger;
21import org.slf4j.LoggerFactory;
22
23import java.util.TreeMap;
24
25
26public class PcepConfig implements PcepCfg {
27
28 protected static final Logger log = LoggerFactory.getLogger(PcepConfig.class);
29
30 private State state = State.INIT;
31 private PccId pccId;
32 private TreeMap<String, PcepCfg> bgpPeerTree = new TreeMap<>();
33
34 @Override
35 public State getState() {
36 return state;
37 }
38
39 @Override
40 public void setState(State state) {
41 this.state = state;
42 }
43
44}