blob: 1f282cbbbba52fa3f278d205fc0c375bc5c7f5b3 [file] [log] [blame]
Hyunsun Moon97eaf502015-12-07 14:06:28 -08001/*
Brian O'Connor8e57fd52016-04-09 01:19:45 -07002 * Copyright 2015-present Open Networking Laboratory
Hyunsun Moon97eaf502015-12-07 14:06:28 -08003 *
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
alshabibb4d31712016-06-01 18:51:03 -070017package org.opencord.cordvtn.rest;
Hyunsun Moon97eaf502015-12-07 14:06:28 -080018
19import org.onlab.rest.AbstractWebApplication;
20
21import java.util.Set;
22
23/**
24 * CORD VTN Web application.
25 */
26public class CordVtnWebApplication extends AbstractWebApplication {
27 @Override
28 public Set<Class<?>> getClasses() {
Hyunsun Moone5a1fc32016-09-02 16:01:01 -070029 return getClasses(ServiceNetworkWebResource.class,
30 ServicePortWebResource.class,
31 ServiceDependencyWebResource.class,
Hyunsun Moonb6febbe2016-02-12 15:59:53 -080032 NeutronMl2NetworksWebResource.class,
33 NeutronMl2SubnetsWebResource.class,
Hyunsun Moona5871462016-11-08 17:54:48 -080034 NeutronMl2PortsWebResource.class,
35 CordVtnWebLoggingFilter.class);
Hyunsun Moon97eaf502015-12-07 14:06:28 -080036 }
37}