X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-remoterpc-connector%2Fsrc%2Fmain%2Fyang%2Fremote-rpc-connector.yang;fp=opendaylight%2Fmd-sal%2Fsal-remoterpc-connector%2Fsrc%2Fmain%2Fyang%2Fremote-rpc-connector.yang;h=08db5c0043063bcfb17973f4279cdf31fb96d0fc;hb=55fc9479e27034acfe8d19160b34c12f7d9b780c;hp=0000000000000000000000000000000000000000;hpb=3223221fb635ce6b5918df4a60984a22306fc194;p=controller.git diff --git a/opendaylight/md-sal/sal-remoterpc-connector/src/main/yang/remote-rpc-connector.yang b/opendaylight/md-sal/sal-remoterpc-connector/src/main/yang/remote-rpc-connector.yang new file mode 100644 index 0000000000..08db5c0043 --- /dev/null +++ b/opendaylight/md-sal/sal-remoterpc-connector/src/main/yang/remote-rpc-connector.yang @@ -0,0 +1,40 @@ +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