API get_standby_slot

get_standby_slot

Use get_standby_slot to get the member IDs of all subordinate devices.

Syntax

get_standby_slot()

Returns

A list object in one of the following formats:

Examples

# Get the member IDs of all subordinate devices.

<Sysname> python
Python 2.7.3 (default, May 24 2014, 14:37:26)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import comware
>>> comware.get_standby_slot()

Sample output

[]