[cricket-users] feature suggestion: targetType inheritance

From: roofpig@the.satanic.org
Date: Tue May 18 1999 - 12:19:06 PDT


From: <roofpig@the.satanic.org>

        It seems that it would be quite useful to have
targetType inheritance, where one targetType includes
the definitions of a "parent" targetType, and then adds
addional data-sources or views.

        A good example of this is sample-config/routers/Defaults.
Most of the data-sources are the same for all the types of Cisco
routers defined. Rather than repeating these for each type, a parent
type of "Cisco" could be defined, which includes all the common
data-sources (cpu, memory, etc.). Then sub-types, like "Cisco-2500,
Cisco-7500" could be defined which inherit all the definitions from
"Cisco" and then add the platform specific definitions.

        This occured to me while writing a config-tree for APC
UPS's. Some of mine have external temperature sensors (with
associated MIB entries), some do not.

------------------------------------------------------------------------
With more than 17 million e-mails exchanged daily...
http://www.onelist.com
....ONElist is THE place where the world talks!



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:00:49 PST