Mahesh Poojary S | 335e7c3 | 2015-10-29 10:16:51 +0530 | [diff] [blame] | 1 | /* |
| 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 | package org.onosproject.sfc.manager; |
| 17 | |
| 18 | /** |
| 19 | * SFC application that applies flows to the device. |
| 20 | */ |
| 21 | public interface SfcService { |
| 22 | |
| 23 | /** |
| 24 | * When port-pair is created, check whether Forwarding Rule needs to be |
| 25 | * updated in OVS. |
| 26 | */ |
| 27 | public void onPortPairCreated(); |
| 28 | |
| 29 | /** |
| 30 | * When port-pair is deleted, check whether Forwarding Rule needs to be |
| 31 | * updated in OVS. |
| 32 | */ |
| 33 | public void onPortPairDeleted(); |
| 34 | |
| 35 | /** |
| 36 | * When port-pair-group is created, check whether Forwarding Rule needs to |
| 37 | * be updated in OVS. |
| 38 | */ |
| 39 | public void onPortPairGroupCreated(); |
| 40 | |
| 41 | /** |
| 42 | * When port-pair-group is deleted, check whether Forwarding Rule needs to |
| 43 | * be updated in OVS. |
| 44 | */ |
| 45 | public void onPortPairGroupDeleted(); |
| 46 | |
| 47 | /** |
| 48 | * When flow-classifier is created, check whether Forwarding Rule needs to |
| 49 | * be updated in OVS. |
| 50 | */ |
| 51 | public void onFlowClassifierCreated(); |
| 52 | |
| 53 | /** |
| 54 | * When flow-classifier is deleted, check whether Forwarding Rule needs to |
| 55 | * be updated in OVS. |
| 56 | */ |
| 57 | public void onFlowClassifierDeleted(); |
| 58 | |
| 59 | /** |
| 60 | * When port-chain is created, check whether Forwarding Rule needs to be |
| 61 | * updated in OVS. |
| 62 | */ |
| 63 | public void onPortChainCreated(); |
| 64 | |
| 65 | /** |
| 66 | * When port-chain is deleted, check whether Forwarding Rule needs to be |
| 67 | * updated in OVS. |
| 68 | */ |
| 69 | public void onPortChainDeleted(); |
| 70 | } |