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 org.opendaylight.controller.sal.core.Node;
14 import org.opendaylight.controller.sal.utils.Status;
15 import org.opendaylight.ovsdb.openstack.netvirt.AbstractEvent;
17 import java.net.InetAddress;
20 * A MultiTenantForwardingProvider provides Multi-Tenant L3 Forwarding
22 public interface MultiTenantRouterForwardingProvider {
24 Status programStaticArpEntry(Node node, Long dpid, String segmentationId,
25 String macAddress, InetAddress ipAddress, AbstractEvent.Action action);
27 Status programIpRewriteRule(Node node, Long dpid, String segmentationId, InetAddress matchAddress,
28 InetAddress rewriteAddress, AbstractEvent.Action action);
30 Status programIpRewriteExclusion(Node node, Long dpid, String segmentationId,
31 String excludedCidr, AbstractEvent.Action action);
33 Status programRouterInterface(Node node, Long dpid, String segmentationId, String macAddress,
34 InetAddress address, int mask, AbstractEvent.Action action);
36 Status programForwardingTableEntry(Node node, Long dpid, String segmentationId, InetAddress ipAddress,
37 String macAddress, AbstractEvent.Action action);
39 Status programDefaultRouteEntry(Node node, Long dpid, String segmentationId, String macAddress,
40 InetAddress nextHop, AbstractEvent.Action action);