blob: 2c8c162e3b9a1685d50d3f6c74b7f695cab8d53a [file] [log] [blame]
mohamedrahil00f6f262016-11-24 20:20:41 +05301/*
2 * Copyright 2016-present Open Networking Laboratory
3 *
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.pcep.controller.impl;
17
18import org.onosproject.pcep.controller.PccId;
19import org.onosproject.pcep.controller.PcepCfg;
20import 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}