blob: 309aca40f4a7942c0af5e2fc878265e629352262 [file] [log] [blame]
Ray Milkeyccda0b52015-10-30 16:51:06 -07001/*
2 * Copyright 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
alshabib79e52872015-12-07 16:01:01 -080017package org.onosproject.igmp;
18
19import org.onosproject.net.DeviceId;
20import org.onosproject.net.config.Config;
21
Ray Milkeyccda0b52015-10-30 16:51:06 -070022/**
alshabib79e52872015-12-07 16:01:01 -080023 * Config object for access device data.
Ray Milkeyccda0b52015-10-30 16:51:06 -070024 */
alshabib79e52872015-12-07 16:01:01 -080025public class IgmpDeviceConfig extends Config<DeviceId> {
26
27 /**
28 * Gets the device information.
29 *
30 * @return device information
31 */
32 public IgmpDeviceData getDevice() {
33 return new IgmpDeviceData(subject());
34 }
35}