BgpManager Initial commit
[vpnservice.git] / bgpmanager / bgpmanager-impl / src / main / java / org / opendaylight / bgpmanager / globals / BgpConfiguration.java
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 (file)
index 0000000..e1d1950
--- /dev/null
@@ -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 +
+            '}';
+    }
+
+}