??????????????
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ΞddlmZmZmZeZdZdZdZddl m Z ddl m Z m Z ddlmZddlmZdd lmZmZmZmZmZeƒZd „Zd efd „ƒYZd S(i(tabsolute_importtdivisiontprint_functionsΖ lookup: avi author: Sandeep Bandi version_added: 2.9 short_description: Look up ``Avi`` objects. description: - Given an object_type, fetch all the objects of that type or fetch the specific object that matches the name/uuid given via options. - For single object lookup. If you want the output to be a list, you may want to pass option wantlist=True to the plugin. options: obj_type: description: - type of object to query required: True obj_name: description: - name of the object to query obj_uuid: description: - UUID of the object to query extends_documentation_fragment: avi sχ # Lookup query for all the objects of a specific type. - debug: msg="{{ lookup('avi', avi_credentials=avi_credentials, obj_type='virtualservice') }}" # Lookup query for an object with the given name and type. - debug: msg="{{ lookup('avi', avi_credentials=avi_credentials, obj_name='vs1', obj_type='virtualservice', wantlist=True) }}" # Lookup query for an object with the given UUID and type. - debug: msg="{{ lookup('avi', obj_uuid='virtualservice-5c0e183a-690a-45d8-8d6f-88c30a52550d', obj_type='virtualservice') }}" # We can replace lookup with query function to always the get the output as list. # This is helpful for looping. - debug: msg="{{ query('avi', obj_uuid='virtualservice-5c0e183a-690a-45d8-8d6f-88c30a52550d', obj_type='virtualservice') }}" s _raw: description: - One ore more objects returned from ``Avi`` API. type: list elements: dictionary (t to_native(t AnsibleErrortAnsibleParserError(t LookupBase(tDisplay(t ApiSessiontAviCredentialstAviServerErrortObjectNotFoundtAPIErrorcK`sΤg}yB|j||jƒ}d|kr:|d}n |j|ƒWn…tk r}}tjdƒtjt|ƒƒnStt fk r§}t t|ƒƒ‚n)t k rΟ}t dt|ƒƒ‚nX|S(sl Generic function to handle both // and / API resource endpoints. tresultssRResource not found. Please check obj_name/obj_uuid/obj_type are spelled correctly.s5Unable to communicate with controllerdue to error: %s( tgettjsontappendR tdisplaytwarningtvRR R Rt Exception(t avi_sessiontpathtkwargstrsptrsp_datate((s>/usr/lib/python2.7/site-packages/ansible/plugins/lookup/avi.pyt_api?s   t LookupModulecB`seZddd„ZRS(cK`s–t|}ytd|ƒ}Wn%tk rF}tt|ƒƒ‚nXg}y|jdƒ} Wntk rtdƒ‚nX|jddƒr|jdƒ} yFt j d| | fƒ|j | | |} | rζ|j | ƒnWq’t k r}tt|ƒƒ‚q’Xn€|jddƒro|jdƒ} d| | f} t j d| | fƒt|| |}n#t j d| ƒt|| |}|S( Ntavi_credentialstobj_types#Please pass the obj_type for lookuptobj_namesFetching obj: %s of type: %stobj_uuids%s/%ss Fetching all objects of type: %s(R RRRRtpoptKeyErrorRtNoneRRtget_object_by_nameRR R(tselfttermst variablesRRt api_credstaviRRRtnameRR tobj_path((s>/usr/lib/python2.7/site-packages/ansible/plugins/lookup/avi.pytrunZs6  N(t__name__t __module__R#R,(((s>/usr/lib/python2.7/site-packages/ansible/plugins/lookup/avi.pyRYsN(t __future__RRRttypet __metaclass__t DOCUMENTATIONtEXAMPLEStRETURNtansible.module_utils._textRtansible.errorsRRtansible.plugins.lookupRtansible.utils.displayRt(ansible.module_utils.network.avi.avi_apiRR R R R RRR(((s>/usr/lib/python2.7/site-packages/ansible/plugins/lookup/avi.pyts (