File: //opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/__pycache__/infoblox.cpython-310.pyc
o
�N�gF �
@ s| d Z ddlZdZzddlZW n ey$ Z z
ee�ZW Y dZ[ndZ[ww dZdd� Zi Z dd� Z
dd � Zd
d� Zdd
� Z
dd� Zdd� Zdd� Zdd� Z dDdd�Zdd� ZdEdd�Zdd� ZdFdd �ZdGd!d"�ZdEd#d$�ZdHd%d&�ZdHd'd(�ZdId)d*�ZdJd+d,�Z dGd-d.�Z dGd/d0�ZdEd1d2�ZdEd3d4�Z d5d6� Z!dEd7d8�Z"dFd9d:�Z#d;d<� Z$d=d>� Z%dKd@dA�Z&dJdBdC�Z'dS )La�
This module have been tested on infoblox API v1.2.1,
other versions of the API are likly workable.
:depends: libinfoblox, https://github.com/steverweber/libinfoblox
libinfoblox can be installed using `pip install libinfoblox`
API documents can be found on your infoblox server at:
https://INFOBLOX/wapidoc
:configuration: The following configuration defaults can be
defined (pillar or config files '/etc/salt/master.d/infoblox.conf'):
.. code-block:: python
infoblox.config:
api_sslverify: True
api_url: 'https://INFOBLOX/wapi/v1.2.1'
api_user: 'username'
api_key: 'password'
Many of the functions accept `api_opts` to override the API config.
.. code-block:: bash
salt-call infoblox.get_host name=my.host.com api_url: 'https://INFOBLOX/wapi/v1.2.1' api_user=admin api_key=passs
� N�infobloxc C s t d u t fS �N)�
IMPORT_ERR� r r �I/opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/infoblox.py�__virtual__- s r c K sd ddddd�}dt � v rt� d�}|�td |i �� t|�� �t| �� �@ D ]}| | ||<