BUG-3129 NPE in flowHash
[openflowplugin.git] / openflowplugin-api / src / main / yang / openflow-plugin-types.yang
1 module openflow-plugin-types {
2         yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:openflowplugin:api:types";
4     prefix "openflow-plugin-types";
5
6     description
7         "Openflow plugin specific types.";
8
9     revision "2015-03-27" {
10         description
11             "Initial revision";
12     }
13
14     typedef ofp-role {
15         description "role of OFPlugin instance";
16         type enumeration {
17             enum NOCHANGE {
18                 description "no change to role";
19             }
20             enum BECOMEMASTER {
21                 description "promote current role to MASTER";
22             }
23             enum BECOMESLAVE {
24                 description "demote current role to SLAVE";
25             }
26         }
27     }
28
29 }