blob: 5ba04469d68e70bd27f3b891289f37edb351abb6 [file] [log] [blame]
Charles Chanf9e98652016-09-07 16:54:23 -07001/*
2 * Copyright 2016-present Open Networking Laboratory
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.onosproject.driver.pipeline;
18
19import org.onosproject.core.ApplicationId;
20import org.onosproject.net.flow.TrafficSelector;
21import org.onosproject.net.flow.TrafficTreatment;
22
23/**
24 * Group handler for OFDPA2 pipeline.
25 */
26public class Ofdpa3GroupHandler extends Ofdpa2GroupHandler {
27 @Override
28 protected GroupInfo createL2L3Chain(TrafficTreatment treatment, int nextId,
29 ApplicationId appId, boolean mpls,
30 TrafficSelector meta) {
31 return createL2L3ChainInternal(treatment, nextId, appId, mpls, meta, false);
32 }
33}