on 07-Mar-2015 15:13
Problem this snippet solves:
Introduced: EM_v3.0
Use the discover_devices API to discover devices to be managed by an Enterprise Manager.
Important: If you plan to use iControl Proxy to communicate with discovered devices, you must discover them through the internal traffic interface; not the management interface.
How to use this snippet:
ic.Management.EM.discoverdevices(addresses = deviceaddresses, usernames = deviceusernames, passwords = devicepasswords)
ic.ManagementEM.discover_devices(deviceAddresses, deviceUsernames, devicePasswords);
Name | Type | Description |
addresses | String Sequence | This parameter specifies the IP addresses or hostnames of the devices you want to discover. |
usernames | String Sequence | This parameter specifies the username credentials of the devices you want to discover. |
passwords | String Sequence | This parameter specifies the password credentials of the devices you want to discover. |
Name | Type | Description |
task | String | The ID of the new discovery task. |
Exception Name | This exception is raised when... |
AccessDenied | The credentials supplied by the client do not satisfy the F5 device's validation requirements. |
OperationFailed | The API call causes an operation error. |
InvalidArgument | The API call contains an invalid argument. |
Code :
To view a code sample, click the relevant code type. C# (.net) Java Perl Python