Jian Li | e2a53cb | 2020-12-19 01:26:57 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2020-present Open Networking Foundation |
| 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.kubevirtnetworking.web; |
| 17 | |
| 18 | import org.onlab.rest.AbstractWebApplication; |
| 19 | |
| 20 | import java.util.Set; |
| 21 | |
| 22 | /** |
| 23 | * KubeVirt networking REST APIs web application. |
| 24 | */ |
| 25 | public class KubevirtNetworkingWebApplication extends AbstractWebApplication { |
| 26 | @Override |
| 27 | public Set<Class<?>> getClasses() { |
Jian Li | 858ccd7 | 2021-02-04 17:25:01 +0900 | [diff] [blame] | 28 | return getClasses( |
| 29 | KubevirtNetworkWebResource.class, |
Jian Li | 810f58c | 2021-02-27 01:10:50 +0900 | [diff] [blame] | 30 | KubevirtManagementWebResource.class, |
Jian Li | 1c10cf2 | 2021-03-05 01:32:04 +0900 | [diff] [blame] | 31 | KubevirtRouterWebResource.class, |
| 32 | KubevirtFloatingIpsWebResource.class, |
| 33 | KubevirtSecurityGroupWebResource.class |
Jian Li | 858ccd7 | 2021-02-04 17:25:01 +0900 | [diff] [blame] | 34 | ); |
Jian Li | e2a53cb | 2020-12-19 01:26:57 +0900 | [diff] [blame] | 35 | } |
| 36 | } |