blob: 101059a595fe8dc4415895a68a7ab8098180897d [file] [log] [blame]
sangho0c2a3da2016-02-16 13:39:07 +09001/*
2 * Copyright 2016 Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.openstacknetworking;
17
18/**
19 * The Interface of Openstack Routing.
20 */
21public interface OpenstackRoutingService {
22
23 /**
24 * Stores the Floating IP information created by Openstack.
25 *
26 * @param openstackFloatingIP Floating IP information
27 */
28 void createFloatingIP(OpenstackFloatingIP openstackFloatingIP);
29
30 /**
31 * Updates flow rules corresponding to the Floating IP information updated by Openstack.
32 *
33 * @param openstackFloatingIP Floating IP information
34 */
35 void updateFloatingIP(OpenstackFloatingIP openstackFloatingIP);
36
37 /**
38 * Removes flow rules corresponding to Floating IP information removed by Openstack.
39 *
40 * @param id Deleted Floating IP`s ID
41 */
42 void deleteFloatingIP(String id);
43
44 /**
45 * Stores the router information created by Openstack.
46 *
47 * @param openstackRouter Floating IP information
48 */
49 void createRouter(OpenstackRouter openstackRouter);
50
51 /**
52 * Updates flow rules corresponding to the router information updated by Openstack.
53 *
54 * @param openstackRouter Router information
55 */
56 void updateRouter(OpenstackRouter openstackRouter);
57
58 /**
59 * Removes flow rules corresponding to the router information removed by Openstack.
60 *
61 * @param id Deleted router`s ID
62 */
63 void deleteRouter(String id);
64
65 /**
66 * Updates flow rules corresponding to the router information updated by Openstack.
67 *
68 * @param openstackRouterInterface Router information
69 */
70 void updateRouterInterface(OpenstackRouterInterface openstackRouterInterface);
71
72 /**
73 * Removes flow rules corresponding to the router information removed by Openstack.
74 *
75 * @param openstackRouterInterface Router information
76 */
77 void removeRouterInterface(OpenstackRouterInterface openstackRouterInterface);
78
79
80}