The networking_cisco.plugins.cisco.device_manager.config
Module¶
-
networking_cisco.plugins.cisco.device_manager.config.
get_specific_config
(prefix)¶ Retrieve config based on the format [<prefix>:<value>].
returns: a dict, {<UUID>: {<key1>:<value1>, <key2>:<value2>, …}}
-
networking_cisco.plugins.cisco.device_manager.config.
uuidify
(val)¶ Takes an integer and transforms it to a UUID format.
returns: UUID formatted version of input.
-
networking_cisco.plugins.cisco.device_manager.config.
verify_resource_dict
(res_dict, is_create, attr_info)¶ Verifies required attributes are in resource dictionary, res_dict.
Also checking that an attribute is only specified if it is allowed for the given operation (create/update).
Attribute with default values are considered to be optional.
This function contains code taken from function ‘prepare_request_body’ in attributes.py.