Anons79 Mini Shell

Directory : /lib/python2.7/site-packages/ansible/modules/network/ingate/
Upload File :
Current File : //lib/python2.7/site-packages/ansible/modules/network/ingate/ig_unit_information.pyo

�
�Udac@`s�ddlmZmZmZeZidgd6dd6dd6ZdZd	Zd
Z	ddl
mZddlm
Z
dd
lmZmZmZyddlmZWnek
r�nXd�Zd�Zedkr�e�ndS(i(tabsolute_importtdivisiontprint_functiontpreviewtstatust	communitytsupported_bys1.1tmetadata_versions
---
module: ig_unit_information
short_description: Get unit information from an Ingate SBC.
description:
  - Get unit information from an Ingate SBC.
version_added: 2.8
extends_documentation_fragment: ingate
author:
  - Ingate Systems AB (@ingatesystems)
s�
- name: Get unit information
  ig_unit_information:
    client:
      version: v1
      scheme: http
      address: 192.168.1.1
      username: alice
      password: foobar
s�
unit-information:
  description: Information about the unit
  returned: success
  type: complex
  contains:
    installid:
      description: The installation identifier
      returned: success
      type: str
      sample: any
    interfaces:
      description: List of interface names
      returned: success
      type: str
      sample: eth0 eth1 eth2 eth3 eth4 eth5
    lang:
      description: The unit's language
      returned: success
      type: str
      sample: en
    lic_email:
      description: License email information
      returned: success
      type: str
      sample: [email protected]
    lic_mac:
      description: License MAC information
      returned: success
      type: str
      sample: any
    lic_name:
      description: License name information
      returned: success
      type: str
      sample: Example Inc
    macaddr:
      description: The MAC address of the first interface
      returned: success
      type: str
      sample: 52:54:00:4c:e2:07
    mode:
      description: Operational mode of the unit
      returned: success
      type: str
      sample: Siparator
    modules:
      description: Installed module licenses
      returned: success
      type: str
      sample: failover vpn sip qturn ems qos rsc voipsm
    patches:
      description: Installed patches on the unit
      returned: success
      type: list
      sample: []
    product:
      description: The product name
      returned: success
      type: str
      sample: Software SIParator/Firewall
    serial:
      description: The serial number of the unit
      returned: success
      type: str
      sample: IG-200-839-2008-0
    systemid:
      description: The system identifier of the unit
      returned: success
      type: str
      sample: IG-200-839-2008-0
    unitname:
      description: The name of the unit
      returned: success
      type: str
      sample: Testname
    version:
      description: Firmware version
      returned: success
      type: str
      sample: 6.2.0-beta2
(t
AnsibleModule(t	to_native(tingate_argument_spectingate_create_clienttis_ingatesdk_installed(t	ingatesdkcC`st|j�}|j�}|S(N(Rtparamstunit_information(tmodulet
api_clienttresponse((sV/usr/lib/python2.7/site-packages/ansible/modules/network/ingate/ig_unit_information.pytmake_request�scC`s�t�}td|dt�}t|�tdt�}y!t|�}|j|d�Wn,tjk
r�}|j	dt
|��nX|j|�dS(Nt
argument_spectsupports_check_modetchangeditmsg(R
RtFalseRtdictRtupdateR
tSdkErrort	fail_jsonR	t	exit_json(RRtresultRte((sV/usr/lib/python2.7/site-packages/ansible/modules/network/ingate/ig_unit_information.pytmain�s		
t__main__N(t
__future__RRRttypet
__metaclass__tANSIBLE_METADATAt
DOCUMENTATIONtEXAMPLEStRETURNtansible.module_utils.basicRtansible.module_utils._textR	t*ansible.module_utils.network.ingate.commonR
RRtingateR
tImportErrorRR t__name__(((sV/usr/lib/python2.7/site-packages/ansible/modules/network/ingate/ig_unit_information.pyt<module>s&


S
			

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]