blob: 8925b4a4ce1ae6fb34cd3ae5551731cc5fb4470d [file] [log] [blame]
Thomas Vachuskaa026be72015-12-07 16:00:37 -08001/*
2 * Copyright 2014-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
17package org.onosproject.vtnweb.resources;
18
19import org.onlab.rest.AbstractWebApplication;
20
21import java.util.Set;
22
23/**
24 * VTN REST API web application.
25 */
26public class VtnWebApplication extends AbstractWebApplication {
27 @Override
28 public Set<Class<?>> getClasses() {
29 return getClasses(TenantNetworkWebResource.class,
30 SubnetWebResource.class,
31 VirtualPortWebResource.class,
32 FlowClassifierWebResource.class,
33 PortChainWebResource.class,
34 PortPairGroupWebResource.class,
35 PortPairWebResource.class,
36 FloatingIpWebResource.class,
Jian Li9d616492016-03-09 10:52:49 -080037 RouterWebResource.class,
38 ClassifierWebResource.class);
Thomas Vachuskaa026be72015-12-07 16:00:37 -080039 }
40}
41