blob: a91621fffb0a4d1c90121136214770a4aeee9f76 [file] [log] [blame]
Andrea Campanella37f07e42021-02-16 11:24:39 +01001/*
2 * Copyright 2021-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
17package org.opencord.olt.driver;
18
19import org.onosproject.net.driver.AbstractDriverLoader;
20import org.osgi.service.component.annotations.Component;
21import org.slf4j.Logger;
22
23import static org.slf4j.LoggerFactory.getLogger;
24
25/**
26 * Loader for olt device drivers.
27 */
28@Component(immediate = true)
29public class OltDriversLoader extends AbstractDriverLoader {
30
31 private final Logger log = getLogger(getClass());
32
33 public OltDriversLoader() {
34 super("/olt-drivers.xml");
35 }
36
37 @Override
38 public void activate() {
39 super.activate();
40 }
41
42 @Override
43 public void deactivate() {
44 super.deactivate();
45 }
46}