blob: 35a2d1258d5c298c62a905cd58f6fe2098eec261 [file] [log] [blame]
Jonathan Hart3c259162015-10-21 21:31:19 -07001/*
2 * Copyright 2015 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.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 Hart26a8d952015-12-02 15:16:35 -080022 * An extenstion 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 /**
27 * Gets the type of the extension instruction.
28 *
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}