??????????????
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®ddlmZmZmZeZddlZddlZddlZddl Z dZ yddl Z e ZWn#ek r“eZe jƒZ nXddlmZmZddlmZddlmZd„Zd„Zd„Zd „Zd „Zd „Zed „Z ed „Z!d„Z"d„Z#dde dd„Z$d„Z%d„Z&dd„Z'dd„Z(dd„Z)d„Z*de+fd„ƒYZ,de+fd„ƒYZ-dS(i(tabsolute_importtdivisiontprint_functionN(t env_fallbacktmissing_required_lib(tis_mac(t __version__cC`sÓtdtdddddgdtdd d td gfƒd tdddd dgdtddd tdgfƒdtdddddgdtdtd tdgfƒdtdddtdtd tdgfƒƒS(Nthostnamettypetstrtaliasesthosttpooltrequiredtdefaultt localhosttfallbacktXENSERVER_HOSTtusernametusertadmintroottXENSERVER_USERtpasswordtpasstpwdtno_logtXENSERVER_PASSWORDtvalidate_certstbooltXENSERVER_VALIDATE_CERTS(tdicttFalseRtTrue(((sB/usr/lib/python2.7/site-packages/ansible/module_utils/xenserver.pytxenserver_common_argument_specs(       cC`s/idd6dd6dd6dd6}|j|ƒS(s4Maps XAPI VM power states to module VM power states.t poweredontrunningt poweredoffthaltedt suspendedtpaused(tget(t power_statetmodule_power_state_map((sB/usr/lib/python2.7/site-packages/ansible/module_utils/xenserver.pytxapi_to_module_vm_power_state4s  cC`s=idd6dd6dd6dd6dd6dd6}|j|ƒS( s4Maps module VM power states to XAPI VM power states.R$R#R&R%t restartedR't shutdownguestt rebootguest(R)(R*tvm_power_state_map((sB/usr/lib/python2.7/site-packages/ansible/module_utils/xenserver.pytmodule_to_xapi_vm_power_state@s cC`sr|jdƒ}t|ƒdkr%tSxF|D]>}|jƒsBtSt|ƒ}|dksf|dkr,tSq,WtS(sÑValidates given string as IPv4 address for given string. Args: ip_addr (str): string to validate as IPv4 address. Returns: bool: True if string is valid IPv4 address, else False. t.iiiÿ(tsplittlenR tisdigittintR!(tip_addrt ip_addr_splitt ip_addr_octettip_addr_octet_int((sB/usr/lib/python2.7/site-packages/ansible/module_utils/xenserver.pytis_valid_ip_addrNs    c C`s|jdƒ}t|ƒdkr%tSddddddd d d g }x|D]}||krMtSqMW|d d kr«|d dks§|ddks§|ddkr«tS|d d krß|ddksÛ|ddkrßtS|dd kr|ddkrtStS(sÃValidates given string as IPv4 netmask. Args: ip_netmask (str): string to validate as IPv4 netmask. Returns: bool: True if string is valid IPv4 netmask, else False. R2it0t128t192t224t240t248t252t254t255iiii(R3R4R R!(t ip_netmasktip_netmask_splittvalid_octet_valuestip_netmask_octet((sB/usr/lib/python2.7/site-packages/ansible/module_utils/xenserver.pytis_valid_ip_netmaskhs !  @0 cC`s<|jƒstSt|ƒ}|dks4|dkr8tStS(s¿Validates given string as IPv4 prefix. Args: ip_prefix (str): string to validate as IPv4 prefix. Returns: bool: True if string is valid IPv4 prefix, else False. ii (R5R R6R!(t ip_prefixt ip_prefix_int((sB/usr/lib/python2.7/site-packages/ansible/module_utils/xenserver.pytis_valid_ip_prefix†s  cC`sq|rt}n t|ƒ}|ridjgddddgD](}tddt|ƒ>|?d@ƒ^q:ƒSd Sd S( sbConverts IPv4 prefix to netmask. Args: ip_prefix (str): IPv4 prefix to convert. skip_check (bool): Skip validation of IPv4 prefix (default: False). Use if you are sure IPv4 prefix is valid. Returns: str: IPv4 netmask equivalent to given IPv4 prefix if IPv4 prefix is valid, else an empty string. R2iiiiIÿÿÿÿi iÿtN(R!RLtjoinR R6(RJt skip_checktip_prefix_validti((sB/usr/lib/python2.7/site-packages/ansible/module_utils/xenserver.pytip_prefix_to_netmaskšs   HcC`sj|rt}n t|ƒ}|rbttg|jdƒD]!}tt|ƒƒjdƒ^q7ƒƒSdSdS(sgConverts IPv4 netmask to prefix. Args: ip_netmask (str): IPv4 netmask to convert. skip_check (bool): Skip validation of IPv4 netmask (default: False). Use if you are sure IPv4 netmask is valid. Returns: str: IPv4 prefix equivalent to given IPv4 netmask if IPv4 netmask is valid, else an empty string. R2t1RMN(R!RIR tsumR3tbinR6tcount(REROtip_netmask_validRQ((sB/usr/lib/python2.7/site-packages/ansible/module_utils/xenserver.pytip_netmask_to_prefix±s   AcC`s|jƒ}|jdƒ}|ddkr;|jdƒn|ddkr[|jdƒnt|ƒdkrqtS|jdƒdkrŠtS|jdƒdkr¯|jdƒnt|ƒdkrÅtStjdƒ}x'|D]}t |j |ƒƒsÛtSqÛWt S(sÁValidates given string as IPv6 address. Args: ip6_addr (str): string to validate as IPv6 address. Returns: bool: True if string is valid IPv6 address, else False. t:iRMiÿÿÿÿiis^[0-9a-f]{1,4}$( tlowerR3tpopR4R RVtremovetretcompileRtmatchR!(tip6_addrtip6_addr_splittip6_addr_hextet_regextip6_addr_hextet((sB/usr/lib/python2.7/site-packages/ansible/module_utils/xenserver.pytis_valid_ip6_addrÈs&  cC`s<|jƒstSt|ƒ}|dks4|dkr8tStS(sÀValidates given string as IPv6 prefix. Args: ip6_prefix (str): string to validate as IPv6 prefix. Returns: bool: True if string is valid IPv6 prefix, else False. ii€(R5R R6R!(t ip6_prefixtip6_prefix_int((sB/usr/lib/python2.7/site-packages/ansible/module_utils/xenserver.pytis_valid_ip6_prefixîs  tVMRMc C`sžtj|ƒ}|dkr$d}n0|dkr9d}n|dkrNd}n|}d}|r¿y|jd||fƒ}Wqštjk r»} |r¼|jd d |||fƒq¼qšXnÛ|r€y|jd ||fƒ} Wn-tjk r} |jd d | jƒnX| sA|r}|jd d |||fƒq}qšt| ƒdkrs|jd d|||fƒqš| d}n|jd d||fƒ|S(sKFinds and returns a reference to arbitrary XAPI object. An object is searched by using either name (name_label) or UUID with UUID taken precedence over name. Args: module: Reference to Ansible module object. name (str): Name (name_label) of an object to search for. uuid (str): UUID of an object to search for. obj_type (str): Any valid XAPI object type. See XAPI docs. fail (bool): Should function fail with error message if object is not found or exit silently (default: True). The function always fails if multiple objects with same name are found. msg_prefix (str): A string error messages should be prefixed with (default: ""). Returns: XAPI reference to found object or None if object is not found and fail=False. ttemplatetsnapshotRhs home serverR s ISO imagetVDIs%s.get_by_uuidtmsgs%s%s with UUID '%s' not found!s%s.get_by_name_labelsXAPI ERROR: %ss%s%s with name '%s' not found!is5%smultiple %ss with name '%s' found! Please use UUID.is(%sno valid name or UUID supplied for %s!(stemplateRjN( tXAPItconnecttNonetxenapi_requesttXenAPItFailuret fail_jsontdetailsR4( tmoduletnametuuidtobj_typetfailt msg_prefixt xapi_sessiont real_obj_typetobj_reftft obj_ref_list((sB/usr/lib/python2.7/site-packages/ansible/module_utils/xenserver.pytget_object_refs8      '#  cC`s‘| s|dkriStj|ƒ}y7|jjj|ƒ}|ddkrt|jjj|dƒ}||dfsRktVIFscS`st|dƒS(Ntdevice(R6(t vm_vif_params((sB/usr/lib/python2.7/site-packages/ansible/module_utils/xenserver.pyR†xstnetworkt guest_metricsiiisfeature-static-ip-settingtothertnativetcustomization_agenttcustomRlsXAPI ERROR: %s(RmRntxenapiRht get_recordR tVBDtsortedRktVIFRŠtVM_guest_metricstget_xenserver_versionR)RqRrRsRt(Rutvm_refR{t vm_paramst vm_affinityt vm_vbd_reftvm_vbd_params_listR…t vm_vdi_paramst vm_vif_reftvm_vif_params_listR‰tvm_network_paramstvm_guest_metricstxenserver_versionR~((sB/usr/lib/python2.7/site-packages/ansible/module_utils/xenserver.pytgather_vm_paramsDsJ   , ,    / c C`sX|s iStj|ƒ}it|djƒƒd6|dd6|dd6|dd6|dd 6|d jd d ƒd 6it|d ƒd6t|djddƒƒd6tt|dƒdƒd6d6gd6id6gd6|djdd ƒd6|dd6|dd6|d d 6|dd6|dd6}x|dD]}|d d!krã|jjj|d"d#ƒ}it|d"d$ƒd%6|d"dd6|d"dd6|dd&6|dd'6|d(d)6|d*d+6}|dj |ƒq7|d d,kr7|d-r|dj d d.ƒqG|dj d d/ƒ|dj d0|d"dƒq7q7Wx|d1D]ú}|d2jdiƒ}i |d3dd6|d4d56|d(d66|d7d86|jd9|d(d ƒd:6d d;6d d<6d d=6gt |j ƒƒD]'} | j d>|d(ƒrè|| ^qèd?6d d@6d dA6} |ddBkrÞ|dCr…|dCdDr…|dCdDjdEƒdF| d;sD               & B V h j ; ? @