1 <rpc-reply message-id="102"
2 xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
4 xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">
7 namespace "http://netconfcentral.org/ns/toaster";
15 "Andy Bierman <andy@netconfcentral.org>";
18 "YANG version of the TOASTER-MIB.";
22 description "Toaster module in progress.";
27 "Base for all bread types supported by the toaster.
28 New bread types not listed here nay be added in the
32 identity white-bread {
35 base toast:toast-type;
38 identity wheat-bread {
44 identity wonder-bread {
50 identity frozen-waffle {
56 identity frozen-bagel {
64 "Hash browned potatos.";
68 typedef DisplayString {
70 "YANG version of the SMIv2 DisplayString TEXTUAL-CONVENTION.";
71 reference "RFC 2579, section 2.";
79 "Indicates the toaster service is available";
82 "Top-level container for all toaster database objects.";
84 leaf toasterManufacturer {
89 "The name of the toaster's manufacturer. For instance,
93 leaf toasterModelNumber {
98 "The name of the toaster's model. For instance,
107 "The toaster knob position is up.
108 No toast is being made now.";
113 "The toaster knob position is down.
114 Toast is being made now.";
121 "This variable indicates the current state of
129 The toastDone notification will be sent when
130 the toast is finished.
131 An 'in-use' error will be returned if toast
132 is already being made.
133 A 'resource-denied' error will be returned
134 if the toaster service is disabled.";
136 leaf toasterDoneness {
142 "This variable controls how well-done is the
143 ensuing toast. It should be on a scale of 1 to 10.
144 Toast made at 10 generally is considered unfit
145 for human consumption; toast made at 1 is warmed
148 leaf toasterToastType {
150 base toast:toast-type;
152 default toast:wheat-bread;
154 "This variable informs the toaster of the type of
155 material that is being toasted. The toaster
156 uses this information, combined with
157 toasterDoneness, to compute for how
158 long the material must be toasted to achieve
159 the required doneness.";
166 "Stop making toast, if any is being made.
167 A 'resource-denied' error will be returned
168 if the toaster service is disabled.";
171 notification toastDone {
173 "Indicates that the toast in progress has completed.";
177 "Indicates the final toast status";
181 "The toast is done.";
185 "The toast was cancelled.";
189 "The toaster service was disabled or
190 the toaster is broken.";