] Well, I just did the same change in my sources. I also changed the
] proc GetIpAddress to accept GROUP objects and it seems to work. Well,
] there might be some other places in the scripts where a NODE object is
] expected. How much work it is depends on how familiar you are with Tcl
] so I can't give you an answer for your question.
It appears I 'erred' in my earlier line, where I had:
if { ([ined type $comp] == "NODE") || ([ined type $comp] == "GROUP") } {
Where I should have had:
if {[ined type $comp] == "NODE" || [ined type $comp] == "GROUP"} {
I started from scratch, modified the two sections, and it works beautifully.
] > 1/ Is it relatively simple or hard?
]
] See above - it depends.
Simple :)
] > 2/ What procedures must be changed?
]
] I don't know exactly. GetIpAddress and ForeachIpNode seem to be a good
] start.
Correctamundo.
] > 3/ Are there any side effects of this that I should be concerned with?
]
] Note, GROUP objects were originally meant as simple container objects
] and hence they don't have an address attribute. This might create
] problems - however, I think you should be able to go ahead by using
] the name attribute.
It works, I'll keep all apprised of any and all problems.
] [I am now wondering if your change might be of general
] interest. People with 250 ciscos can't be wrong. :-)]
I like it, because it allows me to have a very detailed network, with
simple representations, and the level of detail up to the user :)
-alan