blob: f5375bf9ab1a7f11663b1d1537a98cfb8f980759 [file] [log] [blame]
Yi Tseng51301292017-07-28 13:02:59 -07001/*
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 */
17
18package org.onosproject.dhcprelay;
19
20import org.apache.felix.scr.annotations.Component;
21import org.apache.felix.scr.annotations.Property;
22import org.apache.felix.scr.annotations.Service;
23import org.onlab.packet.BasePacket;
24import org.onlab.packet.IpAddress;
25import org.onlab.packet.MacAddress;
26import org.onlab.packet.VlanId;
27import org.onosproject.dhcprelay.api.DhcpHandler;
28import org.onosproject.net.ConnectPoint;
29import org.onosproject.net.packet.PacketContext;
30
31import java.util.Optional;
32
33@Component
34@Service
35@Property(name = "version", value = "6")
36public class Dhcp6HandlerImpl implements DhcpHandler {
37
38 @Override
39 public void processDhcpPacket(PacketContext context, BasePacket dhcp6Payload) {
40
41 }
42
43 @Override
44 public Optional<IpAddress> getDhcpServerIp() {
45 return null;
46 }
47
48 @Override
49 public Optional<IpAddress> getDhcpGatewayIp() {
50 return null;
51 }
52
53 @Override
54 public Optional<MacAddress> getDhcpConnectMac() {
55 return null;
56 }
57
58 @Override
59 public void setDhcpGatewayIp(IpAddress dhcpGatewayIp) {
60
61 }
62
63 @Override
64 public void setDhcpConnectVlan(VlanId dhcpConnectVlan) {
65
66 }
67
68 @Override
69 public void setDhcpConnectMac(MacAddress dhcpConnectMac) {
70
71 }
72
73 @Override
74 public void setDhcpServerConnectPoint(ConnectPoint dhcpServerConnectPoint) {
75
76 }
77
78 @Override
79 public void setDhcpServerIp(IpAddress dhcpServerIp) {
80
81 }
82}