File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/cloud/clouds/__pycache__/cloudstack.cpython-310.pyc
Back
o ;jZE � @ s� d Z ddlZddlZddlmZ ddlZddlZddlT ddl m Z ddlmZ ddl mZ zddlmZ eej�ed�k rIddlZejj�d � d ZW n eyW dZY nw e�e�Zeee� �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'dZ(d d� Z)dd� Z*dd� Z+dd� Z,dd� Z-dd� Z.dd� Z/dd� Z0dd� Z1dd � Z2d!d"� Z3d#d$� Z4d%d&� Z5d'd(� Z6d/d)d*�Z7d+d,� Z8d-d.� Z9dS )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)�Version)�CloudStackNetworkz1.4.0z/etc/ssl/certs/YaST-CA.pemTF� cloudstackc C s t � du rdS t� du rdS tS )zP Set up the libcloud functions and check for CloudStack configurations. F)�get_configured_provider�get_dependencies�__virtualname__� r r �P/opt/saltstack/salt/lib/python3.10/site-packages/salt/cloud/clouds/cloudstack.py�__virtual__L s r c C s"