mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 04:40:22 -07:00
Update iosxr cliconf plugin (#43837)
* Update iosxr cliconf plugin Fixes #39056 * Update iosxr cliconf plugin * Modify iosxr module_utils code to support refactored cliconf plugin api's * Other minor changes * Fix unit test failure * Update ios, eos, nxos plugin for diff * Fix review comment
This commit is contained in:
parent
7b1cc11685
commit
d1de1e0449
14 changed files with 217 additions and 153 deletions
|
@ -175,7 +175,7 @@ class CliconfBase(AnsiblePlugin):
|
|||
:param source: The configuration source to return from the device.
|
||||
This argument accepts either `running` or `startup` as valid values.
|
||||
|
||||
:param flag: For devices that support configuration filtering, this
|
||||
:param flags: For devices that support configuration filtering, this
|
||||
keyword argument is used to filter the returned configuration.
|
||||
The use of this keyword argument is device dependent adn will be
|
||||
silently ignored on devices that do not support it.
|
||||
|
@ -212,7 +212,8 @@ class CliconfBase(AnsiblePlugin):
|
|||
response on executing configuration commands and platform relevant data.
|
||||
{
|
||||
"diff": "",
|
||||
"response": []
|
||||
"response": [],
|
||||
"request": []
|
||||
}
|
||||
|
||||
"""
|
||||
|
@ -264,9 +265,11 @@ class CliconfBase(AnsiblePlugin):
|
|||
'supports_onbox_diff: <bool>, # identify if on box diff capability is supported or not
|
||||
'supports_generate_diff: <bool>, # identify if diff capability is supported within plugin
|
||||
'supports_multiline_delimiter: <bool>, # identify if multiline demiliter is supported within config
|
||||
'supports_diff_match: <bool>, # identify if match is supported
|
||||
'supports_diff_ignore_lines: <bool>, # identify if ignore line in diff is supported
|
||||
'supports_config_replace': <bool>, # identify if running config replace with candidate config is supported
|
||||
'supports_diff_match: <bool>, # identify if match is supported
|
||||
'supports_diff_ignore_lines: <bool>, # identify if ignore line in diff is supported
|
||||
'supports_config_replace': <bool>, # identify if running config replace with candidate config is supported
|
||||
'supports_admin': <bool>, # identify if admin configure mode is supported or not
|
||||
'supports_commit_label': <bool>, # identify if commit label is supported or not
|
||||
}
|
||||
'format': [list of supported configuration format],
|
||||
'diff_match': [list of supported match values],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue