2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.controller.forwardingrulesmanager;
13 import org.opendaylight.controller.sal.core.Node;
16 * PortGroupChangeListener listens to the PortGroup updates provided by the
21 public interface PortGroupChangeListener {
23 * This method is invoked by PortGroupProvider whenever it detects a change
24 * in PortGroup membership for a given PortGroupConfig.
27 * Port Group Configuration
28 * @param portGroupData
29 * HashMap of Node id to PortGroup that represents the updated
30 * ports as detected by PortGroupProvider.
32 * true indicates that the PortGroup is added. False indicates
33 * that the PortGroup is removed.
35 void portGroupChanged(PortGroupConfig config, Map<Node, PortGroup> portGroupData, boolean add);