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 leaf toasterManufacturer {
141 "The name of the toaster's manufacturer. For instance,
145 leaf toasterModelNumber {
150 "The name of the toaster's model. For instance,
159 "The toaster knob position is up.
160 No toast is being made now.";
165 "The toaster knob position is down.
166 Toast is being made now.";
172 "This variable indicates the current state of
180 The toastDone notification will be sent when
181 the toast is finished.
182 An 'in-use' error will be returned if toast
183 is already being made.
184 A 'resource-denied' error will be returned
185 if the toaster service is disabled.";
187 leaf toasterDoneness {
193 "This variable controls how well-done is the
194 ensuing toast. It should be on a scale of 1 to 10.
195 Toast made at 10 generally is considered unfit
196 for human consumption; toast made at 1 is warmed
200 leaf toasterToastType {
202 base toast:toast-type;
204 default 'wheat-bread';
206 "This variable informs the toaster of the type of
207 material that is being toasted. The toaster
208 uses this information, combined with
209 toasterDoneness, to compute for how
210 long the material must be toasted to achieve
211 the required doneness.";
218 "Stop making toast, if any is being made.
219 A 'resource-denied' error will be returned
220 if the toaster service is disabled.";
223 notification toastDone {
225 "Indicates that the toast in progress has completed.";
230 description "The toast is done.";
235 "The toast was cancelled.";
240 "The toaster service was disabled or
241 the toaster is broken.";
245 "Indicates the final toast status";