@@ -0,0 +1,1775 @@
+/*%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 * L3ForwardService interface provide the rules in L3Forward table which is Table(30).%0A */%0Apublic interface L3ForwardService %7B%0A%0A    /**%0A     * Assemble the L3Forward table rules.%0A     * Match: ipv4 type, vnid and destination ip.%0A     * Action: set eth_src, set eth_dst, set vnid and goto L2Forward Table(50).%0A     *%0A     * @param deviceId Device Id%0A     * @param l3Vni the vni of L3 network%0A     * @param dstVmIP destination vm ip%0A     * @param dstVni the vni of the destination network (l2vni)%0A     * @param dstVmGwMac destination VM gateway mac%0A     * @param dstVmMac destination VM mac%0A     * @param type the operation type of the flow rules%0A     */%0A    void programRouteRules(DeviceId deviceId, SegmentationId l3Vni,%0A                           IpAddress dstVmIP, SegmentationId dstVni,%0A                           MacAddress dstVmGwMac, MacAddress dstVmMac,%0A                           Objective.Operation type);%0A%0A%7D%0A

Define a L3ForwardService interface providing the rules in L3Forward table.