From 73e2c65cbcf2c14e75d4f62f472f265884d16a7d Mon Sep 17 00:00:00 2001 From: Mohammad Torkashvand <mohammad.torkashvand@geant.org> Date: Mon, 14 Oct 2024 22:25:20 +0200 Subject: [PATCH] fix huge tree issue by passing huge_tree=True to ncclient --- geant/gap_ansible/plugins/connection/netconf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/geant/gap_ansible/plugins/connection/netconf.py b/geant/gap_ansible/plugins/connection/netconf.py index 97e679c5..1f73d3c6 100644 --- a/geant/gap_ansible/plugins/connection/netconf.py +++ b/geant/gap_ansible/plugins/connection/netconf.py @@ -389,6 +389,7 @@ class Connection(NetworkConnectionBase): allow_agent=self._play_context.allow_agent, timeout=self.get_option("persistent_connect_timeout"), ssh_config=self._ssh_config, + huge_tree=True ) # sock is only supported by ncclient >= 0.6.10, and will error if # included on older versions. We check the version in -- GitLab