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 interface name with the interface name in Zenoss.
Replace 123456 with the actual speed of the interface
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=23432#23432
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users