blob: c8717ac3faedce6585b084a641b62bf5eaf29ca4 [file] [log] [blame]
Andrea Campanella0288c872017-08-07 18:32:51 +02001/*
2 * Copyright 2017-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.onosproject.drivers.p4runtime;
18
19import org.apache.felix.scr.annotations.Component;
20import org.onosproject.net.driver.AbstractDriverLoader;
21
22/**
23 * Loader for P4Runtime device drivers.
24 */
25@Component(immediate = true)
26public class P4RuntimeDriversLoader extends AbstractDriverLoader {
27
28 public P4RuntimeDriversLoader() {
29 super("/p4runtime-drivers.xml");
30 }
31
32 @Override
33 public void activate() {
34 super.activate();
35 }
36}