Viewing: cloudstack.cpython-36.pyc
3 �N�b�E � @ s� d Z ddlZddlZddljZddlZddlZddlT ddl m Z ddlmZ ddl mZ y<ddlmZ eej�ed�k r�ddlZejjjd � d ZW n ek r� dZY nX eje�Zeee� �Zeee� �Zee e� �Z ee!e� �Z!ee"e� �Z"ee#e� �Z#ee$e� �Z$ee%e� �Z%ee&e� �Z&ee'e� �Z'ee(e� �Z(dZ)d d� Z*dd� Z+dd� Z,dd� Z-dd� Z.dd� Z/dd� Z0dd� Z1dd� Z2dd � Z3d!d"� Z4d#d$� Z5d%d&� Z6d'd(� Z7d/d)d*�Z8d+d,� Z9d-d.� Z:dS )0a� CloudStack Cloud Module ======================= The CloudStack cloud module is used to control access to a CloudStack based Public Cloud. :depends: libcloud >= 0.15 Use of this module requires the ``apikey``, ``secretkey``, ``host`` and ``path`` parameters. .. code-block:: yaml my-cloudstack-cloud-config: apikey: <your api key > secretkey: <your secret key > host: localhost path: /client/api driver: cloudstack � N)�*)�SaltCloudSystemExit)�namespaced_function)�LooseVersion)�CloudStackNetworkz1.4.0z/etc/ssl/certs/YaST-CA.pemTF� cloudstackc C s t � dkrdS t� dkrdS tS )zP Set up the libcloud functions and check for CloudStack configurations. F)�get_configured_provider�get_dependencies�__virtualname__� r r � /usr/lib/python3.6/cloudstack.py�__virtual__K s r c C s"