RPC opendaylight-direct-statistics:get-flow-statistics not taking nicira
[openflowplugin.git] / extension / openflowplugin-extension-api / src / main / java / org / opendaylight / openflowplugin / extension / api / path / MatchPath.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 package org.opendaylight.openflowplugin.extension.api.path;
9
10 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.general.rev140714.general.extension.grouping.Extension;
11 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
12
13 /**
14  * @author msunal
15  *
16  */
17 public enum MatchPath implements AugmentationPath {
18
19     /**
20      * openflowplugin-extension-general.yang
21      * <pre>
22      * module: sal-flow
23      * notifications:
24      *    +---n switch-flow-removed                     
25      *    |  +--ro match
26      * </pre>
27      */
28     SWITCHFLOWREMOVED_MATCH(null),
29     /**
30      * openflowplugin-extension-general.yang
31      * <pre>
32      * module: packet-processing
33      * notifications:
34      *    +---n packet-received    
35      *       +--ro match
36      * </pre>
37      */
38     PACKETRECEIVED_MATCH(null),
39     /**
40      * openflowplugin-extension-general.yang
41      * <pre>
42      * module: opendaylight-flow-statistics
43      * notifications:
44      *    +---n flows-statistics-update             
45      *    |  +--ro flow-and-statistics-map-list* [flow-id]
46      *    |  |  +--ro match
47      * </pre>
48      */
49     FLOWSSTATISTICSUPDATE_FLOWANDSTATISTICSMAPLIST_MATCH(null),
50     /**
51      * openflowplugin-extension-general.yang
52      * <pre>
53      * module: opendaylight-direct-statistics
54      * rpc:
55      *    +---n get-flow-statistics
56      *    |  +--ro flow-and-statistics-map-list* [flow-id]
57      *    |  |  +--ro match
58      * </pre>
59      */
60     RPCFLOWSSTATISTICS_FLOWANDSTATISTICSMAPLIST_MATCH(null);
61
62     private final InstanceIdentifier<Extension> iid;
63
64     private MatchPath(InstanceIdentifier<Extension> iid) {
65         this.iid = iid;
66     }
67
68     @Override
69     public final InstanceIdentifier<Extension> getInstanceIdentifier() {
70         return iid;
71     }
72
73 }