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;h=bc3e03998c473e92763712f2b0b9f5ba36617212;hp=a10b3ce628154943f0a98d9f8adc396e3ff29ebe;hb=d5fcf5d66568519595b533cc20651634d66d34fb;hpb=ec65758987d4232409bdd1fd9f71325392720894 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..bc3e03998c 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 @@ -374,12 +374,9 @@ module odl-mdsal-lowlevel-control { to become Leader of the given shard (presumably the llt:list-ints one, created by produce-transactions) and return immediatelly."; input { - leaf shard-name { - description "TBD. - - FIXME: Ask Java implementation developer about the format needed."; + leaf prefix { mandatory true; - type string; + type instance-identifier; } } // No output. @@ -433,12 +430,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. } @@ -518,4 +513,15 @@ module odl-mdsal-lowlevel-control { // No output. } + rpc shutdown-shard-replica { + description "Upon receiving this, the member will try to gracefully shutdown local configuration + data store module-based shard replica."; + input { + leaf shard-name { + type string; + description "The name of the configuration data store module-based shard to be shutdown + gracefully."; + } + } + } }