Thomas Vachuska | b2c47a7 | 2015-08-05 14:22:54 -0700 | [diff] [blame] | 1 | /* |
Brian O'Connor | 5ab426f | 2016-04-09 01:19:45 -0700 | [diff] [blame] | 2 | * Copyright 2015-present Open Networking Laboratory |
Thomas Vachuska | b2c47a7 | 2015-08-05 14:22:54 -0700 | [diff] [blame] | 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 | package org.onosproject.net.proxyarp; |
| 17 | |
| 18 | import org.onosproject.net.ConnectPoint; |
| 19 | import org.onosproject.net.Host; |
| 20 | |
| 21 | import java.nio.ByteBuffer; |
| 22 | |
| 23 | /** |
| 24 | * State distribution mechanism for the proxy ARP service. |
Jonathan Hart | c4f681c | 2016-09-09 07:14:25 -0700 | [diff] [blame] | 25 | * |
| 26 | * @deprecated in Hummingbird release. This is no longer necessary as there are |
| 27 | * other solutions for the problem this was solving. |
Thomas Vachuska | b2c47a7 | 2015-08-05 14:22:54 -0700 | [diff] [blame] | 28 | */ |
Jonathan Hart | c4f681c | 2016-09-09 07:14:25 -0700 | [diff] [blame] | 29 | @Deprecated |
Thomas Vachuska | b2c47a7 | 2015-08-05 14:22:54 -0700 | [diff] [blame] | 30 | public interface ProxyArpStore { |
| 31 | |
| 32 | /** |
| 33 | * Forwards an ARP or neighbor solicitation request to its destination. |
| 34 | * Floods at the edg the request if the destination is not known. |
| 35 | * |
| 36 | * @param outPort the port the request was received on |
| 37 | * @param subject subject host |
| 38 | * @param packet an ethernet frame containing an ARP or neighbor |
| 39 | * solicitation request |
| 40 | */ |
| 41 | void forward(ConnectPoint outPort, Host subject, ByteBuffer packet); |
| 42 | |
| 43 | /** |
| 44 | * Associates the specified delegate with the store. |
| 45 | * |
| 46 | * @param delegate store delegate |
| 47 | */ |
| 48 | void setDelegate(ProxyArpStoreDelegate delegate); |
| 49 | } |