Module Expr Str ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias Import alias Import alias identifier ImportFrom alias alias alias alias TryExcept body Import alias Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign NameStore Num Assign NameStore Num FunctionDef arguments args defaults body Expr Str If CompareIs Call NameLoad NameLoad body Return NameLoad If CompareIs Call NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad BoolOpOr NameLoad NameLoad TupleLoad Str Str Str Str decorator_list FunctionDef arguments args defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad Dict Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Call NameLoad NameLoad keyword Str Str Call NameLoad NameLoad keyword Str Assign NameStore Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad keyword NameLoad Assign NameStore Dict Str Str Str Str NameLoad NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad If NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body For NameStore Call NameLoad Num BinOpAdd Call NameLoad NameLoad Num body If Call NameLoad SubscriptLoad NameLoad Index BinOpSub NameLoad Num NameLoad body For TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad NameLoad Index BinOpSub NameLoad Num attr body If BoolOpOr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword TupleLoad Str Str Assign SubscriptStore NameLoad Index Call AttributeLoad Str attr NameLoad NameLoad NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index Call AttributeLoad Str attr NameLoad NameLoad SubscriptLoad NameLoad Index BinOpSub NameLoad Num orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Str Str Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad If CompareNotEq AttributeLoad NameLoad attr Num body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr If CompareNotEq SubscriptLoad NameLoad Index Str Num body Raise Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Dict Return NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str If CompareEq NameLoad Str body Raise Call NameLoad Str Assign NameStore Dict Str Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Dict For NameStore SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str Dict For NameStore NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str Index NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str If CompareIn NameLoad NameLoad body Return NameLoad Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareEq NameLoad Str body Raise Call NameLoad Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Dict Assign NameStore Dict Str Str Str Str Str Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Dict For NameStore SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str Dict For NameStore NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str Index NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str If CompareIn NameLoad NameLoad body Return NameLoad Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareNotEq NameLoad Str body Raise Call NameLoad Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Dict Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Dict Str Str Str Str NameLoad Call NameLoad NameLoad Call NameLoad Assign NameStore Call NameLoad keyword NameLoad If CompareEq Call NameLoad SubscriptLoad NameLoad Index Str Num body Raise Call NameLoad Str Assign NameStore Dict For NameStore SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str Dict For NameStore NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Str Index NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list Assign NameStore Dict Str Str Dict Str Str Str Str Str Str Str Str Str Dict Str Str Num Str Dict Str Str Num Str Dict Str Str Num Str Dict Str Str Num Str Dict Str Str Num Str Dict Str Str Num Str Dict Str Str Num Str Dict Str Str Num Str Dict Str Str Num Str Dict Str Str Str Str Str Str Str Str Dict Str Str Num Str Dict Str Str Num Str Dict Str Str Num Str Dict Str Str Num Str Dict Str Str Num Str Dict Str Str Num Str Dict Str Str Num Str Dict Str Str Num Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareEq NameLoad Str body Raise Call NameLoad Str Assign NameStore Call NameLoad NameLoad Call NameLoad Assign NameStore Dict For NameStore SubscriptLoad NameLoad Index NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict For NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str If CompareIn NameLoad Call AttributeLoad NameLoad attr body Return NameLoad Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad If NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore ListLoad NameLoad Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr Str ListLoad body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str If CompareEq NameLoad Str body Raise Call NameLoad Str Assign NameStore Call NameLoad Assign NameStore Dict Str Str Str Str NameLoad ListLoad Str Str Str Str Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str NameLoad Assign NameStore Dict If CompareEq SubscriptLoad NameLoad Index Str Num body Return NameLoad For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str NameLoad Assign NameStore BoolOpOr NameLoad Str If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str If CompareEq NameLoad Str body Raise Call NameLoad Str Assign NameStore Call NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad Dict Str Str Str Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str If CompareNotEq NameLoad Str body Raise Call NameLoad Str Assign NameStore Call NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad Dict Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad Str SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareNotEq NameLoad Str body Raise Call NameLoad Str Assign NameStore Dict Str Str Str Str NameLoad Call NameLoad keyword NameLoad keyword Call NameLoad Assign NameStore Call NameLoad keyword NameLoad If CompareEq SubscriptLoad NameLoad Index Str Num body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword Str If UnaryOpNot NameLoad body Return NameLoad If Call AttributeLoad NameLoad attr Str ListLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body If BoolOpAnd SubscriptLoad NameLoad Index Str CompareIs Call AttributeLoad NameLoad attr NameLoad BoolOpOr NameLoad Str SubscriptLoad NameLoad Index Str keyword NameLoad NameLoad body Return NameLoad handlers ExceptHandler type NameLoad body Pass If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Dict Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str SubscriptLoad NameLoad Index Str Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Dict Str NameLoad keyword SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num TryExcept body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword TupleLoad NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword BinOpMult Num Num keyword Call AttributeLoad NameLoad attr Str NameLoad NameLoad keyword Num handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body TryFinally body TryExcept body Expr Call NameLoad SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Pass finalbody Raise Call NameLoad Call NameLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Dict Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareNotEq NameLoad Str body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign NameStore Dict Str Str Str Str Call NameLoad keyword Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareNotEq NameLoad Str body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign NameStore Dict Str Str Str Str Str Call NameLoad keyword Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareNotEq NameLoad Str body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign NameStore Dict Str Str Str Str Call NameLoad keyword Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareEq NameLoad Str body Raise Call NameLoad Str Assign NameStore Call NameLoad NameLoad keyword Str Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Call AttributeLoad Str attr NameLoad Dict Str NameLoad keyword SubscriptLoad NameLoad Index Str Assign NameStore Dict Str Str Str Str Call NameLoad keyword Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Call AttributeLoad Str attr NameLoad Dict Str NameLoad keyword SubscriptLoad NameLoad Index Str Return NameLoad decorator_list
N/A N/A 
QingCloud Cloud Module
======================

.. versionadded:: 2015.8.0

The QingCloud cloud module is used to control access to the QingCloud.
http://www.qingcloud.com/

Use of this module requires the ``access_key_id``, ``secret_access_key``,
``zone`` and ``key_filename`` parameter to be set.

Set up the cloud configuration at ``/etc/salt/cloud.providers`` or
``/etc/salt/cloud.providers.d/qingcloud.conf``:

.. code-block:: yaml

    my-qingcloud:
      driver: qingcloud
      access_key_id: AKIDMRTGYONNLTFFRBQJ
      secret_access_key: clYwH21U5UOmcov4aNV2V2XocaHCG3JZGcxEczFu
      zone: pek2
      key_filename: /path/to/your.pem

:depends: requests
 __future__ absolute_import N/A time N/A json N/A pprint N/A logging N/A hmac N/A base64 hashlib sha256 salt.ext.six.moves.urllib.parse quote _quote salt.ext.six.moves range N/A salt.utils.cloud N/A salt.config config salt.exceptions SaltCloudNotFound SaltCloudSystemExit SaltCloudExecutionFailure SaltCloudExecutionTimeout N/A N/A N/A requests N/A HAS_REQUESTS True N/A N/A N/A ImportError N/A N/A HAS_REQUESTS False N/A log N/A N/A logging getLogger __name__ N/A __virtualname__ qingcloud N/A DEFAULT_QINGCLOUD_API_VERSION 1 N/A DEFAULT_QINGCLOUD_SIGNATURE_VERSION 1 __virtual__ N/A N/A N/A N/A N/A 
    Check for QingCloud configurations.
     N/A N/A N/A get_configured_provider False N/A N/A False N/A N/A N/A get_dependencies False N/A N/A False N/A __virtualname__ N/A get_configured_provider N/A N/A N/A N/A N/A 
    Return the first configured instance.
     N/A N/A N/A config is_provider_configured __opts__ N/A __active_provider_name__ __virtualname__ N/A access_key_id secret_access_key zone key_filename N/A get_dependencies N/A N/A N/A N/A N/A 
    Warn if dependencies aren't met.
     N/A N/A N/A config check_driver_dependencies __virtualname__ N/A requests HAS_REQUESTS N/A _compute_signature N/A N/A parameters access_key_secret method path N/A N/A N/A 
    Generate an API request signature. Detailed document can be found at:

    https://docs.qingcloud.com/api/common/signature.html
     N/A N/A parameters N/A signature_method HmacSHA256 N/A string_to_sign N/A N/A {0}
{1}
 format N/A N/A method upper path N/A keys N/A sorted N/A N/A parameters keys N/A pairs N/A N/A key keys N/A N/A val N/A N/A N/A str N/A parameters N/A key encode utf-8 N/A N/A N/A pairs append N/A N/A N/A _quote key safe = N/A _quote val safe -_~ N/A qs N/A N/A & join pairs N/A string_to_sign qs N/A h N/A N/A hmac new access_key_secret digestmod sha256 N/A N/A N/A h update string_to_sign N/A signature N/A N/A N/A N/A base64 b64encode N/A N/A h digest strip N/A signature N/A query N/A N/A params N/A None N/A N/A 
    Make a web call to QingCloud IaaS API.
     N/A path https://api.qingcloud.com/iaas/ N/A access_key_id N/A N/A config get_cloud_config_value access_key_id N/A get_configured_provider __opts__ search_global False N/A access_key_secret N/A N/A config get_cloud_config_value secret_access_key N/A get_configured_provider __opts__ search_global False N/A real_parameters N/A access_key_id signature_version time_stamp version access_key_id DEFAULT_QINGCLOUD_SIGNATURE_VERSION N/A N/A time strftime %Y-%m-%dT%H:%M:%SZ N/A N/A time gmtime DEFAULT_QINGCLOUD_API_VERSION N/A params N/A N/A N/A key value N/A N/A params items N/A N/A N/A isinstance value list N/A N/A i N/A range 1 N/A N/A len value 1 N/A N/A N/A isinstance N/A value N/A N/A i 1 dict N/A N/A N/A sk sv N/A N/A N/A value N/A N/A i 1 items N/A N/A N/A N/A isinstance sv dict N/A isinstance sv list N/A N/A sv N/A N/A json dumps sv separators N/A , : N/A N/A real_parameters N/A N/A N/A {0}.{1}.{2} format key i sk sv N/A N/A N/A real_parameters N/A N/A N/A {0}.{1} format key i N/A value N/A N/A i 1 N/A N/A N/A real_parameters N/A key value N/A signature N/A _compute_signature real_parameters access_key_secret GET /iaas/ N/A N/A real_parameters N/A signature signature N/A request N/A N/A requests get path params real_parameters verify False N/A N/A N/A request status_code 200 N/A N/A N/A SaltCloudSystemExit N/A N/A An error occurred while querying QingCloud. HTTP Code: {0}  Error: '{1}' format N/A request status_code N/A request text N/A N/A N/A log debug N/A request url N/A content N/A request text N/A result N/A N/A json loads content object_hook N/A N/A salt utils decode_dict N/A N/A N/A result N/A ret_code 0 N/A N/A N/A SaltCloudSystemExit N/A N/A pprint pformat N/A N/A result get message N/A N/A result N/A avail_locations N/A N/A call N/A None N/A N/A 
    Return a dict of all available locations on the provider with
    relevant data.

    CLI Examples:

    .. code-block:: bash

        salt-cloud --list-locations my-qingcloud
     N/A N/A call action N/A N/A N/A SaltCloudSystemExit The avail_locations function must be called with -f or --function, or with the --list-locations option N/A params N/A action DescribeZones N/A items N/A query params params N/A result N/A N/A region N/A items N/A zone_set N/A N/A N/A result N/A N/A region N/A zone_id N/A N/A key region N/A N/A N/A N/A result N/A N/A region N/A zone_id N/A key N/A str N/A region N/A key N/A result N/A _get_location N/A N/A vm_ N/A None N/A N/A 
    Return the VM's location. Used by create().
     N/A locations N/A avail_locations N/A vm_location N/A str N/A N/A config get_cloud_config_value zone vm_ __opts__ search_global False N/A N/A vm_location N/A N/A N/A SaltCloudNotFound No location specified for this VM. N/A N/A vm_location locations N/A N/A vm_location N/A N/A SaltCloudNotFound N/A N/A The specified location, '{0}', could not be found. format vm_location N/A _get_specified_zone N/A N/A kwargs provider N/A None None N/A N/A N/A provider None N/A N/A provider N/A get_configured_provider N/A N/A isinstance kwargs dict N/A N/A zone N/A N/A kwargs get zone None N/A N/A zone None N/A N/A zone N/A zone N/A provider N/A zone N/A zone N/A avail_images N/A N/A kwargs call N/A None None N/A N/A 
    Return a list of the images that are on the provider.

    CLI Examples:

    .. code-block:: bash

        salt-cloud --list-images my-qingcloud
        salt-cloud -f avail_images my-qingcloud zone=gd1
     N/A N/A call action N/A N/A N/A SaltCloudSystemExit The avail_images function must be called with -f or --function, or with the --list-images option N/A N/A N/A isinstance kwargs dict N/A N/A kwargs N/A N/A params N/A action provider zone DescribeImages system N/A _get_specified_zone kwargs N/A get_configured_provider N/A items N/A query params params N/A result N/A N/A image N/A items N/A image_set N/A N/A N/A result N/A N/A image N/A image_id N/A N/A key image N/A N/A N/A N/A result N/A N/A image N/A image_id N/A key N/A image N/A key N/A result N/A _get_image N/A N/A vm_ N/A N/A N/A 
    Return the VM's image. Used by create().
     N/A images N/A avail_images N/A vm_image N/A str N/A N/A config get_cloud_config_value image vm_ __opts__ search_global False N/A N/A vm_image N/A N/A N/A SaltCloudNotFound No image specified for this VM. N/A N/A vm_image images N/A N/A vm_image N/A N/A SaltCloudNotFound N/A N/A The specified image, '{0}', could not be found. format vm_image N/A show_image N/A N/A kwargs call N/A None N/A N/A 
    Show the details from QingCloud concerning an image.

    CLI Examples:

    .. code-block:: bash

        salt-cloud -f show_image my-qingcloud image=trustysrvx64c
        salt-cloud -f show_image my-qingcloud image=trustysrvx64c,coreos4
        salt-cloud -f show_image my-qingcloud image=trustysrvx64c zone=ap1
     N/A N/A call function N/A N/A N/A SaltCloudSystemExit The show_images function must be called with -f or --function N/A N/A N/A isinstance kwargs dict N/A N/A kwargs N/A N/A images N/A kwargs N/A image N/A images N/A N/A images split , N/A params N/A action images zone DescribeImages images N/A _get_specified_zone kwargs N/A get_configured_provider N/A items N/A query params params N/A N/A N/A len N/A items N/A image_set 0 N/A N/A N/A SaltCloudNotFound The specified image could not be found. N/A result N/A N/A image N/A items N/A image_set N/A N/A N/A result N/A N/A image N/A image_id N/A N/A key image N/A N/A N/A N/A result N/A N/A image N/A image_id N/A key N/A image N/A key N/A result N/A N/A QINGCLOUD_SIZES N/A pek2 pek1 N/A c1m1 c1m2 c1m4 c2m2 c2m4 c2m8 c4m4 c4m8 c4m16 N/A cpu memory 1 1G N/A cpu memory 1 2G N/A cpu memory 1 4G N/A cpu memory 2 2G N/A cpu memory 2 4G N/A cpu memory 2 8G N/A cpu memory 4 4G N/A cpu memory 4 8G N/A cpu memory 4 16G N/A small_b small_c medium_a medium_b medium_c large_a large_b large_c N/A cpu memory 1 1G N/A cpu memory 1 2G N/A cpu memory 2 2G N/A cpu memory 2 4G N/A cpu memory 2 8G N/A cpu memory 4 4G N/A cpu memory 4 8G N/A cpu memory 4 16G N/A N/A QINGCLOUD_SIZES N/A ap1 N/A QINGCLOUD_SIZES N/A pek2 N/A N/A QINGCLOUD_SIZES N/A gd1 N/A QINGCLOUD_SIZES N/A pek2 avail_sizes N/A N/A kwargs call N/A None None N/A N/A 
    Return a list of the instance sizes that are on the provider.

    CLI Examples:

    .. code-block:: bash

        salt-cloud --list-sizes my-qingcloud
        salt-cloud -f avail_sizes my-qingcloud zone=pek2
     N/A N/A call action N/A N/A N/A SaltCloudSystemExit The avail_sizes function must be called with -f or --function, or with the --list-sizes option N/A zone N/A _get_specified_zone kwargs N/A get_configured_provider N/A result N/A N/A size_key N/A QINGCLOUD_SIZES N/A zone N/A N/A N/A result N/A size_key N/A N/A attribute_key N/A N/A QINGCLOUD_SIZES N/A zone N/A size_key N/A N/A N/A N/A result N/A size_key N/A attribute_key N/A N/A N/A QINGCLOUD_SIZES N/A zone N/A size_key N/A attribute_key N/A result N/A _get_size N/A N/A vm_ N/A N/A N/A 
    Return the VM's size. Used by create().
     N/A sizes N/A avail_sizes N/A vm_size N/A str N/A N/A config get_cloud_config_value size vm_ __opts__ search_global False N/A N/A vm_size N/A N/A N/A SaltCloudNotFound No size specified for this instance. N/A N/A vm_size N/A N/A sizes keys N/A N/A vm_size N/A N/A SaltCloudNotFound N/A N/A The specified size, '{0}', could not be found. format vm_size N/A _show_normalized_node N/A N/A full_node N/A N/A N/A 
    Normalize the QingCloud instance data. Used by list_nodes()-related
    functions.
     N/A public_ips N/A N/A full_node get eip N/A N/A public_ips N/A N/A public_ip N/A public_ips N/A eip_addr N/A public_ips N/A public_ip N/A private_ips N/A N/A vxnet N/A N/A full_node get vxnets N/A N/A N/A private_ip N/A N/A vxnet get private_ip None N/A private_ip N/A N/A N/A N/A private_ips append private_ip N/A normalized_node N/A id image size state private_ips public_ips N/A full_node N/A instance_id N/A N/A full_node N/A image N/A image_id N/A full_node N/A instance_type N/A full_node N/A status private_ips public_ips N/A normalized_node N/A list_nodes_full N/A N/A call N/A None N/A N/A 
    Return a list of the instances that are on the provider.

    CLI Examples:

    .. code-block:: bash

        salt-cloud -F my-qingcloud
     N/A N/A call action N/A N/A N/A SaltCloudSystemExit The list_nodes_full function must be called with -f or --function. N/A zone N/A _get_specified_zone N/A params N/A action zone status DescribeInstances zone N/A pending running stopped suspended N/A items N/A query params params N/A N/A N/A log debug N/A N/A Total {0} instances found in zone {1} format N/A items N/A total_count zone N/A result N/A N/A N/A N/A items N/A total_count 0 N/A N/A result N/A node N/A items N/A instance_set N/A N/A normalized_node N/A _show_normalized_node node N/A N/A N/A node update normalized_node N/A N/A result N/A N/A node N/A instance_id node N/A provider N/A __active_provider_name__ qingcloud N/A N/A : provider N/A N/A comps N/A N/A provider split : N/A provider N/A comps N/A 0 N/A N/A __opts__ N/A update_cachedir True N/A N/A N/A N/A N/A salt utils cloud cache_node_list result provider __opts__ N/A result N/A list_nodes N/A N/A call N/A None N/A N/A 
    Return a list of the instances that are on the provider.

    CLI Examples:

    .. code-block:: bash

        salt-cloud -Q my-qingcloud
     N/A N/A call action N/A N/A N/A SaltCloudSystemExit The list_nodes function must be called with -f or --function. N/A nodes N/A list_nodes_full N/A ret N/A N/A N/A instance_id full_node N/A N/A nodes items N/A N/A N/A ret N/A instance_id N/A id image size state public_ips private_ips N/A full_node N/A id N/A full_node N/A image N/A full_node N/A size N/A full_node N/A state N/A full_node N/A public_ips N/A full_node N/A private_ips N/A ret N/A list_nodes_min N/A N/A call N/A None N/A N/A 
    Return a list of the instances that are on the provider. Only a list of
    instances names, and their state, is returned.

    CLI Examples:

    .. code-block:: bash

        salt-cloud -f list_nodes_min my-qingcloud
     N/A N/A call function N/A N/A N/A SaltCloudSystemExit The list_nodes_min function must be called with -f or --function. N/A nodes N/A list_nodes_full N/A result N/A N/A N/A instance_id full_node N/A N/A nodes items N/A N/A N/A result N/A instance_id N/A name status N/A full_node N/A instance_name N/A full_node N/A status N/A result N/A list_nodes_select N/A N/A call N/A None N/A N/A 
    Return a list of the instances that are on the provider, with selected
    fields.

    CLI Examples:

    .. code-block:: bash

        salt-cloud -S my-qingcloud
     N/A N/A N/A N/A N/A salt utils cloud list_nodes_select N/A list_nodes_full function N/A __opts__ N/A query.selection call N/A show_instance N/A N/A instance_id call kwargs N/A None None N/A N/A 
    Show the details from QingCloud concerning an instance.

    CLI Examples:

    .. code-block:: bash

        salt-cloud -a show_instance i-2f733r5n
     N/A N/A call action N/A N/A N/A SaltCloudSystemExit The show_instance action must be called with -a or --action. N/A params N/A action instances.1 zone DescribeInstances instance_id N/A _get_specified_zone kwargs None provider N/A get_configured_provider N/A items N/A query params params N/A N/A N/A items N/A total_count 0 N/A N/A N/A SaltCloudNotFound N/A N/A The specified instance, '{0}', could not be found. format instance_id N/A full_node N/A N/A items N/A instance_set N/A 0 N/A normalized_node N/A _show_normalized_node full_node N/A N/A N/A full_node update normalized_node N/A result full_node N/A result N/A _query_node_data N/A N/A instance_id N/A N/A N/A data N/A show_instance instance_id call action N/A N/A data N/A N/A False N/A N/A N/A data get private_ips N/A N/A N/A data N/A create N/A N/A vm_ N/A N/A N/A 
    Create a single instance from a data dict.

    CLI Examples:

    .. code-block:: bash

        salt-cloud -p qingcloud-ubuntu-c1m1 hostname1
        salt-cloud -m /path/to/mymap.sls -P
     N/A N/A N/A N/A N/A vm_ N/A profile N/A N/A N/A config is_profile_configured __opts__ N/A __active_provider_name__ qingcloud N/A vm_ N/A profile vm_ vm_ False N/A N/A False N/A N/A N/A AttributeError N/A N/A N/A N/A provider vm_ N/A N/A N/A vm_ N/A driver N/A N/A vm_ pop provider N/A N/A N/A N/A N/A salt utils cloud fire_event event starting create N/A N/A salt/cloud/{0}/creating format N/A vm_ N/A name N/A name profile provider N/A vm_ N/A name N/A vm_ N/A profile N/A vm_ N/A driver transport N/A __opts__ N/A transport N/A N/A N/A log info N/A N/A Creating Cloud VM {0} format N/A vm_ N/A name N/A params N/A action instance_name zone instance_type image_id vxnets.1 login_mode login_keypair RunInstances N/A vm_ N/A name N/A _get_location vm_ N/A _get_size vm_ N/A _get_image vm_ N/A vm_ N/A vxnets N/A vm_ N/A login_mode N/A vm_ N/A login_keypair N/A N/A N/A N/A N/A salt utils cloud fire_event event requesting instance N/A N/A salt/cloud/{0}/requesting format N/A vm_ N/A name N/A kwargs params transport N/A __opts__ N/A transport N/A result N/A query params N/A new_instance_id N/A N/A result N/A instances N/A 0 N/A N/A N/A data N/A N/A N/A N/A salt utils cloud wait_for_ip _query_node_data update_args N/A new_instance_id timeout N/A N/A config get_cloud_config_value wait_for_ip_timeout vm_ __opts__ default N/A 10 60 interval N/A N/A config get_cloud_config_value wait_for_ip_interval vm_ __opts__ default 10 N/A N/A N/A N/A SaltCloudExecutionTimeout SaltCloudExecutionFailure N/A exc N/A N/A N/A N/A N/A N/A N/A destroy N/A vm_ N/A name N/A N/A N/A SaltCloudSystemExit N/A N/A N/A N/A N/A SaltCloudSystemExit N/A str exc N/A private_ip N/A N/A data N/A private_ips N/A 0 N/A N/A N/A log debug N/A N/A VM {0} is now running format private_ip N/A N/A vm_ N/A ssh_host private_ip N/A N/A N/A N/A N/A salt utils cloud bootstrap vm_ __opts__ N/A N/A N/A log info N/A N/A Created Cloud VM '{0[name]}' format vm_ N/A N/A N/A log debug N/A N/A '{0[name]}' VM creation details:
{1} format vm_ N/A N/A pprint pformat data N/A N/A N/A N/A N/A salt utils cloud fire_event event created instance N/A N/A salt/cloud/{0}/created format N/A vm_ N/A name N/A name profile provider N/A vm_ N/A name N/A vm_ N/A profile N/A vm_ N/A driver transport N/A __opts__ N/A transport N/A data N/A script N/A N/A vm_ N/A N/A N/A 
    Return the script deployment object.
     N/A deploy_script N/A N/A N/A N/A salt utils cloud os_script N/A N/A config get_cloud_config_value script vm_ __opts__ vm_ __opts__ N/A N/A N/A N/A salt utils cloud salt_config_to_yaml N/A N/A N/A N/A salt utils cloud minion_config __opts__ vm_ N/A deploy_script N/A start N/A N/A instance_id call N/A None N/A N/A 
    Start an instance.

    CLI Examples:

    .. code-block:: bash

        salt-cloud -a start i-2f733r5n
     N/A N/A call action N/A N/A N/A SaltCloudSystemExit The stop action must be called with -a or --action. N/A N/A N/A log info N/A N/A Starting instance {0} format instance_id N/A params N/A action zone instances.1 StartInstances N/A _get_specified_zone provider N/A get_configured_provider instance_id N/A result N/A query params N/A result N/A stop N/A N/A instance_id force call N/A False None N/A N/A 
    Stop an instance.

    CLI Examples:

    .. code-block:: bash

        salt-cloud -a stop i-2f733r5n
        salt-cloud -a stop i-2f733r5n force=True
     N/A N/A call action N/A N/A N/A SaltCloudSystemExit The stop action must be called with -a or --action. N/A N/A N/A log info N/A N/A Stopping instance {0} format instance_id N/A params N/A action zone instances.1 force StopInstances N/A _get_specified_zone provider N/A get_configured_provider instance_id N/A int force N/A result N/A query params N/A result N/A reboot N/A N/A instance_id call N/A None N/A N/A 
    Reboot an instance.

    CLI Examples:

    .. code-block:: bash

        salt-cloud -a reboot i-2f733r5n
     N/A N/A call action N/A N/A N/A SaltCloudSystemExit The stop action must be called with -a or --action. N/A N/A N/A log info N/A N/A Rebooting instance {0} format instance_id N/A params N/A action zone instances.1 RestartInstances N/A _get_specified_zone provider N/A get_configured_provider instance_id N/A result N/A query params N/A result N/A destroy N/A N/A instance_id call N/A None N/A N/A 
    Destroy an instance.

    CLI Example:

    .. code-block:: bash

        salt-cloud -a destroy i-2f733r5n
        salt-cloud -d i-2f733r5n
     N/A N/A call function N/A N/A N/A SaltCloudSystemExit The destroy action must be called with -d, --destroy, -a or --action. N/A instance_data N/A show_instance instance_id call action N/A name N/A instance_data N/A instance_name N/A N/A N/A N/A N/A salt utils cloud fire_event event destroying instance N/A N/A salt/cloud/{0}/destroying format name N/A name name transport N/A __opts__ N/A transport N/A params N/A action zone instances.1 TerminateInstances N/A _get_specified_zone provider N/A get_configured_provider instance_id N/A result N/A query params N/A N/A N/A N/A N/A salt utils cloud fire_event event destroyed instance N/A N/A salt/cloud/{0}/destroyed format name N/A name name transport N/A __opts__ N/A transport N/A result N/A