blob: 597003ebc6ada3b01c6b57c4f478f2ea4a441357 [file] [log] [blame]
Jonathan Hart41349e92015-02-09 14:14:02 -08001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2015-present Open Networking Foundation
Jonathan Hart41349e92015-02-09 14:14:02 -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 */
Jonathan Hart2da1e602015-02-18 19:09:24 -080016package org.onosproject.routing;
Jonathan Hart41349e92015-02-09 14:14:02 -080017
Jonathan Hart4cb39882015-08-12 23:50:55 -040018import org.onosproject.routing.config.BgpConfig;
Jonathan Hart6344f572015-12-15 08:26:25 -080019import org.onosproject.routing.config.RouterConfig;
Pingping Line28ae4c2015-03-13 11:37:03 -070020
Jonathan Hart41349e92015-02-09 14:14:02 -080021/**
Jonathan Hartc9e36c52017-01-05 09:53:33 +130022 * Historical interface now used only as a centralised place to define routing
23 * config related constants.
Jonathan Hart41349e92015-02-09 14:14:02 -080024 */
25public interface RoutingService {
26
Jonathan Hart66018992015-07-31 11:19:27 -070027 String ROUTER_APP_ID = "org.onosproject.router";
28
Jonathan Hart4cb39882015-08-12 23:50:55 -040029 Class<BgpConfig> CONFIG_CLASS = BgpConfig.class;
Jonathan Hart6344f572015-12-15 08:26:25 -080030 Class<RouterConfig> ROUTER_CONFIG_CLASS = RouterConfig.class;
Jonathan Hart4cb39882015-08-12 23:50:55 -040031
Jonathan Hart41349e92015-02-09 14:14:02 -080032 /**
Jonathan Hartc9e36c52017-01-05 09:53:33 +130033 * Empty method to pacify checkstyle.
Pingping Line28ae4c2015-03-13 11:37:03 -070034 */
Jonathan Hartc9e36c52017-01-05 09:53:33 +130035 default void nothing() {
36 }
Jonathan Hart41349e92015-02-09 14:14:02 -080037}