5 namespace "urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car";
9 import ietf-inet-types { prefix "inet"; revision-date 2013-07-15; }
11 organization "Netconf Central";
14 "Harman Singh <harmasin@cisco.com>";
17 "YANG model for car for test application";
19 revision "2014-08-18" {
21 "Clustering sample app";
26 description "An identifier for car entry.";
30 description "Describes the contents of a car entry -
31 Details of the car manufacturer, model etc";
34 description "identifier of single list of entries.";
55 "Top-level container for all car objects.";
58 description "A list of cars (as defined by the 'grouping car-entry').";
67 description "The rate is a measure of the number of car-entry(s) added per second.
68 Thus the rate is measured in terms of transactions per second. The
69 rate is not necessary achievable; the controller may not keep up with
70 the specified value. In this instance, rate is considered maximum rate.";
76 description "Number of cars to create. Zero implies unlimited cars; use
77 stop-stress-test rpc to stop the test.";
82 rpc stop-stress-test {
87 description "Total number of cars created when running stess-test rpc";
93 description "Total number of cars failed when running stess-test rpc";
98 rpc register-ownership {
106 rpc unregister-ownership {
114 rpc register-logging-dcl {
115 description "Registers a basic logging DCL on the cars container. This is useful
116 for analyzing effects of DCL on a long, flat list.";
119 rpc unregister-logging-dcls {
120 description "Unregisters the logging DCL(s) for the cars container.";
123 rpc register-logging-dtcl {
124 description "Registers a basic logging DTCL on the cars container. This is useful
125 for analyzing the effects of DTCL on a long, flat list.";
128 rpc unregister-logging-dtcls {
129 description "Unregisters the logging DTCL(s) for the cars container.";
132 rpc register-commit-cohort {
133 description "Registers a sample commit cohort that validates car entry input.";
136 rpc unregister-commit-cohort {
137 description "Unregisters the sample commit cohort.";