Remove plugin dependencies
[ovsdb.git] / openstack / net-virt / src / main / java / org / opendaylight / ovsdb / openstack / netvirt / api / OutboundNatProvider.java
1 /*
2  * Copyright (C) 2014 Red Hat, Inc.
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  * Authors : Dave Tucker, Flavio Fernandes
9  */
10
11 package org.opendaylight.ovsdb.openstack.netvirt.api;
12
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node;
14
15 import java.net.InetAddress;
16
17 /**
18  *  This interface allows NAT flows to be written to devices
19  */
20 public interface OutboundNatProvider {
21     Status programIpRewriteRule(Node node, Long dpid, String segmentationId, InetAddress matchAddress,
22                                 InetAddress rewriteAddress, Action action);
23
24     Status programIpRewriteExclusion(Node node, Long dpid, String segmentationId,
25                                      String excludedCidr, Action action);
26
27 }