config:java-name-prefix MsgSpyService;
}
+ // role of OFPlugin instance
+ typedef ofp-role {
+ type enumeration {
+ enum NOCHANGE {
+ description "no change to role";
+ }
+ enum BECOMEMASTER {
+ description "promote current role to MASTER";
+ }
+ enum BECOMESLAVE {
+ description "demote current role to SLAVE";
+ }
+ }
+ }
+
augment "/config:modules/config:module/config:configuration" {
case openflow-provider-impl {
when "/config:modules/config:module/config:type = 'openflow-provider-impl'";
}
}
}
+ leaf role {
+ type ofp-role;
+ default "NOCHANGE";
+ }
}
case msg-spy-service-impl {