blob: 22f575f47e6ce90f9801af83498eedf9ceb29e36 [file] [log] [blame]
Amit Ghoshc9ac1e52017-07-28 12:31:18 +01001/*
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.opencord.aaa;
18
19import org.onosproject.net.device.DeviceService;
Gamze Abaka1cfdb192018-10-25 11:39:19 +000020import org.opencord.sadis.BaseInformationService;
21import org.opencord.sadis.SubscriberAndDeviceInformation;
Amit Ghoshc9ac1e52017-07-28 12:31:18 +010022
23/**
24 * Info required to do customization to packets.
25 */
26public class CustomizationInfo {
27
28 private DeviceService devService;
29
Gamze Abaka1cfdb192018-10-25 11:39:19 +000030 private BaseInformationService<SubscriberAndDeviceInformation> subscriberService;
Amit Ghoshc9ac1e52017-07-28 12:31:18 +010031
Gamze Abaka1cfdb192018-10-25 11:39:19 +000032 public CustomizationInfo(BaseInformationService<SubscriberAndDeviceInformation> subsService,
33 DeviceService devService) {
Amit Ghoshc9ac1e52017-07-28 12:31:18 +010034 this.subscriberService = subsService;
35 this.devService = devService;
36 }
37
38 public DeviceService deviceService() {
39 return devService;
40 }
41
Gamze Abaka1cfdb192018-10-25 11:39:19 +000042 public BaseInformationService<SubscriberAndDeviceInformation> subscriberService() {
Amit Ghoshc9ac1e52017-07-28 12:31:18 +010043 return subscriberService;
44 }
45}