X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsamples%2Fclustering-test-app%2Fmodel%2Fsrc%2Fmain%2Fyang%2Fodl-mdsal-lowlevel-control.yang;fp=opendaylight%2Fmd-sal%2Fsamples%2Fclustering-test-app%2Fmodel%2Fsrc%2Fmain%2Fyang%2Fodl-mdsal-lowlevel-control.yang;h=dbd65d19aaf1adf47ecac8f1a50434bdf1c61700;hp=a10b3ce628154943f0a98d9f8adc396e3ff29ebe;hb=0ecd0c6a0930bb2aae015ce26fc689d88fb09ff8;hpb=1cc64603a97e49d153e16328b3b4a7d0926e086d diff --git a/opendaylight/md-sal/samples/clustering-test-app/model/src/main/yang/odl-mdsal-lowlevel-control.yang b/opendaylight/md-sal/samples/clustering-test-app/model/src/main/yang/odl-mdsal-lowlevel-control.yang index a10b3ce628..dbd65d19aa 100644 --- a/opendaylight/md-sal/samples/clustering-test-app/model/src/main/yang/odl-mdsal-lowlevel-control.yang +++ b/opendaylight/md-sal/samples/clustering-test-app/model/src/main/yang/odl-mdsal-lowlevel-control.yang @@ -433,12 +433,10 @@ module odl-mdsal-lowlevel-control { rpc subscribe-dtcl { description "Upon receiving this, the member checks whether it has already subscribed and fails if yes. If no, the member subscribes a Data Tree Change Listener - to listen for changes on whole llt:id-ints, and stores the state - from the initial notification to a local variable (called the local copy). - Each Data Tree Change from further Notifications shall be applied - to the local copy if it is compatible - (the old state from notification is equal to the local copy state). - If a notification is not compatible, it shall be ignored."; + to listen for changes on whole llt:id-ints. The first notification received is stored immediately. + Every notification received after the first one has the data(getDataBefore()) compared with the + last stored notification(called local copy), if they match the local copy is overwritten with + this notifications data(getDataAfter()). If they don't match the new notification is ignored."; // No input. // No output. }