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=2a5299d761e328624019d9ac021fc1c5accb9df8;hp=4c0871551cec0b5a46d9a94f5eea9e10346dc3f5;hb=bb61cf2bfc27e04d157f08fac3198fda532cebd6;hpb=0ac8d08952b78b20738683e806085609aced5932 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 4c0871551c..2a5299d761 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 @@ -102,8 +102,8 @@ module odl-mdsal-lowlevel-control { If the application is instantiated, it immediatelly un-registers itself. When the application instance is closed, it increments flap-count and if active flag is set, re-registers the application implementation as a singleton. - If either un-registration or re-registration fails, flap-count is set - to negative of its previous value (minus one in case of un-registration) + If either un-registration or re-registration fails, 'active' flag is unset, + flap-count is set to negative of its previous value (minus one in case of un-registration) to signal a failure has happened."; // No input. // No output. @@ -232,7 +232,23 @@ module odl-mdsal-lowlevel-control { type boolean; } } - // No output. + output { + leaf all-tx { + description "Number of all transactions executed."; + type int64; + mandatory true; + } + leaf insert-tx { + description "Number of transactions that inserted data."; + type int64; + mandatory true; + } + leaf delete-tx { + description "Number of transactions that deleted data."; + type int64; + mandatory true; + } + } } rpc produce-transactions {