Bug 3608 - Floating IP notifications fixed.
[groupbasedpolicy.git] / renderers / ofoverlay / src / main / java / org / opendaylight / groupbasedpolicy / renderer / ofoverlay / EndpointListener.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.groupbasedpolicy.renderer.ofoverlay;
10
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;
14
15 /**
16  * A listener to events related to endpoints being added, removed or updated.
17  */
18 public interface EndpointListener {
19     /**
20      * The endpoint with the specified layer 2 context and mac address has
21      * been added or updated
22      * @param epKey the key for the affected endpoint
23      */
24     public void endpointUpdated(EpKey epKey);
25
26     /**
27      * An endpoint attached to a particular node have been added, removed,
28      * or updated
29      * @param nodeId the affected switch node
30      * @param epKey the key for the affected endpoint
31      */
32     public void nodeEndpointUpdated(NodeId nodeId, EpKey epKey);
33
34     /**
35      * An endpoint for an endpoint group have been added, removed,
36      * or updated.
37      * @param egKey the key for the affected endpoint group
38      * @param epKey the key for the affected endpoint
39
40      */
41     public void groupEndpointUpdated(EgKey egKey, EpKey epKey);
42 }