+module remote-rpc-connector {
+ yang-version 1;
+ namespace "urn:opendaylight:params:xml:ns:yang:controller:config:remote-rpc-connector";
+ prefix "remote-rpc-connector";
+
+ import config { prefix config; revision-date 2013-04-05; }
+ import opendaylight-md-sal-dom {prefix dom;}
+
+ description
+ "This module contains the base YANG definitions for
+ the remote routed rpc";
+
+ revision "2014-07-07" {
+ description
+ "Initial revision";
+ }
+
+ // This is the definition of the service implementation as a module identity.
+ identity remote-rpc-connector {
+ base config:module-type;
+ // Specifies the prefix for generated java classes.
+ config:java-name-prefix RemoteRPCBroker;
+ }
+
+ augment "/config:modules/config:module/config:configuration" {
+ case remote-rpc-connector {
+ when "/config:modules/config:module/config:type = 'remote-rpc-connector'";
+
+ container dom-broker {
+ uses config:service-ref {
+ refine type {
+ mandatory true;
+ config:required-identity dom:dom-broker-osgi-registry;
+ }
+ }
+ }
+ }
+ }
+
+}
\ No newline at end of file