Bug9016:Using Single Transaction during NAPT SwitchOver
[netvirt.git] / vpnservice / natservice / natservice-impl / src / main / java / org / opendaylight / netvirt / natservice / internal / IPAddress.java
1 /*
2  * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.netvirt.natservice.internal;
9
10 public class IPAddress {
11
12     private String ipAddress;
13     private int prefixLength;
14
15     public String getIpAddress() {
16         return ipAddress;
17     }
18
19     public int getPrefixLength() {
20         return prefixLength;
21     }
22
23     public IPAddress(String ipAddress, int prefixLength) {
24         this.ipAddress = ipAddress;
25         this.prefixLength = prefixLength;
26     }
27 }