X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-binding-broker%2Fsrc%2Fmain%2Fyang%2Fopendaylight-binding-broker-impl.yang;h=84cc5c7b99121e08e801b5af82777264712154eb;hb=8c3828c33459a75b18d463155295bd70c5e6fc04;hp=e15cb833855647231fc2fda8a6ef83535b76e436;hpb=79501c28d5f3e179cb67390fb160a63fc44bac8f;p=controller.git diff --git a/opendaylight/md-sal/sal-binding-broker/src/main/yang/opendaylight-binding-broker-impl.yang b/opendaylight/md-sal/sal-binding-broker/src/main/yang/opendaylight-binding-broker-impl.yang index e15cb83385..84cc5c7b99 100644 --- a/opendaylight/md-sal/sal-binding-broker/src/main/yang/opendaylight-binding-broker-impl.yang +++ b/opendaylight/md-sal/sal-binding-broker/src/main/yang/opendaylight-binding-broker-impl.yang @@ -70,6 +70,7 @@ module opendaylight-sal-binding-broker-impl { base config:module-type; config:provided-service binding-dom-mapping-service; config:provided-service sal:binding-codec-tree-factory; + config:provided-service sal:binding-normalized-node-serializer; config:java-name-prefix RuntimeMapping; } @@ -193,7 +194,7 @@ module opendaylight-sal-binding-broker-impl { container schema-service { uses config:service-ref { refine type { - mandatory false; + mandatory true; config:required-identity dom:schema-service; } } @@ -203,9 +204,13 @@ module opendaylight-sal-binding-broker-impl { } - augment "/config:modules/config:module/config:state" { + augment "/config:modules/config:module/config:configuration" { case runtime-generated-mapping { when "/config:modules/config:module/config:type = 'runtime-generated-mapping'"; + leaf wait-for-schema { + default "false"; + type boolean; + } } } @@ -216,6 +221,29 @@ module opendaylight-sal-binding-broker-impl { } } + augment "/config:modules/config:module/config:configuration" { + case binding-notification-broker { + when "/config:modules/config:module/config:type = 'binding-notification-broker'"; + container notification-adapter { + uses config:service-ref { + refine type { + mandatory false; + config:required-identity binding-new-notification-service; + } + } + } + + container notification-publish-adapter { + uses config:service-ref { + refine type { + mandatory false; + config:required-identity binding-new-notification-publish-service; + } + } + } + } + } + augment "/config:modules/config:module/config:state" { case binding-notification-broker { when "/config:modules/config:module/config:type = 'binding-notification-broker'";