2 * Copyright (c) 2016 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.netvirt.natservice.internal;
10 public class IPAddress {
12 private final String ipAddress;
13 private final int prefixLength;
15 public IPAddress(String ipAddress, int prefixLength) {
16 this.ipAddress = ipAddress;
17 this.prefixLength = prefixLength;
20 public String getIpAddress() {
24 public int getPrefixLength() {