Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for huge_tree Device option #40

Open
dmzook opened this issue Mar 1, 2023 · 0 comments
Open

Support for huge_tree Device option #40

dmzook opened this issue Mar 1, 2023 · 0 comments

Comments

@dmzook
Copy link

dmzook commented Mar 1, 2023

I am requesting the addition of huge_tree as a valid option to include in extras. I am having trouble retrieving very large outputs without this set.

parameters: Dict[str, Any] = {
"host": hostname,
"user": username,
"password": password,
"port": port,
"conn_timeout": extras["conn_timeout"] if "conn_timeout" in extras.keys() else None,
"rpc_timeout": extras["rpc_timeout"] if "rpc_timeout" in extras.keys() else None,
"optional_args": {},
"ssh_config": extras["ssh_config"] if "ssh_config" in extras.keys() else None,
"ssh_private_key_file": extras["ssh_private_key_file"] if "ssh_private_key_file" in extras.keys() else None,
}

https://junos-pyez.readthedocs.io/en/2.4.1/jnpr.junos.html
huge_tree (bool) – OPTIONAL parse XML with very deep trees and long text content. default is False.

My current workaround is setting dev._conn.huge_tree = True after connecting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant