Committed by
Gerrit Code Review
[ONOS-3225] Deletes tunnel package in vtnsrc bundle; There is no meaning
here. Change-Id: I89ba704c13a85d5e5a6f29c2406ffb4fcbc1101a
Showing
2 changed files
with
0 additions
and
92 deletions
apps/vtn/vtnrsc/src/main/java/org/onosproject/vtnrsc/tunnel/TunnelConfigService.java
deleted
100644 → 0
1 | -/* | ||
2 | - * Copyright 2015 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 | - */ | ||
16 | -package org.onosproject.vtnrsc.tunnel; | ||
17 | - | ||
18 | -import org.onosproject.vtnrsc.Subnet; | ||
19 | -import org.onosproject.vtnrsc.SubnetId; | ||
20 | - | ||
21 | - | ||
22 | -/** | ||
23 | - * Service for interacting with the inventory of subnets. | ||
24 | - */ | ||
25 | -public interface TunnelConfigService { | ||
26 | - /** | ||
27 | - * Returns the subnet with the specified identifier. | ||
28 | - * | ||
29 | - * @param subnetId subnet identifier | ||
30 | - * @return true or false | ||
31 | - */ | ||
32 | - boolean exists(SubnetId subnetId); | ||
33 | - /** | ||
34 | - * Returns a collection of the currently known subnets. | ||
35 | - * | ||
36 | - * @return iterable collection of subnets | ||
37 | - */ | ||
38 | - Iterable<Subnet> getSubnets(); | ||
39 | - | ||
40 | - /** | ||
41 | - * Returns the subnet with the specified identifier. | ||
42 | - * | ||
43 | - * @param subnetId subnet identifier | ||
44 | - * @return subnet or null if one with the given identifier is not known | ||
45 | - */ | ||
46 | - Subnet getSubnet(SubnetId subnetId); | ||
47 | - /** | ||
48 | - * Creates new subnets. | ||
49 | - * | ||
50 | - * @param subnets the iterable collection of subnets | ||
51 | - * @return true if the identifier subnet has been created right | ||
52 | - */ | ||
53 | - boolean createSubnets(Iterable<Subnet> subnets); | ||
54 | - | ||
55 | - /** | ||
56 | - * Updates existing subnets. | ||
57 | - * | ||
58 | - * @param subnets the iterable collection of subnets | ||
59 | - * @return true if all subnets were updated successfully | ||
60 | - */ | ||
61 | - boolean updateSubnets(Iterable<Subnet> subnets); | ||
62 | - | ||
63 | - /** | ||
64 | - * Administratively removes the specified subnets from the store. | ||
65 | - * | ||
66 | - * @param subnetIds the iterable collection of subnets identifier | ||
67 | - * @return true if remove identifier subnets successfully | ||
68 | - */ | ||
69 | - boolean removeSubnets(Iterable<SubnetId> subnetIds); | ||
70 | - | ||
71 | - | ||
72 | -} |
1 | -/* | ||
2 | - * Copyright 2015 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 | - */ | ||
16 | - | ||
17 | -/** | ||
18 | - * Service for interacting with the inventory of subnets. | ||
19 | - */ | ||
20 | -package org.onosproject.vtnrsc.tunnel; |
-
Please register or login to post a comment