X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=bgpmanager%2Fbgpmanager-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fbgpmanager%2Fglobals%2FBgpConfiguration.java;fp=bgpmanager%2Fbgpmanager-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fbgpmanager%2Fglobals%2FBgpConfiguration.java;h=e1d19502640b87addaf8fa339a7daf869db5724b;hb=e9c4ab6e5e6b53961c3189efe2aff48f2908055c;hp=0000000000000000000000000000000000000000;hpb=2bfbbe0cf9942ff975dc82fc298c603fd9cef6a6;p=vpnservice.git diff --git a/bgpmanager/bgpmanager-impl/src/main/java/org/opendaylight/bgpmanager/globals/BgpConfiguration.java b/bgpmanager/bgpmanager-impl/src/main/java/org/opendaylight/bgpmanager/globals/BgpConfiguration.java new file mode 100644 index 00000000..e1d19502 --- /dev/null +++ b/bgpmanager/bgpmanager-impl/src/main/java/org/opendaylight/bgpmanager/globals/BgpConfiguration.java @@ -0,0 +1,86 @@ +/* + * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ +package org.opendaylight.bgpmanager.globals; + +import java.io.Serializable; + +public class BgpConfiguration implements Serializable { + + private static final long serialVersionUID = 1L; + + long asNum; + String bgpServer = ""; + int bgpPort; + String routerId = ""; + String neighbourIp = ""; + int neighbourAsNum; + + public BgpConfiguration() { + } + + public String getBgpServer() { + return bgpServer; + } + + public void setBgpServer(String bgpServer) { + this.bgpServer = bgpServer; + } + + public int getBgpPort() { + return bgpPort; + } + + public void setBgpPort(int bgpPort) { + this.bgpPort = bgpPort; + } + + public long getAsNum() { + return asNum; + } + + public void setAsNum(long asNum) { + this.asNum = asNum; + } + + public String getRouterId() { + return routerId; + } + + public void setRouterId(String routerId) { + this.routerId = routerId; + } + + public String getNeighbourIp() { + return neighbourIp; + } + + public void setNeighbourIp(String neighbourIp) { + this.neighbourIp = neighbourIp; + } + + public int getNeighbourAsNum() { + return neighbourAsNum; + } + + public void setNeighbourAsNum(int neighbourAsNum) { + this.neighbourAsNum = neighbourAsNum; + } + + @Override + public String toString() { + return "BgpConfiguration{" + + "asNum=" + asNum + + ", bgpServer='" + bgpServer + '\'' + + ", bgpPort=" + bgpPort + + ", routerId='" + routerId + '\'' + + ", neighbourIp='" + neighbourIp + '\'' + + ", neighbourAsNum=" + neighbourAsNum + + '}'; + } + +}