blob: cfa9133fea6a5149eda14c9194d99afdebab8346 [file] [log] [blame]
Jonathan Hart3c259162015-10-21 21:31:19 -07001/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2015-present Open Networking Laboratory
Jonathan Hart3c259162015-10-21 21:31:19 -07003 *
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.net.flow.instructions;
18
Jonathan Hart26a8d952015-12-02 15:16:35 -080019import org.onosproject.net.flow.Extension;
Jonathan Hart3c259162015-10-21 21:31:19 -070020
21/**
Jonathan Hart010527b2015-12-02 16:11:53 -080022 * An extension for the treatment API.
Jonathan Hart3c259162015-10-21 21:31:19 -070023 */
Jonathan Hart26a8d952015-12-02 15:16:35 -080024public interface ExtensionTreatment extends Extension {
Jonathan Hart3c259162015-10-21 21:31:19 -070025
26 /**
Jonathan Hart010527b2015-12-02 16:11:53 -080027 * Gets the type of the treatment extension.
Jonathan Hart3c259162015-10-21 21:31:19 -070028 *
29 * @return type
30 */
alshabib880b6442015-11-23 22:13:04 -080031 ExtensionTreatmentType type();
Jonathan Hart3c259162015-10-21 21:31:19 -070032
Jonathan Hart3c259162015-10-21 21:31:19 -070033}