File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/cloud/clouds/__pycache__/softlayer.cpython-310.pyc
Back
o ;j�L � @ s d Z ddlZddlZddlmZ ddlZddlmZ zddl Z dZ W n ey- dZ Y nw e�e �ZdZdd� Zd d � Zdd� Zd d� Zdd� Zd-dd�Zd.dd�Zd.dd�Zd.dd�Zd.dd�Zd.dd�Zdd� Zd/d!d"�Zd.d#d$�Zd.d%d&�Zd.d'd(�Zd.d)d*�Z d.d+d,�Z!dS )0a� SoftLayer Cloud Module ====================== The SoftLayer cloud module is used to control access to the SoftLayer VPS system. Use of this module only requires the ``apikey`` parameter. Set up the cloud configuration at: ``/etc/salt/cloud.providers`` or ``/etc/salt/cloud.providers.d/softlayer.conf``: .. code-block:: yaml my-softlayer-config: # SoftLayer account api key user: MYLOGIN apikey: JVkbSJDGHSDKUKSDJfhsdklfjgsjdkflhjlsdfffhgdgjkenrtuinv driver: softlayer The SoftLayer Python Library needs to be installed in order to use the SoftLayer salt.cloud modules. See: https://pypi.python.org/pypi/SoftLayer :depends: softlayer � N)�SaltCloudSystemExitTF� softlayerc C s t � du rdS t� du rdS tS )z- Check for SoftLayer configurations. F)�get_configured_provider�get_dependencies�__virtualname__� r r �O/opt/saltstack/salt/lib/python3.10/site-packages/salt/cloud/clouds/softlayer.py�__virtual__1 s r c C s"