golden hour
/opt/saltstack/salt/lib/python3.10/site-packages/salt/cloud/clouds/__pycache__
⬆️ Go Up
Upload
File/Folder
Size
Actions
__init__.cpython-310.pyc
171 B
Del
OK
aliyun.cpython-310.pyc
19.81 KB
Del
OK
azurearm.cpython-310.pyc
39.67 KB
Del
OK
clc.cpython-310.pyc
8.91 KB
Del
OK
cloudstack.cpython-310.pyc
10.87 KB
Del
OK
digitalocean.cpython-310.pyc
27.39 KB
Del
OK
dimensiondata.cpython-310.pyc
12.62 KB
Del
OK
ec2.cpython-310.pyc
92.28 KB
Del
OK
gce.cpython-310.pyc
48.78 KB
Del
OK
gogrid.cpython-310.pyc
11.07 KB
Del
OK
hetzner.cpython-310.pyc
11.82 KB
Del
OK
joyent.cpython-310.pyc
22.78 KB
Del
OK
libvirt.cpython-310.pyc
16.69 KB
Del
OK
linode.cpython-310.pyc
59.17 KB
Del
OK
lxc.cpython-310.pyc
10.9 KB
Del
OK
msazure.cpython-310.pyc
71.44 KB
Del
OK
oneandone.cpython-310.pyc
18.39 KB
Del
OK
opennebula.cpython-310.pyc
90.2 KB
Del
OK
openstack.cpython-310.pyc
23.53 KB
Del
OK
packet.cpython-310.pyc
12.06 KB
Del
OK
parallels.cpython-310.pyc
11.89 KB
Del
OK
profitbricks.cpython-310.pyc
25.34 KB
Del
OK
proxmox.cpython-310.pyc
27.25 KB
Del
OK
pyrax.cpython-310.pyc
2.59 KB
Del
OK
qingcloud.cpython-310.pyc
16.64 KB
Del
OK
saltify.cpython-310.pyc
11.91 KB
Del
OK
scaleway.cpython-310.pyc
9.36 KB
Del
OK
softlayer.cpython-310.pyc
13.26 KB
Del
OK
softlayer_hw.cpython-310.pyc
13.5 KB
Del
OK
tencentcloud.cpython-310.pyc
20.55 KB
Del
OK
vagrant.cpython-310.pyc
8.32 KB
Del
OK
virtualbox.cpython-310.pyc
9.57 KB
Del
OK
vmware.cpython-310.pyc
94.14 KB
Del
OK
vultrpy.cpython-310.pyc
12.8 KB
Del
OK
xen.cpython-310.pyc
25.66 KB
Del
OK
Edit: opennebula.cpython-310.pyc
o �xe�� � @ s� d Z ddlZddlZddlZddlZddlmZ ddlZddl Zddl mZmZm Z mZmZ zddlZddlmZ dZW n eyG dZY nw e�e�ZdZdd � Zd d� Zdd � Zdd� Zd�dd�Zd�dd�Zd�dd�Z d�dd�Z!d�dd�Z"d�dd�Z#d�dd�Z$d�dd�Z%d�d d!�Z&d�d"d#�Z'd�d$d%�Z(d�d&d'�Z)d�d(d)�Z*d�d*d+�Z+d�d,d-�Z,d�d.d/�Z-d�d0d1�Z.d�d2d3�Z/d�d4d5�Z0d6d7� Z1d�d8d9�Z2d:d;� Z3d�d<d=�Z4d�d>d?�Z5d�d@dA�Z6dBdC� Z7d�dDdE�Z8d�dFdG�Z9d�dHdI�Z:dJdK� Z;d�dLdM�Z<d�dNdO�Z=d�dPdQ�Z>d�dRdS�Z?d�dTdU�Z@d�dVdW�ZAd�dXdY�ZBd�dZd[�ZCd�d\d]�ZDd�d^d_�ZEd�d`da�ZFd�dbdc�ZGd�ddde�ZHd�dfdg�ZId�dhdi�ZJd�djdk�ZKd�dldm�ZLd�dndo�ZMd�dpdq�ZNd�drds�ZOd�dtdu�ZPd�dvdw�ZQd�dxdy�ZRd�dzd{�ZSd�d|d}�ZTd�d~d�ZUd�d�d��ZVd�d�d��ZWd�d�d��ZXd�d�d��ZYd�d�d��ZZd�d�d��Z[d�d�d��Z\d�d�d��Z]d�d�d��Z^d�d�d��Z_d�d�d��Z`d�d�d��Zad�d�d��Zbd�d�d��Zcd�d�d��Zdd�d�d��Zed�d�d��Zfd�d�d��Zgd�d�d��Zhd�d�d��Zid�d�d��Zjd�d�d��Zkd�d�� Zld�d�� Zmd�d�� Znd�d�d��Zod�d�� ZpdS )�ab OpenNebula Cloud Module ======================= The OpenNebula cloud module is used to control access to an OpenNebula cloud. .. versionadded:: 2014.7.0 :depends: lxml :depends: OpenNebula installation running version ``4.14`` or later. Use of this module requires the ``xml_rpc``, ``user``, and ``password`` parameters to be set. Set up the cloud configuration at ``/etc/salt/cloud.providers`` or ``/etc/salt/cloud.providers.d/opennebula.conf``: .. code-block:: yaml my-opennebula-config: xml_rpc: http://localhost:2633/RPC2 user: oneadmin password: JHGhgsayu32jsa driver: opennebula This driver supports accessing new VM instances via DNS entry instead of IP address. To enable this feature, in the provider or profile file add `fqdn_base` with a value matching the base of your fully-qualified domain name. Example: .. code-block:: yaml my-opennebula-config: [...] fqdn_base: <my.basedomain.com> [...] The driver will prepend the hostname to the fqdn_base and do a DNS lookup to find the IP of the new VM. .. note: Whenever ``data`` is provided as a kwarg to a function and the attribute=value syntax is used, the entire ``data`` value must be wrapped in single or double quotes. If the value given in the attribute=value data string contains multiple words, double quotes *must* be used for the value while the entire data string should be encapsulated in single quotes. Failing to do so will result in an error. Example: .. code-block:: bash salt-cloud -f image_allocate opennebula datastore_name=default \ data='NAME="My New Image" DESCRIPTION="Description of the image." \ PATH=/home/one_user/images/image_name.img' salt-cloud -f secgroup_allocate opennebula \ data="Name = test RULE = [PROTOCOL = TCP, RULE_TYPE = inbound, \ RANGE = 1000:2000]" � N)�SaltCloudConfigError�SaltCloudExecutionFailure�SaltCloudExecutionTimeout�SaltCloudNotFound�SaltCloudSystemExit)�etreeTF� opennebulac C s t � du rdS t� du rdS tS )z' Check for OpenNebula configs. F)�get_configured_provider�get_dependencies�__virtualname__� r r �P/opt/saltstack/salt/lib/python3.10/site-packages/salt/cloud/clouds/opennebula.py�__virtual__^ s r c C s"