File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/cloud/clouds/__pycache__/softlayer_hw.cpython-310.pyc
Back
o ;jxJ � @ s6 d Z ddlZddlZddlZddlmZ ddlZddlm Z zddl Z dZW n ey1 dZY nw e� e�ZdZdd� Zd d � Zdd� Zd d� Zdd� Zd1dd�Zd2dd�Zd2dd�Zd2dd�Zd2dd�Zdd� Z d3dd �Zd2d!d"�Zd2d#d$�Zd2d%d&�Zd2d'd(�Z d2d)d*�Z!d4d+d,�Z"d4d-d.�Z#d2d/d0�Z$dS )5a� SoftLayer HW Cloud Module ========================= The SoftLayer HW cloud module is used to control access to the SoftLayer hardware cloud 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_hw 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�softlayer_hwc C s t � du rdS t� du rdS tS )z- Check for SoftLayer configurations. F)�get_configured_provider�get_dependencies�__virtualname__� r r �R/opt/saltstack/salt/lib/python3.10/site-packages/salt/cloud/clouds/softlayer_hw.py�__virtual__2 s r c C s"