blob: 9f2c354302cc528e549a1d2ea0d3c3a3f9e19e43 [file] [log] [blame]
Phaneendra Mandabc7c6942015-12-03 16:33:24 +05301/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2015-present Open Networking Foundation
Phaneendra Mandabc7c6942015-12-03 16:33:24 +05303 *
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.vtnrsc.classifier;
17
18import org.onosproject.net.DeviceId;
19
20/**
21 * Provides Services for Classifier.
22 */
23public interface ClassifierService {
24
25 /**
26 * Get Classifier devices for sfc.
27 *
28 * @return list of device id's for classifiers
29 */
30 Iterable<DeviceId> getClassifiers();
31
32 /**
33 * Add Classifier device for sfc.
Bharat saraswal10601612015-12-11 01:14:05 +053034 *
35 * @param deviceId device id
Phaneendra Mandabc7c6942015-12-03 16:33:24 +053036 */
37 void addClassifier(DeviceId deviceId);
38
39 /**
40 * Remove Classifier device for sfc.
Bharat saraswal10601612015-12-11 01:14:05 +053041 *
42 * @param deviceId deviceId
Phaneendra Mandabc7c6942015-12-03 16:33:24 +053043 */
44 void removeClassifier(DeviceId deviceId);
45}