BUG-4283 experimenter msg support - registration part
[openflowplugin.git] / extension / openflowplugin-extension-api / src / main / java / org / opendaylight / openflowplugin / extension / api / path / MessagePath.java
1 /*
2  * Copyright (c) 2015 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  * List of augmentation points available for experimenter symmetric message and multipart message
15  */
16 public enum MessagePath implements AugmentationPath {
17
18     /**
19      * <pre>
20      * module: sal-experimenter-message
21      * notifications:
22      * +---n experimenter-message-from-dev
23      *    +--ro (experimenter-message-of-choice)?module: sal-flow
24      * </pre>
25      */
26     MESSAGE_NOTIFICATION(null),
27     /**
28      * <pre>
29      * module: sal-experimenter-mp-message
30      * rpcs:
31      * +---x send-experimenter-mp-request
32      *    +--ro output
33      *       +--ro (experimenter-message-of-choice)?notifications:
34      * </pre>
35      */
36     MPMESSAGE_RPC_OUTPUT(null);
37
38     private final InstanceIdentifier<Extension> iid;
39
40     private MessagePath(InstanceIdentifier<Extension> iid) {
41         this.iid = iid;
42     }
43
44     @Override
45     public final InstanceIdentifier<Extension> getInstanceIdentifier() {
46         return iid;
47     }
48
49 }