Anons79 Mini Shell

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

�
�Udac@`s�ddlmZmZmZeZidd6dgd6dd6ZdZd	Zd
Z	ddl
mZddlm
Z
dd
lmZddlZd�Zd�Zedkr�e�ndS(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatustnetworktsupported_bys�
---
module: checkpoint_access_layer_facts
short_description: Get access layer facts on Check Point over Web Services API
description:
  - Get access layer facts on Check Point devices.
    All operations are performed over Web Services API.
version_added: "2.8"
author: "Ansible by Red Hat (@rcarrillocruz)"
options:
  uid:
    description:
      - UID of access layer object.
    type: str
  name:
    description:
      - Name of the access layer object.
    type: str
s;
- name: Get object facts
  checkpoint_access_layer_facts:
sc
ansible_facts:
  description: The checkpoint access layer facts.
  returned: always.
  type: list
(t
AnsibleModule(t
Connection(t	HTTPErrorNcC`s�|jd}|jd}i}|rNi|d6}|jd|�\}}nF|r|i|d6}|jd|�\}}n|jd|�\}}||fS(Ntuidtnames/web_api/show-access-layers/web_api/show-access-layers(tparamstsend_request(tmodulet
connectionRRtpayloadtcodetresult((se/usr/lib/python2.7/site-packages/ansible/modules/network/check_point/checkpoint_access_layer_facts.pytget_access_layerDs



c	C`s�tdtdddd�dtdddd��}td|�}t|j�}t||�\}}|dkr�|jdtd	|��n|jd
dj||��dS(NRttypetstrtdefaultRt
argument_speci�t
ansible_factstcheckpoint_access_layerstmsgs6Check Point device returned error {0} with message {1}(	tdicttNoneRR	t_socket_pathRt	exit_jsont	fail_jsontformat(RRRRtresponse((se/usr/lib/python2.7/site-packages/ansible/modules/network/check_point/checkpoint_access_layer_facts.pytmainVst__main__(t
__future__RRRRt
__metaclass__tANSIBLE_METADATAt
DOCUMENTATIONtEXAMPLEStRETURNtansible.module_utils.basicRtansible.module_utils.connectionR	t+ansible.module_utils.six.moves.urllib.errorR
tjsonRR#t__name__(((se/usr/lib/python2.7/site-packages/ansible/modules/network/check_point/checkpoint_access_layer_facts.pyt<module>s


		

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