Saurav Das | 86d13e8 | 2017-04-28 17:03:48 -0700 | [diff] [blame] | 1 | /* |
Brian O'Connor | a09fe5b | 2017-08-03 21:12:30 -0700 | [diff] [blame] | 2 | * Copyright 2017-present Open Networking Foundation |
Saurav Das | 86d13e8 | 2017-04-28 17:03:48 -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 | |
Yi Tseng | ef19de1 | 2017-04-24 11:33:05 -0700 | [diff] [blame] | 17 | package org.onosproject.driver.pipeline.ofdpa; |
Saurav Das | 86d13e8 | 2017-04-28 17:03:48 -0700 | [diff] [blame] | 18 | |
| 19 | import static org.slf4j.LoggerFactory.getLogger; |
| 20 | |
Saurav Das | 86d13e8 | 2017-04-28 17:03:48 -0700 | [diff] [blame] | 21 | import org.slf4j.Logger; |
| 22 | |
Saurav Das | 86d13e8 | 2017-04-28 17:03:48 -0700 | [diff] [blame] | 23 | /** |
| 24 | * Pipeliner for Broadcom OF-DPA 3.0 TTP, specifically for Qumran based switches. |
| 25 | */ |
| 26 | public class Ofdpa3QmxPipeline extends Ofdpa3Pipeline { |
| 27 | private final Logger log = getLogger(getClass()); |
| 28 | |
| 29 | @Override |
| 30 | protected void initDriverId() { |
| 31 | driverId = coreService.registerApplication( |
| 32 | "org.onosproject.driver.Ofdpa3QmxPipeline"); |
| 33 | } |
| 34 | |
| 35 | @Override |
| 36 | protected boolean matchInPortTmacTable() { |
| 37 | return false; |
| 38 | } |
Charles Chan | d9e47c6 | 2017-10-05 15:17:15 -0700 | [diff] [blame] | 39 | |
| 40 | @Override |
| 41 | protected boolean supportIpv6L4Dst() { |
| 42 | return false; |
| 43 | } |
Charles Chan | 45b69ab | 2018-03-02 15:41:41 -0800 | [diff] [blame] | 44 | |
| 45 | @Override |
| 46 | protected boolean requireUnicastBeforeMulticast() { |
| 47 | return true; |
| 48 | } |
Saurav Das | 86d13e8 | 2017-04-28 17:03:48 -0700 | [diff] [blame] | 49 | } |