@@ -0,0 +1,1647 @@
+/*%0A * Copyright 2015 Open Networking Laboratory%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage org.onosproject.vtn.table;%0A%0Aimport org.onlab.packet.IpAddress;%0Aimport org.onlab.packet.MacAddress;%0Aimport org.onosproject.net.DeviceId;%0Aimport org.onosproject.net.flowobjective.Objective;%0Aimport org.onosproject.vtnrsc.SegmentationId;%0A%0A/**%0A * ArpService interface providing the rules in ARP table which is Table(10).%0A */%0Apublic interface ArpService %7B%0A%0A    /**%0A     * Assemble the arp rules.%0A     * Match: arp type, vnid and destination ip.%0A     * Action: set arp_operation, move arp_eth_src to arp_eth_dst, set arp_eth_src,%0A     * move arp_ip_src to arp_ip_dst, set arp_ip_src, set output port.%0A     *%0A     * @param deviceId Device Id%0A     * @param dstIP destination ip%0A     * @param matchVni the vni of the source network (l2vni)%0A     * @param dstMac destination mac%0A     * @param type the operation type of the flow rules%0A     */%0A    void programArpRules(DeviceId deviceId, IpAddress dstIP,%0A                                SegmentationId matchVni, MacAddress dstMac,%0A                                Objective.Operation type);%0A%7D%0A

Define a ArpService interface providing the rules in ARP table.