chad504 wrote:
> I have finally figured out a simple command set for zendmd to change the link
> speed for an device interface.
>
> Here it is, as copied from the console, the >>> and ... are prompts, and
> spacing/indentation is crucial.
>
> >>> for interface in find('device-name').os.interfaces():
> ... if interface.id.startswith('name-of interface'):
> ... interface.speed = 123456
> ... interface.lockFromUpdates()
> ...
> >>> commit()
>
> Replace "device-name" with the device name in zenoss.
> Replace "name-of interface" with the interface name in Zenoss.
> Replace "123456" with the actual speed of the interface
That's great, but now I can't update the device in Zenoss after a
reconfiguration. Can I just use interface.unlockFromUpdates() to remove the
lock feature?
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=29694#29694
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users