Merge "Skeleton for the ovsdb-ui feature"
[netvirt.git] / openstack / net-virt / src / main / java / org / opendaylight / ovsdb / openstack / netvirt / impl / OpenstackRouter.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.impl;
12
13 import org.opendaylight.ovsdb.openstack.netvirt.ConfigInterface;
14 import org.opendaylight.ovsdb.openstack.netvirt.api.MultiTenantAwareRouter;
15
16 import java.net.InetAddress;
17 import java.util.UUID;
18 import org.osgi.framework.BundleContext;
19 import org.osgi.framework.ServiceReference;
20
21 /**
22  * OpenStack router implements the MultiTenantAwareRouter interfaces It provides routing functionality for multiple
23  * tenants in an OpenStack cloud
24  */
25 public class OpenstackRouter implements MultiTenantAwareRouter, ConfigInterface {
26
27     @Override
28     public void addInterface(UUID tenantId, String interfaceName, InetAddress address, int mask) {
29
30     }
31
32     @Override
33     public void addInterface(UUID tenantId, String interfaceName, String macAddress, InetAddress address, int mask) {
34
35     }
36
37     @Override
38     public void updateInterface(UUID tenantId, String interfaceName, InetAddress address, int mask) {
39
40     }
41
42     @Override
43     public void updateInterface(UUID tenantId, String interfaceName, String macAddress, InetAddress address, int mask) {
44
45     }
46
47     @Override
48     public void removeInterface(UUID tenantId, String interfaceName) {
49
50     }
51
52     @Override
53     public void addRoute(UUID tenantId, String destinationCidr, InetAddress nextHop) {
54
55     }
56
57     @Override
58     public void addRoute(UUID tenantId, String destinationCidr, InetAddress nextHop, Integer priority) {
59
60     }
61
62     @Override
63     public void removeRoute(UUID tenantId, String destinationCidr, InetAddress nextHop) {
64
65     }
66
67     @Override
68     public void removeRoute(UUID tenantId, String destinationCidr, InetAddress nextHop, Integer priority) {
69
70     }
71
72     @Override
73     public void addDefaultRoute(UUID tenantId, InetAddress nextHop) {
74
75     }
76
77     @Override
78     public void addDefaultRoute(UUID tenantId, InetAddress nextHop, Integer priority) {
79
80     }
81
82     @Override
83     public void addNatRule(UUID tenantId, InetAddress matchAddress, InetAddress rewriteAddress) {
84
85     }
86
87     @Override
88     public void setDependencies(BundleContext bundleContext, ServiceReference serviceReference) {
89
90     }
91
92     @Override
93     public void setDependencies(Object impl) {
94
95     }
96 }