Added range type to subject-feature-definition/parameter
[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  * @author readams
18  */
19 public interface EndpointListener {
20     /**
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
24      */
25     public void endpointUpdated(EpKey epKey);
26     
27     /**
28      * An endpoint attached to a particular node have been added, removed,
29      * or updated
30      * @param nodeId the affected switch node
31      * @param epKey the key for the affected endpoint
32      */
33     public void nodeEndpointUpdated(NodeId nodeId, EpKey epKey);
34     
35     /**
36      * An endpoint for an endpoint group have been added, removed, 
37      * or updated.
38      * @param egKey the key for the affected endpoint group
39      * @param epKey the key for the affected endpoint
40
41      */
42     public void groupEndpointUpdated(EgKey egKey, EpKey epKey);
43 }