mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 06:30:19 -07:00
Fix ios and vyos cliconf edit_config return type (#41896)
* Fix ios and vyos cliconf edit_config return type Modify cliconf edit_config api to return a json string with diff and response received from remote host for ios and vyos. * Doc change
This commit is contained in:
parent
d4b9105c9c
commit
b84adfd885
5 changed files with 21 additions and 8 deletions
|
@ -206,9 +206,13 @@ class CliconfBase(with_metaclass(ABCMeta, object)):
|
|||
:param diff: Boolean flag to indicate if configuration that is applied on remote host should
|
||||
generated and returned in response or not
|
||||
:param comment: Commit comment provided it is supported by remote host
|
||||
:return: Returns a tuple, the first entry of tupe is configuration diff if diff flag is enable else
|
||||
it is None. Second entry is the list of response received from remote host on executing
|
||||
configuration commands.
|
||||
:return: Returns a json string with contains configuration applied on remote host, the returned
|
||||
response on executing configuration commands and platform relevant data.
|
||||
{
|
||||
"diff": "",
|
||||
"response": []
|
||||
}
|
||||
|
||||
"""
|
||||
pass
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue