blob: 72d68c3f19350986beb181133babebbf7964f4d5 [file] [log] [blame]
Yoonseon Hancbfac9a2016-10-20 13:14:06 -07001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2016-present Open Networking Foundation
Yoonseon Hancbfac9a2016-10-20 13:14:06 -07003 *
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.incubator.net.virtual.provider;
18
19import org.onosproject.incubator.net.virtual.NetworkId;
20import org.onosproject.net.DeviceId;
21import org.onosproject.net.group.GroupOperations;
22
23/**
24 * Abstraction of group provider for virtual network.
25 */
26public interface VirtualGroupProvider extends VirtualProvider {
27 /**
28 * Performs a batch of group operation in the specified virtual device
29 * with the specified parameters.
30 *
31 * @param networkId the identity of the virtual network where this rule applies
32 * @param deviceId device identifier on which the batch of group
33 * operations to be executed
34 * @param groupOps immutable list of group operation
35 */
36 void performGroupOperation(NetworkId networkId, DeviceId deviceId,
37 GroupOperations groupOps);
38
39}