ifmap-python client is an implementation of the TCG IF-MAP 2.0 protocol as a client library.
Bases: exceptions.Exception
Base class for exception handling
IF-MAP client
Bases: vnc_cfg_api_server.ifmap.id.ifmapIDFactory
XML Factory for an Access Request IF-MAP Identifier
Bases: vnc_cfg_api_server.ifmap.id.ifmapIDFactory
XML Factory for an Custom IF-MAP Identifier with namespace prefix or URL
Bases: vnc_cfg_api_server.ifmap.id.ifmapIDFactory
XML Factory for a Device IF-MAP Identifier
Bases: vnc_cfg_api_server.ifmap.id.ifmapIDFactory
XML Factory for an IP Address IF-MAP Identifier
Bases: vnc_cfg_api_server.ifmap.id.ifmapIDFactory
XML Factory for an IF-MAP Identifier
Bases: vnc_cfg_api_server.ifmap.id.ifmapIDFactory
XML Factory for a MAC Address IF-MAP Identifier
Bases: vnc_cfg_api_server.ifmap.metadata.MetadataBase
Metadata factory
foundation class for metadata factory
foundation class for operation factory
Bases: vnc_cfg_api_server.ifmap.operations.OperationBase
SubscribeUpdate factory name identifier (single, or linked with link_ids()) search_parameters - dictionary eg. {‘max_depth’:‘3’, ‘max_size’:‘10000’}
result_filter => string, #Optional. Rules for extracting specific data from the results match_links => string, #Optional. Filter to match links to be followed, unmatched links will not be followed in the search process max_depth => number, #Optional. Maximum distance of any included identifiers. Start depth is equal to 0 max_size => number, #Optional. Maximum size in bytes of the results terminal_identifier_type => string, #Optional. Terminal identifier type of the search request
foundation class for request factory
Bases: vnc_cfg_api_server.ifmap.request.RequestBase
Search request factory session_id identifier (single, or linked with link_ids()) namespaces validation “None”|”BaseOnly”|”MetadataOnly”|”All” search_parameters - dictionary eg. {‘max_depth’:‘3’, ‘max_size’:‘10000’}
result_filter => string, #Optional. Rules for extracting specific data from the results match_links => string, #Optional. Filter to match links to be followed, unmatched links will not be followed in the search process max_depth => number, #Optional. Maximum distance of any included identifiers. Start depth is equal to 0 max_size => number, #Optional. Maximum size in bytes of the results terminal_identifier_type => string, #Optional. Terminal identifier type of the search request
Bases: vnc_cfg_api_server.ifmap.request.RequestBase
Subscribe request factory
Base class to handle and parse IF-MAP responses
Returns the raw Element object
Bases: vnc_cfg_api_server.ifmap.response.Response
newSessionResult
attr creates an XML string for any attribute that has a value attr({‘session-id’: ‘2345’, ‘validation’:’metadata’})
Takes two id arguments. Returns XML for id1 or links id1 and id2 together