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.groupbasedpolicy.endpoint.EpKey;
12 import org.opendaylight.groupbasedpolicy.resolver.EgKey;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId;
16 * A listener to events related to endpoints being added, removed or updated.
19 public interface EndpointListener {
21 * The endpoint with the specified layer 2 context and mac address has
22 * been added or updated
23 * @param epKey the key for the affected endpoint
25 public void endpointUpdated(EpKey epKey);
28 * An endpoint attached to a particular node have been added, removed,
30 * @param nodeId the affected switch node
31 * @param epKey the key for the affected endpoint
33 public void nodeEndpointUpdated(NodeId nodeId, EpKey epKey);
36 * An endpoint for an endpoint group have been added, removed,
38 * @param egKey the key for the affected endpoint group
39 * @param epKey the key for the affected endpoint
42 public void groupEndpointUpdated(EgKey egKey, EpKey epKey);