2 * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.bgpmanager.globals;
10 import java.io.Serializable;
12 public class BgpConfiguration implements Serializable {
14 private static final long serialVersionUID = 1L;
17 String bgpServer = "";
20 String neighbourIp = "";
23 public BgpConfiguration() {
26 public String getBgpServer() {
30 public void setBgpServer(String bgpServer) {
31 this.bgpServer = bgpServer;
34 public int getBgpPort() {
38 public void setBgpPort(int bgpPort) {
39 this.bgpPort = bgpPort;
42 public long getAsNum() {
46 public void setAsNum(long asNum) {
50 public String getRouterId() {
54 public void setRouterId(String routerId) {
55 this.routerId = routerId;
58 public String getNeighbourIp() {
62 public void setNeighbourIp(String neighbourIp) {
63 this.neighbourIp = neighbourIp;
66 public int getNeighbourAsNum() {
67 return neighbourAsNum;
70 public void setNeighbourAsNum(int neighbourAsNum) {
71 this.neighbourAsNum = neighbourAsNum;
75 public String toString() {
76 return "BgpConfiguration{" +
78 ", bgpServer='" + bgpServer + '\'' +
79 ", bgpPort=" + bgpPort +
80 ", routerId='" + routerId + '\'' +
81 ", neighbourIp='" + neighbourIp + '\'' +
82 ", neighbourAsNum=" + neighbourAsNum +