blob: 6be41aba2ae265d779adea278c0eaeedd4a7f486 [file] [log] [blame]
Srikanth Vavilapalli56db94f2015-01-22 22:30:17 -08001/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2015-present Open Networking Laboratory
Srikanth Vavilapalli56db94f2015-01-22 22:30:17 -08003 *
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.net.group;
17
18import org.onosproject.net.DeviceId;
19import org.onosproject.net.provider.Provider;
20
21/**
Srikanth Vavilapalli0599d512015-01-30 12:57:56 -080022 * Abstraction of group provider.
Srikanth Vavilapalli56db94f2015-01-22 22:30:17 -080023 */
24public interface GroupProvider extends Provider {
25
26 /**
Srikanth Vavilapalli0599d512015-01-30 12:57:56 -080027 * Performs a batch of group operation in the specified device with the
Srikanth Vavilapalli56db94f2015-01-22 22:30:17 -080028 * specified parameters.
29 *
30 * @param deviceId device identifier on which the batch of group
31 * operations to be executed
32 * @param groupOps immutable list of group operation
33 */
34 void performGroupOperation(DeviceId deviceId,
35 GroupOperations groupOps);
36
37}