Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad Str Str Str NameLoad ListLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Str Str NameLoad ListLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Str Str NameLoad ListLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Str Str NameLoad ListLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Str Str NameLoad ListLoad Assign NameStore Call NameLoad NameLoad Str Str Str NameLoad ListLoad Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad Str Str Str NameLoad ListLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Str Str NameLoad ListLoad Assign NameStore Call NameLoad NameLoad Str Str Str NameLoad ListLoad Assign NameStore Call NameLoad NameLoad Str Str Str NameLoad ListLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Str Str NameLoad ListLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Str Str NameLoad ListLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Str Str NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad body Expr Str If UnaryOpNot NameLoad body Assign NameStore ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If UnaryOpNot NameLoad body Assign NameStore ListLoad Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad ListLoad NameLoad ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BoolOpOr CompareIs NameLoad NameLoad CompareEq Call NameLoad NameLoad Num Assign NameStore Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad ListLoad Assign NameStore Call NameLoad NameLoad ListLoad NameLoad ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad NameLoad keyword NameLoad Expr Call NameLoad NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Return Dict Assign NameStore Dict If Call NameLoad SubscriptLoad NameLoad Index Num Str body Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr If NameLoad body For NameStore NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call NameLoad SubscriptLoad NameLoad Index Num Str body For NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad If NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad If NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body While AttributeLoad NameLoad attr body For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Expr Yield NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad ListLoad NameLoad Assign NameStore NameLoad If NameLoad body Assign NameStore NameLoad If Call NameLoad SubscriptLoad NameLoad Index Num Str body Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr If NameLoad body Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str Str body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad Str ListLoad Str Str Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad Str Str Str NameLoad ListLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad ListLoad NameLoad ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword ListLoad NameLoad keyword NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Str With Call NameLoad NameLoad NameLoad NameStore body For NameStore NameLoad body If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd CompareGtE Call NameLoad NameLoad Num UnaryOpNot NameLoad body Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr orelse If CompareGtE Call NameLoad NameLoad Num body Assign NameStore BinOpMod Str TupleLoad AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Slice Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr If CompareIs NameLoad NameLoad body Assign NameStore Str Return BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list
N/A N/A 
The VMware API utility module.
 N/A logging oslo_utils timeutils suds sudsobject oslo_vmware._i18n _LW N/A LOG N/A N/A logging getLogger __name__ get_moref N/A N/A value type_ N/A N/A N/A Get managed object reference.

    :param value: value of the managed object
    :param type_: type of the managed object
    :returns: managed object reference with given value and type
     N/A moref N/A N/A sudsobject Property value N/A N/A moref _type type_ N/A moref N/A build_selection_spec N/A N/A client_factory name N/A N/A N/A Builds the selection spec.

    :param client_factory: factory to get API input specs
    :param name: name for the selection spec
    :returns: selection spec
     N/A sel_spec N/A N/A client_factory create ns0:SelectionSpec N/A N/A sel_spec name name N/A sel_spec N/A build_traversal_spec N/A N/A client_factory name type_ path skip select_set N/A N/A N/A Builds the traversal spec.

    :param client_factory: factory to get API input specs
    :param name: name for the traversal spec
    :param type_: type of the managed object
    :param path: property path of the managed object
    :param skip: whether or not to filter the object identified by param path
    :param select_set: set of selection specs specifying additional objects
                       to filter
    :returns: traversal spec
     N/A traversal_spec N/A N/A client_factory create ns0:TraversalSpec N/A N/A traversal_spec name name N/A N/A traversal_spec type type_ N/A N/A traversal_spec path path N/A N/A traversal_spec skip skip N/A N/A traversal_spec selectSet select_set N/A traversal_spec N/A build_recursive_traversal_spec N/A N/A client_factory N/A N/A N/A Builds recursive traversal spec to traverse managed object hierarchy.

    :param client_factory: factory to get API input specs
    :returns: recursive traversal spec
     N/A visit_folders_select_spec N/A build_selection_spec client_factory visitFolders N/A dc_to_hf N/A build_traversal_spec client_factory dc_to_hf Datacenter hostFolder False N/A visit_folders_select_spec N/A dc_to_vmf N/A build_traversal_spec client_factory dc_to_vmf Datacenter vmFolder False N/A visit_folders_select_spec N/A dc_to_netf N/A build_traversal_spec client_factory dc_to_netf Datacenter networkFolder False N/A visit_folders_select_spec N/A h_to_vm N/A build_traversal_spec client_factory h_to_vm HostSystem vm False N/A visit_folders_select_spec N/A cr_to_h N/A build_traversal_spec client_factory cr_to_h ComputeResource host False N/A N/A cr_to_ds N/A build_traversal_spec client_factory cr_to_ds ComputeResource datastore False N/A N/A rp_to_rp_select_spec N/A build_selection_spec client_factory rp_to_rp N/A rp_to_vm_select_spec N/A build_selection_spec client_factory rp_to_vm N/A cr_to_rp N/A build_traversal_spec client_factory cr_to_rp ComputeResource resourcePool False N/A rp_to_rp_select_spec rp_to_vm_select_spec N/A ccr_to_h N/A build_traversal_spec client_factory ccr_to_h ClusterComputeResource host False N/A N/A ccr_to_ds N/A build_traversal_spec client_factory ccr_to_ds ClusterComputeResource datastore False N/A N/A ccr_to_rp N/A build_traversal_spec client_factory ccr_to_rp ClusterComputeResource resourcePool False N/A rp_to_rp_select_spec rp_to_vm_select_spec N/A rp_to_rp N/A build_traversal_spec client_factory rp_to_rp ResourcePool resourcePool False N/A rp_to_rp_select_spec rp_to_vm_select_spec N/A rp_to_vm N/A build_traversal_spec client_factory rp_to_vm ResourcePool vm False N/A rp_to_rp_select_spec rp_to_vm_select_spec N/A traversal_spec N/A build_traversal_spec client_factory visitFolders Folder childEntity False N/A visit_folders_select_spec h_to_vm dc_to_hf dc_to_vmf dc_to_netf cr_to_ds cr_to_h cr_to_rp ccr_to_h ccr_to_ds ccr_to_rp rp_to_rp rp_to_vm N/A traversal_spec N/A build_property_spec N/A N/A client_factory type_ properties_to_collect all_properties N/A VirtualMachine None False N/A N/A Builds the property spec.

    :param client_factory: factory to get API input specs
    :param type_: type of the managed object
    :param properties_to_collect: names of the managed object properties to be
                                  collected while traversal filtering
    :param all_properties: whether all properties of the managed object need
                           to be collected
    :returns: property spec
     N/A N/A properties_to_collect N/A N/A properties_to_collect N/A name N/A property_spec N/A N/A client_factory create ns0:PropertySpec N/A N/A property_spec all all_properties N/A N/A property_spec pathSet properties_to_collect N/A N/A property_spec type type_ N/A property_spec N/A build_object_spec N/A N/A client_factory root_folder traversal_specs N/A N/A N/A Builds the object spec.

    :param client_factory: factory to get API input specs
    :param root_folder: root folder reference; the starting point of traversal
    :param traversal_specs: filter specs required for traversal
    :returns: object spec
     N/A object_spec N/A N/A client_factory create ns0:ObjectSpec N/A N/A object_spec obj root_folder N/A N/A object_spec skip False N/A N/A object_spec selectSet traversal_specs N/A object_spec N/A build_property_filter_spec N/A N/A client_factory property_specs object_specs N/A N/A N/A Builds the property filter spec.

    :param client_factory: factory to get API input specs
    :param property_specs: property specs to be collected for filtered objects
    :param object_specs: object specs to identify objects to be filtered
    :returns: property filter spec
     N/A property_filter_spec N/A N/A client_factory create ns0:PropertyFilterSpec N/A N/A property_filter_spec propSet property_specs N/A N/A property_filter_spec objectSet object_specs N/A property_filter_spec N/A get_objects N/A N/A vim type_ max_objects properties_to_collect all_properties N/A None False N/A N/A Get all managed object references of the given type.

    It is the caller's responsibility to continue or cancel retrieval.

    :param vim: Vim object
    :param type_: type of the managed object
    :param max_objects: maximum number of objects that should be returned in
                        a single call
    :param properties_to_collect: names of the managed object properties to be
                                  collected
    :param all_properties: whether all properties of the managed object need to
                           be collected
    :returns: all managed object references of the given type
    :raises: VimException, VimFaultException, VimAttributeException,
             VimSessionOverLoadException, VimConnectionException
     N/A N/A properties_to_collect N/A N/A properties_to_collect N/A name N/A client_factory N/A N/A vim client factory N/A recur_trav_spec N/A build_recursive_traversal_spec client_factory N/A object_spec N/A build_object_spec client_factory N/A N/A vim service_content rootFolder N/A recur_trav_spec N/A property_spec N/A build_property_spec client_factory type_ type_ properties_to_collect properties_to_collect all_properties all_properties N/A property_filter_spec N/A build_property_filter_spec client_factory N/A property_spec N/A object_spec N/A options N/A N/A client_factory create ns0:RetrieveOptions N/A N/A options maxObjects max_objects N/A N/A N/A vim RetrievePropertiesEx N/A N/A vim service_content propertyCollector specSet N/A property_filter_spec options options N/A get_object_properties N/A N/A vim moref properties_to_collect N/A N/A N/A Get properties of the given managed object.

    :param vim: Vim object
    :param moref: managed object reference
    :param properties_to_collect: names of the managed object properties to be
                                  collected
    :returns: properties of the given managed object
    :raises: VimException, VimFaultException, VimAttributeException,
             VimSessionOverLoadException, VimConnectionException
     N/A N/A moref None N/A N/A None N/A client_factory N/A N/A vim client factory N/A all_properties N/A N/A properties_to_collect None N/A N/A len properties_to_collect 0 N/A property_spec N/A build_property_spec client_factory type_ N/A moref _type properties_to_collect properties_to_collect all_properties all_properties N/A object_spec N/A build_object_spec client_factory moref N/A N/A property_filter_spec N/A build_property_filter_spec client_factory N/A property_spec N/A object_spec N/A options N/A N/A client_factory create ns0:RetrieveOptions N/A N/A options maxObjects 1 N/A retrieve_result N/A N/A vim RetrievePropertiesEx N/A N/A vim service_content propertyCollector specSet N/A property_filter_spec options options N/A N/A cancel_retrieval vim retrieve_result N/A N/A retrieve_result objects N/A get_object_properties_dict N/A N/A vim moref properties_to_collect N/A N/A N/A Get properties of the given managed object as a dict.

    :param vim: Vim object
    :param moref: managed object reference
    :param properties_to_collect: names of the managed object properties to be
                                  collected
    :returns: a dict of properties of the given managed object
    :raises: VimException, VimFaultException, VimAttributeException,
             VimSessionOverLoadException, VimConnectionException
     N/A obj_contents N/A get_object_properties vim moref properties_to_collect N/A N/A obj_contents None N/A N/A N/A N/A property_dict N/A N/A N/A hasattr N/A obj_contents N/A 0 propSet N/A N/A dynamic_properties N/A N/A obj_contents N/A 0 propSet N/A dynamic_properties N/A N/A prop dynamic_properties N/A N/A N/A property_dict N/A N/A prop name N/A prop val N/A N/A hasattr N/A obj_contents N/A 0 missingSet N/A N/A m N/A N/A obj_contents N/A 0 missingSet N/A N/A N/A N/A LOG warning N/A _LW Unable to retrieve value for %(path)s Reason: %(reason)s N/A path reason N/A m path N/A N/A m fault localizedMessage N/A property_dict N/A _get_token N/A N/A retrieve_result N/A N/A N/A Get token from result to obtain next set of results.

    :retrieve_result: Result of RetrievePropertiesEx API call
    :returns: token to obtain next set of results; None if no more results.
     N/A N/A getattr retrieve_result token None N/A cancel_retrieval N/A N/A vim retrieve_result N/A N/A N/A Cancels the retrieve operation if necessary.

    :param vim: Vim object
    :param retrieve_result: result of RetrievePropertiesEx API call
    :raises: VimException, VimFaultException, VimAttributeException,
             VimSessionOverLoadException, VimConnectionException
     N/A token N/A _get_token retrieve_result N/A token N/A N/A collector N/A N/A vim service_content propertyCollector N/A N/A N/A vim CancelRetrievePropertiesEx collector token token N/A continue_retrieval N/A N/A vim retrieve_result N/A N/A N/A Continue retrieving results, if available.

    :param vim: Vim object
    :param retrieve_result: result of RetrievePropertiesEx API call
    :raises: VimException, VimFaultException, VimAttributeException,
             VimSessionOverLoadException, VimConnectionException
     N/A token N/A _get_token retrieve_result N/A token N/A N/A collector N/A N/A vim service_content propertyCollector N/A N/A N/A vim ContinueRetrievePropertiesEx collector token token N/A WithRetrieval N/A object N/A N/A Context to retrieve results.

    This context provides an iterator to retrieve results and cancel (when
    needed) retrieve operation on __exit__.

    Example:

      with WithRetrieval(vim, retrieve_result) as objects:
          for obj in objects:
              # Use obj
     __init__ N/A N/A self vim retrieve_result N/A N/A N/A N/A N/A N/A super WithRetrieval self __init__ N/A N/A self vim vim N/A N/A self retrieve_result retrieve_result N/A __enter__ N/A N/A self N/A N/A N/A N/A iter self N/A __exit__ N/A N/A self exc_type exc_value traceback N/A N/A N/A N/A self retrieve_result N/A N/A N/A cancel_retrieval N/A self vim N/A self retrieve_result N/A __iter__ N/A N/A self N/A N/A N/A N/A self retrieve_result N/A N/A obj N/A N/A self retrieve_result objects N/A N/A N/A obj N/A N/A self retrieve_result N/A continue_retrieval N/A self vim N/A self retrieve_result N/A N/A get_object_property N/A N/A vim moref property_name N/A N/A N/A Get property of the given managed object.

    :param vim: Vim object
    :param moref: managed object reference
    :param property_name: name of the property to be retrieved
    :returns: property of the given managed object
    :raises: VimException, VimFaultException, VimAttributeException,
             VimSessionOverLoadException, VimConnectionException
     N/A props N/A get_object_properties vim moref N/A property_name N/A prop_val None N/A props N/A N/A prop None N/A N/A hasattr N/A props N/A 0 propSet N/A N/A prop N/A N/A props N/A 0 propSet N/A prop N/A N/A prop_val N/A N/A prop N/A 0 val N/A prop_val N/A find_extension N/A N/A vim key N/A N/A N/A Looks for an existing extension.

    :param vim: Vim object
    :param key: the key to search for
    :returns: the data object Extension or None
     N/A extension_manager N/A N/A vim service_content extensionManager N/A N/A N/A N/A N/A vim client service FindExtension extension_manager key N/A register_extension N/A N/A vim key type label summary version N/A OpenStack OpenStack services 1.0 N/A N/A Create a new extention.

    :param vim: Vim object
    :param key: the key for the extension
    :param type: Managed entity type, as defined by the extension. This
                 matches the type field in the configuration about a
                 virtual machine or vApp
    :param label: Display label
    :param summary: Summary description
    :param version: Extension version number as a dot-separated string
     N/A extension_manager N/A N/A vim service_content extensionManager N/A client_factory N/A N/A vim client factory N/A os_ext N/A N/A client_factory create ns0:Extension N/A N/A os_ext key key N/A entity_info N/A N/A client_factory create ns0:ExtManagedEntityInfo N/A N/A entity_info type type N/A N/A os_ext managedEntityInfo N/A entity_info N/A N/A os_ext version version N/A desc N/A N/A client_factory create ns0:Description N/A N/A desc label label N/A N/A desc summary summary N/A N/A os_ext description desc N/A N/A os_ext lastHeartbeatTime N/A N/A N/A N/A timeutils utcnow isoformat N/A N/A N/A N/A N/A vim client service RegisterExtension extension_manager os_ext N/A get_vc_version N/A N/A session N/A N/A N/A Return the dot-separated vCenter version string. For example, "1.2".

    :param session: vCenter soap session
    :return: vCenter version
     N/A N/A N/A N/A N/A session vim service_content about version N/A get_inventory_path N/A N/A vim entity_ref max_objects N/A 100 N/A N/A Get the inventory path of a managed entity.

    :param vim: Vim object
    :param entity_ref: managed entity reference
    :param max_objects: maximum number of objects that should be returned in
                        a single call
    :return: inventory path of the entity_ref
     N/A client_factory N/A N/A vim client factory N/A property_collector N/A N/A vim service_content propertyCollector N/A prop_spec N/A build_property_spec client_factory ManagedEntity N/A name parent N/A select_set N/A build_selection_spec client_factory ParentTraversalSpec N/A select_set N/A build_traversal_spec client_factory ParentTraversalSpec ManagedEntity parent False N/A select_set N/A obj_spec N/A build_object_spec client_factory entity_ref select_set N/A prop_filter_spec N/A build_property_filter_spec client_factory N/A prop_spec N/A obj_spec N/A options N/A N/A client_factory create ns0:RetrieveOptions N/A N/A options maxObjects max_objects N/A retrieve_result N/A N/A vim RetrievePropertiesEx property_collector specSet N/A prop_filter_spec options options N/A entity_name None N/A propSet None N/A path N/A N/A WithRetrieval vim retrieve_result objects N/A N/A obj objects N/A N/A N/A hasattr obj propSet N/A N/A propSet N/A obj propSet N/A N/A N/A N/A len propSet 1 N/A entity_name N/A N/A entity_name N/A N/A propSet N/A 0 val N/A N/A N/A N/A len propSet 1 N/A N/A path N/A %s/%s N/A N/A N/A propSet N/A 0 val path N/A N/A N/A propSet None N/A N/A len propSet 0 N/A N/A path N/A path N/A N/A len N/A N/A propSet N/A 0 val N/A N/A entity_name None N/A N/A entity_name N/A N/A %s%s N/A path entity_name N/A get_http_service_request_spec N/A N/A client_factory method uri N/A N/A N/A Build a HTTP service request spec.

    :param client_factory: factory to get API input specs
    :param method: HTTP method (GET, POST, PUT)
    :param uri: target URL
     N/A http_service_request_spec N/A N/A client_factory create ns0:SessionManagerHttpServiceRequestSpec N/A N/A http_service_request_spec method method N/A N/A http_service_request_spec url uri N/A http_service_request_spec N/A