??????????????
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 d l Z d d l m Z d d l
m Z d d l m
Z
d d l m Z d d l m Z d Z d
e f d YZ d Z d S(
i ( t absolute_importt divisiont print_functions«
---
author: Ansible Networking Team
httpapi: restconf
short_description: HttpApi Plugin for devices supporting Restconf API
description:
- This HttpApi plugin provides methods to connect to Restconf API
endpoints.
version_added: "2.8"
options:
root_path:
type: str
description:
- Specifies the location of the Restconf root.
default: '/restconf'
vars:
- name: ansible_httpapi_restconf_root
N( t to_text( t to_list( t ConnectionError( t HTTPError( t HttpApiBases application/yang-data+jsont HttpApic B` s e Z d Z RS( c
K` sΓ | r t j | } n d j | j d j d | j d d j d g } i | j d pi t d 6| j d p t d 6} | j j | | d | d
| j d
\ } } t
| | S( Nt /t root_patht patht t content_types Content-Typet acceptt Acceptt headerst method( t jsont dumpst joint
get_optiont rstript gett lstript CONTENT_TYPEt
connectiont sendt handle_response( t selft datat message_kwargsR R t responset
response_data( ( sD /usr/lib/python2.7/site-packages/ansible/plugins/httpapi/restconf.pyt send_request7 s <0( t __name__t
__module__R" ( ( ( sD /usr/lib/python2.7/site-packages/ansible/plugins/httpapi/restconf.pyR 6 s c C` sΔ y t j | j } Wn t k
r8 | j } n Xt | t rΐ | r’ d | k r | d d } d j d | D } n | } t | d | j n t t | d | j n | S( Nt errorst errors
c s` s | ] } | d Vq d S( s
error-messageN( ( t .0R&