mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 04:40:22 -07:00
Update cliconf get_config api (#43472)
* Change `filter` parameter to `flag` to be in sync with original naming convention
This commit is contained in:
parent
c8fcbdef71
commit
857200fa7f
8 changed files with 15 additions and 15 deletions
|
@ -165,7 +165,7 @@ class CliconfBase(AnsiblePlugin):
|
|||
self.response_logging = False
|
||||
|
||||
@abstractmethod
|
||||
def get_config(self, source='running', filter=None, format=None):
|
||||
def get_config(self, source='running', flag=None, format=None):
|
||||
"""Retrieves the specified configuration from the device
|
||||
|
||||
This method will retrieve the configuration specified by source and
|
||||
|
@ -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 filter: For devices that support configuration filtering, this
|
||||
:param flag: 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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue