Support for SNAT and DNAT features in L3 forwarding services.
[vpnservice.git] / natservice / natservice-impl / src / main / java / org / opendaylight / vpnservice / natservice / internal / SessionAddress.java
diff --git a/natservice/natservice-impl/src/main/java/org/opendaylight/vpnservice/natservice/internal/SessionAddress.java b/natservice/natservice-impl/src/main/java/org/opendaylight/vpnservice/natservice/internal/SessionAddress.java
new file mode 100644 (file)
index 0000000..eee5d4d
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ * Copyright (c) 2016 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.vpnservice.natservice.internal;
+
+public class SessionAddress {
+
+    private String ipAddress;
+    private int portNumber;
+
+    public SessionAddress(String ipAddress, int portNumber) {
+        this.ipAddress = ipAddress;
+        this.portNumber = portNumber;
+    }
+    public String getIpAddress() {
+        return ipAddress;
+    }
+    public int getPortNumber() {
+        return portNumber;
+    }
+
+}