2 * Copyright (C) 2014 Red Hat, Inc.
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 * Authors : Dave Tucker, Flavio Fernandes
11 package org.opendaylight.ovsdb.openstack.netvirt.api;
13 import java.net.InetAddress;
16 * This interface allows NAT flows to be written to devices
18 public interface InboundNatProvider {
19 Status programIpRewriteRule(Long dpid, String segmentationId, InetAddress matchAddress,
20 InetAddress rewriteAddress, Action action);
22 Status programIpRewriteExclusion(Long dpid, String segmentationId,
23 String excludedCidr, Action action);