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