diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-18 05:52:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-18 05:52:22 +0000 |
commit | 38b7c80217c4e72b1d8988eb1e60bb6e77334114 (patch) | |
tree | 356e9fd3762877d07cde52d21e77070aeff7e789 /ansible_collections/cisco/iosxr/plugins/netconf | |
parent | Adding upstream version 7.7.0+dfsg. (diff) | |
download | ansible-38b7c80217c4e72b1d8988eb1e60bb6e77334114.tar.xz ansible-38b7c80217c4e72b1d8988eb1e60bb6e77334114.zip |
Adding upstream version 9.4.0+dfsg.upstream/9.4.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/cisco/iosxr/plugins/netconf')
-rw-r--r-- | ansible_collections/cisco/iosxr/plugins/netconf/iosxr.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible_collections/cisco/iosxr/plugins/netconf/iosxr.py b/ansible_collections/cisco/iosxr/plugins/netconf/iosxr.py index e0b1bac8d..0ed5ece03 100644 --- a/ansible_collections/cisco/iosxr/plugins/netconf/iosxr.py +++ b/ansible_collections/cisco/iosxr/plugins/netconf/iosxr.py @@ -207,11 +207,11 @@ class Netconf(NetconfBase): return guessed_os # TODO: change .xml to .data_xml, when ncclient supports data_xml on all platforms - def get(self, filter=None, remove_ns=False): + def get(self, filter=None, with_defaults=None, remove_ns=False): if isinstance(filter, list): filter = tuple(filter) try: - resp = self.m.get(filter=filter) + resp = self.m.get(filter=filter, with_defaults=with_defaults) if remove_ns: response = remove_namespaces(resp) else: |