Revision d215b592 ncclient/operations/retrieve.py
b/ncclient/operations/retrieve.py | ||
---|---|---|
55 | 55 |
def request(self, filter=None): |
56 | 56 |
"""Retrieve running configuration and device state information. |
57 | 57 |
|
58 |
:param filter: portions of the device configuration to retrieve (by default entire configuration is retrieved) |
|
59 |
:type filter: :ref:`filter_params` |
|
58 |
*filter* specifies the portion of the configuration to retrieve (by default entire configuration is retrieved) |
|
59 |
|
|
60 |
:seealso: :ref:`filter_params` |
|
60 | 61 |
""" |
61 | 62 |
node = new_ele("get") |
62 | 63 |
if filter is not None: |
... | ... | |
73 | 74 |
def request(self, source, filter=None): |
74 | 75 |
"""Retrieve all or part of a specified configuration. |
75 | 76 |
|
76 |
:param source: name of the configuration datastore being queried |
|
77 |
:type source: string |
|
77 |
*source* name of the configuration datastore being queried |
|
78 |
|
|
79 |
*filter* specifies the portion of the configuration to retrieve (by default entire configuration is retrieved) |
|
78 | 80 |
|
79 |
:param filter: portions of the device configuration to retrieve (by default entire configuration is retrieved) |
|
80 |
:type filter: :ref:`filter_params`""" |
|
81 |
:seealso: :ref:`filter_params`""" |
|
81 | 82 |
node = new_ele("get-config") |
82 | 83 |
node.append(util.datastore_or_url("source", source, self._assert)) |
83 | 84 |
if filter is not None: |
Also available in: Unified diff