Anons79 Mini Shell

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

�
�Udac@s�idd6dgd6dd6ZdZdZdZd	d
lmZd	dlmZmZd	dlm	Z	d
�Z
d�Zedkr�e�ndS(s1.1tmetadata_versiontpreviewtstatustnetworktsupported_bysK
---
module: nxos_reboot
extends_documentation_fragment: nxos
version_added: 2.2
short_description: Reboot a network device.
description:
    - Reboot a network device.
author:
    - Jason Edelman (@jedelman8)
    - Gabriele Gerbino (@GGabriele)
notes:
    - Tested against NXOSv 7.3.(0)D1(1) on VIRL
    - The module will fail due to timeout issues, but the reboot will be
      performed anyway.
options:
    confirm:
        description:
            - Safeguard boolean. Set to true if you're sure you want to reboot.
        required: false
        default: false
        type: bool
s"
- nxos_reboot:
    confirm: true
s
rebooted:
    description: Whether the device was instructed to reboot.
    returned: success
    type: bool
    sample: true
i����(tload_config(tnxos_argument_spect
check_args(t
AnsibleModulecCs*d}itd6}t||t|�dS(Nsterminal dont-ask ; reloadtignore_timeout(tTrueRtFalse(tmoduletcmdstopts((sL/usr/lib/python2.7/site-packages/ansible/modules/network/nxos/nxos_reboot.pytrebootBs
cCs�tdtdtdd��}|jt�td|dt�}t�}t||�tdtd|�}|jdr�|j	s�t
|�nt|d<n|j|�dS(	Ntconfirmtdefaultttypetboolt
argument_spectsupports_check_modetchangedtwarnings(tdictRtupdateRRR
tlistRtparamst
check_modeRt	exit_json(RRRtresults((sL/usr/lib/python2.7/site-packages/ansible/modules/network/nxos/nxos_reboot.pytmainHs
	

	

t__main__N(
tANSIBLE_METADATAt
DOCUMENTATIONtEXAMPLEStRETURNt&ansible.module_utils.network.nxos.nxosRRRtansible.module_utils.basicRRRt__name__(((sL/usr/lib/python2.7/site-packages/ansible/modules/network/nxos/nxos_reboot.pyt<module>s


		

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