6 "http://netconfcentral.org/ns/toaster";
10 organization "Netconf Central";
13 "Andy Bierman <andy@netconfcentral.org>";
16 "YANG version of the TOASTER-MIB.";
18 revision "2009-11-20" {
20 "Toaster module in progress.";
26 "Base for all bread types supported by the toaster.
27 New bread types not listed here nay be added in the
31 identity white-bread {
32 base toast:toast-type;
33 description "White bread.";
36 identity wheat-bread {
38 description "Wheat bread.";
41 identity wonder-bread {
43 description "Wonder bread.";
46 identity frozen-waffle {
48 description "Frozen waffle.";
51 identity frozen-bagel {
53 description "Frozen bagel.";
58 description "Hash browned potatos.";
61 typedef DisplayString {
64 "YANG version of the SMIv2 DisplayString TEXTUAL-CONVENTION.";
66 "RFC 2579, section 2.";
72 "Indicates the toaster service is available";
74 "Top-level container for all toaster database objects.";
76 leaf testToasterBits {
96 leaf-list allow-user {
98 description "A list of user name patterns to allow";
128 leaf toasterManufacturer {
133 "The name of the toaster's manufacturer. For instance,
137 leaf toasterModelNumber {
142 "The name of the toaster's model. For instance,
151 "The toaster knob position is up.
152 No toast is being made now.";
157 "The toaster knob position is down.
158 Toast is being made now.";
164 "This variable indicates the current state of
172 The toastDone notification will be sent when
173 the toast is finished.
174 An 'in-use' error will be returned if toast
175 is already being made.
176 A 'resource-denied' error will be returned
177 if the toaster service is disabled.";
179 leaf toasterDoneness {
185 "This variable controls how well-done is the
186 ensuing toast. It should be on a scale of 1 to 10.
187 Toast made at 10 generally is considered unfit
188 for human consumption; toast made at 1 is warmed
192 leaf toasterToastType {
194 base toast:toast-type;
196 default 'wheat-bread';
198 "This variable informs the toaster of the type of
199 material that is being toasted. The toaster
200 uses this information, combined with
201 toasterDoneness, to compute for how
202 long the material must be toasted to achieve
203 the required doneness.";
210 "Stop making toast, if any is being made.
211 A 'resource-denied' error will be returned
212 if the toaster service is disabled.";
215 notification toastDone {
217 "Indicates that the toast in progress has completed.";
222 description "The toast is done.";
227 "The toast was cancelled.";
232 "The toaster service was disabled or
233 the toaster is broken.";
237 "Indicates the final toast status";