2.5.4.3. label
— Manipulating machines that run tests¶
Labels are how Autotest attaches information to Host
.
The functionality exposed by the server allow users to add new labels, modify and delete existing ones. Also you can add or remove labels to existing hosts.
2.5.4.3.1. Functions for procedural like programming¶
All the default functions are available for getting information, adding new instances, modifying and deleting existing ones.
-
arc.label.
get_data
()¶ Returns data in raw format from the Autotest RPC server. By default all data will be returned, unless filtered.
Parameters: - connection – an
arc.connection.AfeConnection
instance - data_filter – keyword arguments to filter the data that will be received
Returns: raw JSON data converted to a Python data structure
- connection – an
-
arc.label.
get_ids
()¶ Returns only the numeric identification of existing instances on the server side.
Parameters: - connection – an
arc.connection.AfeConnection
instance - data_filter – keyword arguments to filter the data that will be received
Returns: raw JSON data converted to a Python data structure
- connection – an