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.";
34 "Base for all bread types supported by the toaster.
35 New bread types not listed here nay be added in the
39 identity white-bread {
40 base toast:toast-type;
41 description "White bread.";
44 identity wheat-bread {
46 description "Wheat bread.";
49 identity wonder-bread {
51 description "Wonder bread.";
54 identity frozen-waffle {
56 description "Frozen waffle.";
59 identity frozen-bagel {
61 description "Frozen bagel.";
66 description "Hash browned potatos.";
69 typedef DisplayString {
72 "YANG version of the SMIv2 DisplayString TEXTUAL-CONVENTION.";
74 "RFC 2579, section 2.";
80 "Indicates the toaster service is available";
82 "Top-level container for all toaster database objects.";
84 leaf testToasterBits {
104 leaf-list allow-user {
106 description "A list of user name patterns to allow";
136 description "2nd level choice";
158 leaf toasterManufacturer {
163 "The name of the toaster's manufacturer. For instance,
167 leaf toasterModelNumber {
172 "The name of the toaster's model. For instance,
181 "The toaster knob position is up.
182 No toast is being made now.";
187 "The toaster knob position is down.
188 Toast is being made now.";
194 "This variable indicates the current state of
202 The toastDone notification will be sent when
203 the toast is finished.
204 An 'in-use' error will be returned if toast
205 is already being made.
206 A 'resource-denied' error will be returned
207 if the toaster service is disabled.";
209 leaf toasterDoneness {
215 "This variable controls how well-done is the
216 ensuing toast. It should be on a scale of 1 to 10.
217 Toast made at 10 generally is considered unfit
218 for human consumption; toast made at 1 is warmed
222 leaf toasterToastType {
224 base toast:toast-type;
226 default 'wheat-bread';
228 "This variable informs the toaster of the type of
229 material that is being toasted. The toaster
230 uses this information, combined with
231 toasterDoneness, to compute for how
232 long the material must be toasted to achieve
233 the required doneness.";
240 "Stop making toast, if any is being made.
241 A 'resource-denied' error will be returned
242 if the toaster service is disabled.";
245 notification toastDone {
247 "Indicates that the toast in progress has completed.";
252 description "The toast is done.";
257 "The toast was cancelled.";
262 "The toaster service was disabled or
263 the toaster is broken.";
267 "Indicates the final toast status";