1 module openflow-provider-impl {
3 namespace "urn:opendaylight:params:xml:ns:yang:openflow:common:config:impl";
4 prefix "ofplugin-cfg-impl";
6 import config {prefix config; revision-date 2013-04-05;}
7 import rpc-context { prefix rpcx; revision-date 2013-06-17; }
8 import openflow-provider {prefix openflow-provider;}
9 import openflow-switch-connection-provider {prefix openflow-switch-connection-provider;revision-date 2014-03-28;}
10 import opendaylight-md-sal-binding { prefix md-sal-binding; revision-date 2013-10-28;}
14 "openflow-plugin-custom-config-impl";
16 revision "2014-03-26" {
21 identity openflow-provider-impl {
22 base config:module-type;
23 config:provided-service openflow-provider:openflow-provider;
24 config:java-name-prefix ConfigurableOpenFlowProvider;
27 identity msg-spy-service {
29 "MessageCountDumperServiceInterface as a MsgSpyService interface identity";
30 base config:service-type;
31 config:java-class "org.opendaylight.openflowplugin.api.statistics.MessageCountDumper";
34 identity msg-spy-service-impl {
36 "This is the definition of MsgSpyService implementation module identity.";
37 base config:module-type;
38 config:provided-service msg-spy-service;
39 config:java-name-prefix MsgSpyService;
42 augment "/config:modules/config:module/config:configuration" {
43 case openflow-provider-impl {
44 when "/config:modules/config:module/config:type = 'openflow-provider-impl'";
46 container binding-aware-broker {
47 uses config:service-ref {
50 config:required-identity md-sal-binding:binding-broker-osgi-registry;
54 list openflow-switch-connection-provider {
55 uses config:service-ref {
58 config:required-identity openflow-switch-connection-provider:openflow-switch-connection-provider;
64 case msg-spy-service-impl {
65 when "/config:modules/config:module/config:type = 'msg-spy-service-impl'";
67 container openflow-plugin-provider {
68 uses config:service-ref {
71 config:required-identity openflow-provider:openflow-provider;
78 augment "/config:modules/config:module/config:state" {
79 case msg-spy-service-impl {
80 when "/config:modules/config:module/config:type = 'msg-spy-service-impl'";
83 "MXBean designed for Message Statistic providing to JConsole.";
89 rpcx:rpc-context-instance "make-msg-statistics-rpc";
93 identity make-msg-statistics-rpc;
95 rpc make-msg-statistics {
98 "Shortcut JMX call to getMsgStatistics.";
101 uses rpcx:rpc-context-ref {
102 refine context-instance {
103 rpcx:rpc-context-instance make-msg-statistics-rpc;