1460774610-8e5aefbe-c29e-40ba-b354-b16a5434f06a

1. A method, comprising the machine-implemented steps of:
receiving one or more command line interface commands associated with a network device;
creating and storing a knowledge base comprising a representation of a syntax and semantics of the commands;
receiving from the knowledge base a data structure representing a particular configuration command among the commands;
creating and storing an intermediate data model that represents the configuration command, wherein creating the intermediate data model includes predicting one or more attributes of the configuration command;
in response to programmatic input, selectively transforming the intermediate data model into a text representation of the particular configuration command or into a structured document representation of the particular configuration command.
2. A method as recited in claim 1, wherein the knowledge base is created and stored in an automatic command learning process based on receiving and interpreting a plurality of the commands as the commands are provided to the network device.
3. A method as recited in claim 1, wherein the predicting includes predicting one or more names of one or more parameters to the particular configuration command.
4. A method as recited in claim 3, wherein the predicting includes predicting whether a particular parameter is mandatory or optional to complete the particular command.
5. A method as recited in claim 3, wherein the predicting includes predicting data types of the parameters.
6. A method as recited in claim 3, wherein the predicting includes predicting a cardinality attribute of the particular configuration command.
7. A method as recited in claim 3, wherein the predicting includes predicting an order of the parameters.
8. A method as recited in claim 1, wherein the intermediate data model represents a command using one or more container objects and one or more properties objects.
9. A method as recited in claim 1, wherein the knowledge base is created based on receiving information from one or more CLI management information bases (MIBs) and one or more SNMP MIBs supported on the device.
10. A method as recited in claim 1, wherein selectively transforming includes selectively transforming the intermediate data model into an extensible markup language (XML) representation of the particular configuration command.
11. A method as recited in claim 10, wherein the XML representation conforms to NETCONF protocol and is transformed in response to receiving one or more NETCONF XML requests.
12. An apparatus for creating an intermediate data model useful in transforming network device command representations, comprising:
means for receiving one or more command line interface commands associated with a network device;
means for creating and storing a knowledge base comprising a representation of a syntax and semantics of the commands;
means for receiving from the knowledge base a data structure representing a particular configuration command among the commands;
means for creating and storing an intermediate data model that represents the configuration command, wherein creating the intermediate data model includes predicting one or more attributes of the configuration command;
means for selectively transforming the intermediate data model into a text representation of the particular configuration command or into a structured document representation of the particular configuration command, in response to programmatic input.
13. An apparatus as recited in claim 12, wherein the knowledge base is created and stored in an automatic command learning process based on receiving and interpreting a plurality of the commands as the commands are provided to the network device.
14. An apparatus as recited in claim 12, wherein the predicting means includes means for predicting one or more names of one or more parameters to the particular configuration command.
15. An apparatus as recited in claim 14, wherein the predicting means includes means for predicting whether a particular parameter is mandatory or optional to complete the particular command.
16. An apparatus as recited in claim 14, wherein the predicting means includes means for predicting data types of the parameters.
17. An apparatus as recited in claim 14, wherein the predicting means includes means for predicting a cardinality attribute of the particular configuration command.
18. An apparatus as recited in claim 14, wherein the predicting means includes means for predicting an order of the parameters.
19. An apparatus as recited in claim 12, wherein selectively transforming includes selectively transforming the intermediate data model into an extensible markup language (XML) representation of the particular configuration command, wherein the XML representation conforms to NETCONF protocol and is transformed in response to receiving one or more NETCONF XML requests.
20. An apparatus for creating an intermediate data model useful in transforming network device command representations, comprising:
a network interface that is coupled to the data network for receiving one or more packet flows therefrom;
a processor;
one or more stored sequences of instructions which, when executed by the processor, cause the processor to carry out the steps of:
receiving one or more command line interface commands associated with a network device;
creating and storing a knowledge base comprising a representation of a syntax and semantics of the commands;
receiving from the knowledge base a data structure representing a particular configuration command among the commands;
creating and storing an intermediate data model that represents the configuration command, wherein creating the intermediate data model includes predicting one or more attributes of the configuration command;
in response to programmatic input, selectively transforming the intermediate data model into a text representation of the particular configuration command or into a structured document representation of the particular configuration command.
21. An apparatus as recited in claim 20, wherein the knowledge base is created and stored in an automatic command learning process based on receiving and interpreting a plurality of the commands as the commands are provided to the network device.
22. An apparatus as recited in claim 20, wherein the predicting includes predicting one or more names of one or more parameters to the particular configuration command.
23. An apparatus as recited in claim 22, wherein the predicting includes predicting whether a particular parameter is mandatory or optional to complete the particular command.
24. An apparatus as recited in claim 22, wherein the predicting includes predicting data types of the parameters.
25. An apparatus as recited in claim 22, wherein the predicting includes predicting a cardinality attribute of the particular configuration command.
26. An apparatus as recited in claim 22, wherein the predicting includes predicting an order of the parameters.
27. An apparatus as recited in claim 1, wherein selectively transforming includes selectively transforming the intermediate data model into an extensible markup language (XML) representation of the particular configuration command, wherein the XML representation conforms to NETCONF protocol and is transformed in response to receiving one or more NETCONF XML requests.
28. A computer-readable medium carrying one or more sequences of instructions for creating an intermediate data model useful in transforming network device command representations, which instructions, when executed by one or more processors, cause the one or more processors to carry out the steps of:
receiving one or more command line interface commands associated with a network device;
creating and storing a knowledge base comprising a representation of a syntax and semantics of the commands;
receiving from the knowledge base a data structure representing a particular configuration command among the commands;
creating and storing an intermediate data model that represents the configuration command, wherein creating the intermediate data model includes predicting one or more attributes of the configuration command;
in response to programmatic input, selectively transforming the intermediate data model into a text representation of the particular configuration command or into a structured document representation of the particular configuration command.

The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.

1. The method of controlling heating of a pool or spa body of liquid, that includes
a) operating a pump and a pump motor, for circulating a stream of water to and from the body of water, the motor being an electric motor,
b) transferring heat from the motor or from a separate heater, to the stream as it is circulated,
c) monitoring the voltage level of electric power to be delivered or being delivered to the motor or heater,
d) monitoring the temperature of water in said body of water in the spa or in the stream of water being circulated,
e) providing a monitor or monitors operating to effect said monitoring,
f) and controlling electrical power delivery to the motor or heater in response to said c) monitoring andor said d) monitoring, while maintaining electrical power delivery to said monitor or monitors in the event of decrease of power delivery to the motor or heater below a predetermined threshold.
2. The method of claim 1 wherein said controlling of electrical power delivery operates to decrease electrical power delivery to the motor or heater when said voltage level monitoring detects a lowering of voltage level below a predetermined voltage level first threshold.
3. The method of claim 1 wherein said controlling of electrical power delivery operates to increase electrical power delivery to the motor when said water temperature monitoring detects a lowering of water temperature below a predetermined temperature level threshold.
4. The method of claim 2 wherein said controlling of electrical power delivery operates to increase electrical power delivery to the motor when said water temperature monitoring detects a lowering of water temperature below a predetermined temperature level threshold.
5. The method of claim 1 including providing control circuitry to perform said sub-paragraph e) controlling.
6. The method of claim 2 wherein said voltage level monitoring is effected by providing and operating a voltage level monitor at the voltage input side of said motor.
7. The method of claim 3 wherein said water temperature monitoring is effected by providing and operating a water temperature level monitor.
8. The method of claim 6 wherein said voltage level monitor comprises a voltage detector.
9. The method of claim 7 wherein said water temperature level monitor is a temperature detector operated at one of the following locations:
i) in the water body in the spa
ii) in said water flow stream.
10. Apparatus for controlling heating of a pool or spa body of liquid or a stream of liquid flowing to or from the pool or spa, that includes, in combination:
a) a pump and a pump motor operating to circulate said stream of water to and from the body of water, the motor being an electric motor,
b) transferring heat from the motor or from a separate heater to the stream as it is circulated, or to said body of water,
c) first means for monitoring the voltage level of electric power to be delivered or being delivered to the motor, or heater,
d) second means for monitoring the temperature of water in said body of water in the spa or in the stream of water be ing circulated,
e) and third means for controlling electrical power delivery to the motor or heater in response to said c) monitoring andor said d) monitoring, while maintaining electrical power delivery to said monitor or monitors in the event of decrease of power delivery to the motor or heater below a predetermined threshold.
11. Apparatus as defined in claim 10 wherein said third means for controlling said electrical power delivery operates to decrease electrical power delivery to the motor when said first means detects a lowering of voltage level below a predetermined voltage level first threshold.
12. Apparatus as defined in claim 10 wherein said third means for controlling of electrical power delivery operates to increase electrical power delivery to the motor when said second means detects a lowering of water temperature below a predetermined temperature level threshold.
13. Apparatus as defined claim 11 wherein said third means for controlling of electrical power delivery operates to increase electrical power delivery to the motor or heater when said second means detects a lowering of water temperature below a predetermined temperature level threshold.
14. Apparatus as defined in claim 10 wherein said third means includes control circuitry to provide said sub-paragraph e) controlling.
15. Apparatus as defined in claim 11 wherein said first means includes a voltage level monitor at the voltage input side of said motor or heater.
16. Apparatus as defined in claim 12 wherein said second means includes a water temperature level detector.
17. Apparatus as defined in claim 15 wherein said first means comprises a voltage detector.
18. Apparatus as defined in claim 16 wherein said second means level monitor is operated at one of the following locations:
i) in the water body in the spa
ii) in said water flow stream.
19. Apparatus for controlling heating of a liquid or liquid stream, that includes in combination:
a) electrical equipment operated in conjunction with said heating,
b) means for monitoring the voltage level of electrical power supplied to said equipment,
c) and control means including a monitor or monitors for controlling said electrical power supplied to said equipment, in response to operation of said monitor or monitors while maintaining electrical power delivery to said monitor or monitors in the event of decrease of power delivery to the electrical equipment below a predetermined threshold.
20. Apparatus as defined in claim 19 wherein said control means includes a liquid temperature monitor, effective to control electrical power delivery to said equipment as a function of liquid temperature level.
21. The method of controlling heating of a pool or spa body of water that includes:
a) providing and operating first components associated with controlling circulating of a stream of water to and from said body of water, and with controllable heating of said water,
b) providing and operating second components associated with supply of electrical power to said first components,
c) said second components,
i) including a monitor or monitors operating to monitor the voltage level of electrical power supplied or to be supplied to said first components, and
ii) also operating to monitor the temperature of said water,

d) said second components operating to control said supply of power to the first components in response to said i) and ii) monitoring,
e) controlling electrical power delivery to the components in response to said c) monitoring andor said d) monitoring, while maintaining electrical power delivery to said monitor or monitors in the event of decrease of power delivery to the components below a predetermined threshold.
22. The method of claim 21 wherein said first components include one or more of the following:
i) an electrical motor,
ii) a water circulation pump and an electrical motor driving said pump,
iii) an electrical heater,
iv) an electrical heater for heating said water in the pool or spa, in series with said circulating water stream,
v) a blower.
23. The method of claim 21 wherein said second components include electrical switches in series with electrical power delivery to said first components, and controlled to cut-off power delivery to said first components, but not to said second components, in the event of monitored voltage level decrease to a predetermined level.