EM discover devices
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:
Prototype
Python
ic.Management.EM.discoverdevices(addresses = deviceaddresses, usernames = deviceusernames, passwords = devicepasswords)
C#, Java, and Perl
ic.ManagementEM.discover_devices(deviceAddresses, deviceUsernames, devicePasswords);
Inputs
| 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. |
Return Values
| Name | Type | Description |
| task | String | The ID of the new discovery task. |
Exceptions
| 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
Published Mar 07, 2015
Version 1.0CodeCentral_194
Cirrostratus
Joined May 05, 2019
CodeCentral_194
Cirrostratus
Joined May 05, 2019
No CommentsBe the first to comment