??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
ó àUdac@`sÐddlmZmZmZeZdZddlZddlZddl m Z ddl m Z ddl mZddlmZddlmZmZdd lmZdd lmZd efd „ƒYZdS( i(tabsolute_importtdivisiontprint_functions --- author: Ansible Networking Team cliconf: vyos short_description: Use vyos cliconf to run command on VyOS platform description: - This vyos plugin provides low level abstraction apis for sending and receiving CLI commands from VyOS network devices. version_added: "2.4" N(tchain(tAnsibleConnectionFailure(tto_text(tMapping(t NetworkConfigtdumps(tto_list(t CliconfBasetCliconfcB`s¶eZd„Zd d d„Zd ed d d„Zd d d ed eed„Zd d„Z d„Z d d dd d d d„Z d ed„Z d „Z d „Zd „Zd „ZRS(cC`sÂi}d|d<|jdƒ}t|ddƒjƒ}tjd|ƒ}|re|jdƒ|d}|j|ƒrØ||krØ|j |ƒ|j|ƒqØqØWqqWt |ƒ|d<|S(Ntsupports_generate_diffs4candidate configuration is required to generate difft diff_matchs0'match' value %s in invalid, valid values are %ss, s"'replace' in diff is not supporteds,'diff_ignore_lines' in diff is not supporteds'path' in diff is not supportedtsettdeletetindentitcontentssset %ss {ts tnonet config_difft's-line must start with either `set` or `delete`(R1R!R6R"R#R5RtitemsROtlistt enumerateR4R>tstrRtsplitt splitlinesRRRtsubtadd(RR=trunningRQtdiff_ignore_linestpatht diff_replaceR.tdevice_operationsR&t set_formatt candidate_objtctconfigtcommandstitemtindextentryRDtcandidate_commandstrunning_commandstupdatestvisitedRO((s@/usr/lib/python2.7/site-packages/ansible/plugins/cliconf/vyos.pytget_diff“s`  &  , 1      cC`sÝ|dkrtdƒ‚ntƒ}x²t|ƒD]¤}t|tƒsVi|d6}n|jddƒ}|rtd|ƒ‚ny|j|}Wn1tk rÇ}|r²‚nt |d|ƒ}nX|j |ƒq1W|S(Ns'commands' value is requiredR'RNs3'output' value %s is not supported for run_commandsterr( R6R"R[R R3RtpopR$RtgetattrR4(RRktcheck_rct responsesRDRNR(RF((s@/usr/lib/python2.7/site-packages/ansible/plugins/cliconf/vyos.pyt run_commandsØs"  cC`sQi td6td6td6td6td6td6td6td6td 6td 6td 6S( Ntsupports_diff_replacetsupports_committsupports_rollbacktsupports_defaultstsupports_onbox_difftsupports_commit_commenttsupports_multiline_delimitertsupports_diff_matchtsupports_diff_ignore_linesRPtsupports_replace(tFalsetTrue(R((s@/usr/lib/python2.7/site-packages/ansible/plugins/cliconf/vyos.pyR1ðscC`s,iddgd6ddgd6gd6gd6S( NRRRRRORWRQReRN((R((s@/usr/lib/python2.7/site-packages/ansible/plugins/cliconf/vyos.pyR!ÿs   cC`satt|ƒjƒ}|dcddddg7<|jƒ|d<|j|jƒƒtj|ƒS(NtrpcR7R9RsRyRf(tsuperR tget_capabilitiesR1tupdateR!tjsonR(Rtresult((s@/usr/lib/python2.7/site-packages/ansible/plugins/cliconf/vyos.pyRˆs cC`s)|jjr%|jddddƒndS(sT Make sure we are in the operational cli mode :return: None tconfig_contextR-t exit_commands exit discardN(R:t connectedt_update_cli_prompt_context(R((s@/usr/lib/python2.7/site-packages/ansible/plugins/cliconf/vyos.pytset_cli_prompt_contexts N(t__name__t __module__RR6R)R…RHR„RR7R9RsRyR1R!RˆR(((s@/usr/lib/python2.7/site-packages/ansible/plugins/cliconf/vyos.pyR .s )  E   (t __future__RRRttypet __metaclass__t DOCUMENTATIONRRŠt itertoolsRtansible.errorsRtansible.module_utils._textRt/ansible.module_utils.common._collections_compatRt*ansible.module_utils.network.common.configRRt)ansible.module_utils.network.common.utilsR tansible.plugins.cliconfR R (((s@/usr/lib/python2.7/site-packages/ansible/plugins/cliconf/vyos.pyts