X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsamples%2Fclustering-test-app%2Fmodel%2Fsrc%2Fmain%2Fyang%2Fcar.yang;h=14f12e4217f359a1c0dd1a0ef1e7acc8fbae2f98;hb=refs%2Fchanges%2F59%2F43259%2F5;hp=35e82039a3233b3d0308af71c109b3fda88e8efe;hpb=fe8e6082f593698758d3d496f130b556dae0c475;p=controller.git diff --git a/opendaylight/md-sal/samples/clustering-test-app/model/src/main/yang/car.yang b/opendaylight/md-sal/samples/clustering-test-app/model/src/main/yang/car.yang index 35e82039a3..14f12e4217 100644 --- a/opendaylight/md-sal/samples/clustering-test-app/model/src/main/yang/car.yang +++ b/opendaylight/md-sal/samples/clustering-test-app/model/src/main/yang/car.yang @@ -6,7 +6,7 @@ module car { prefix car; - import ietf-inet-types { prefix "inet"; revision-date 2010-09-24; } + import ietf-inet-types { prefix "inet"; revision-date 2013-07-15; } organization "Netconf Central"; @@ -71,7 +71,7 @@ module car { } leaf count { - type uint16; + type uint32; default 0; description "Number of cars to create. Zero implies unlimited cars; use stop-stress-test rpc to stop the test."; @@ -80,7 +80,19 @@ module car { } rpc stop-stress-test { + output { + leaf success-count { + type uint32; + default 0; + description "Total number of cars created when running stess-test rpc"; + } + leaf failure-count { + type uint32; + default 0; + description "Total number of cars failed when running stess-test rpc"; + } + } } rpc register-ownership { @@ -98,4 +110,22 @@ module car { } } } -} \ No newline at end of file + + rpc register-logging-dcl { + description "Registers a basic logging DCL on the cars container. This is useful + for analyzing effects of DCL on a long, flat list."; + } + + rpc unregister-logging-dcls { + description "Unregisters the logging DCL(s) for the cars container."; + } + + rpc register-logging-dtcl { + description "Registers a basic logging DTCL on the cars container. This is useful + for analyzing the effects of DTCL on a long, flat list."; + } + + rpc unregister-logging-dtcls { + description "Unregisters the logging DTCL(s) for the cars container."; + } +}