Merge "UT for southbound/transactions/md - set 3"
[netvirt.git] / openstack / net-virt / src / main / java / org / opendaylight / ovsdb / openstack / netvirt / api / RoutingProvider.java
1 /*
2  * Copyright (c) 2014, 2015 Red Hat, Inc. 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
9 package org.opendaylight.ovsdb.openstack.netvirt.api;
10
11 import java.net.InetAddress;
12
13 /**
14  * This interface allows Routing flows to be written to devices
15  */
16 public interface RoutingProvider {
17
18     Status programRouterInterface(Long dpid, String srcSegId, String dstSegId, String macAddress,
19                                   InetAddress address, int mask, Action action);
20
21     Status programDefaultRouteEntry(Long dpid, String segmentationId, String macAddress,
22                                     InetAddress nextHop, Action action);
23
24 }