blob: e1a80932767887830629e18c64e30def75e2b2de [file] [log] [blame]
Bharat saraswal6c8a6642015-11-18 16:59:27 +05301/*
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 */
16package org.onosproject.sfc.installer.impl;
17
18import org.onosproject.core.ApplicationId;
19import org.onosproject.net.flowobjective.Objective.Operation;
20import org.onosproject.sfc.installer.FlowClassifierInstaller;
21import org.onosproject.vtnrsc.FlowClassifier;
22import org.onosproject.vtnrsc.PortPair;
23
24/**
25 * Provides flow classifier installer.
26 */
27public class DefaultFlowClassifierInstaller implements FlowClassifierInstaller {
28
29 /**
30 * Default constructor.
31 */
32 public DefaultFlowClassifierInstaller() {
33 }
34
35 @Override
36 public void install(FlowClassifier flowClassifier, PortPair portPair) {
37 // TODO: Process flow-classifier for installation.
38 }
39
40 @Override
41 public void programFlowClassification(FlowClassifier flowClassifier, PortPair portPair, ApplicationId appid,
42 Operation type) {
43 // TODO: program forwarding objective for flow-classifier installation.
44 }
45}