??????????????
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Ž d d l m Z m Z m Z e Z d Z d Z d Z d d l m
Z
d d l m Z d d l
m Z d d l m Z d e
f d
„ ƒ YZ d S( i ( t absolute_importt divisiont print_functionsq
---
lookup: skydive
version_added: "2.8"
short_description: Query Skydive objects
description:
- Uses the Skydive python REST client to return the queried object from
Skydive network analyzer.
requirements:
- skydive-client
extends_documentation_fragment: skydive
options:
filter:
description: a dict object that is used to filter the return objects
sÂ
- name: return skydive metdata if present based on Name
set_fact:
skydive_meta: >-
{{ lookup('skydive', filter={'query': "G.V().Has('Name', 'sumit-VirtualBox')"}) }}
- name: return all the skydive metdata having parameter Name
set_fact:
skydive: >-
{{ lookup('skydive', filter={'query': "G.V().Has('Name')"},
provider={'endpoint': 'localhost:8082', 'username': 'admin', 'password': 'password'}) }}
sa
_list:
description:
- The list of queried object metadata
returned: always
type: list
( t
LookupBase( t skydive_lookup( t to_text( t AnsibleErrort LookupModulec B` s e Z d d „ Z RS( c K` sr | j d i ƒ } | j d i ƒ } y t | ƒ } | j | ƒ } Wn% t k
rj } t t | ƒ ƒ ‚ n X| g S( Nt providert filter( t popR t lookup_queryt ExceptionR R ( t selft termst variablest kwargsR t filter_datat skydive_objt resultt exc( ( sB /usr/lib/python2.7/site-packages/ansible/plugins/lookup/skydive.pyt runE s N( t __name__t
__module__t NoneR ( ( ( sB /usr/lib/python2.7/site-packages/ansible/plugins/lookup/skydive.pyR C s N( t
__future__R R R t typet
__metaclass__t
DOCUMENTATIONt EXAMPLESt RETURNt ansible.plugins.lookupR t( ansible.module_utils.network.skydive.apiR t ansible.module_utils._textR t ansible.errorsR R ( ( ( sB /usr/lib/python2.7/site-packages/ansible/plugins/lookup/skydive.pyt s