2 * Copyright (c) 2014 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.groupbasedpolicy.renderer.ofoverlay;
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId;
14 * Interface for a listener to switch-related events
17 public interface SwitchListener {
19 * Indicates that a new switch has entered the "ready" state
20 * @param sw the ID for the switch
22 public void switchReady(NodeId sw);
25 * Indicates that a new switch has been removed from the "ready" state
26 * @param sw the ID for the switch
28 public void switchRemoved(NodeId sw);
31 * Indicated that the switch configuration, tunnel port, or external ports
35 public void switchUpdated(NodeId sw);