From 7fec0b69a082aaeec72fee0612766aa42f6b1b4d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 18 Apr 2024 07:52:35 +0200 Subject: Merging upstream version 9.4.0+dfsg. Signed-off-by: Daniel Baumann --- ansible_collections/cisco/iosxr/plugins/netconf/iosxr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ansible_collections/cisco/iosxr/plugins/netconf') 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: -- cgit v1.2.3