Skip to content

Commit

Permalink
Add huge_tree as an optional_arg
Browse files Browse the repository at this point in the history
  • Loading branch information
architkhatri98 committed Oct 4, 2023
1 parent d0ea707 commit a77f411
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions napalm/junos/junos.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def __init__(self, hostname, username, password, timeout=60, optional_args=None)
self.ssh_config_file = optional_args.get("ssh_config_file", None)
self.ignore_warning = optional_args.get("ignore_warning", False)
self.auto_probe = optional_args.get("auto_probe", 0)
self.huge_tree = optional_args.get("huge_tree", False)

# Define locking method
self.lock_disable = optional_args.get("lock_disable", False)
Expand Down Expand Up @@ -121,6 +122,7 @@ def __init__(self, hostname, username, password, timeout=60, optional_args=None)
ssh_private_key_file=self.key_file,
ssh_config=self.ssh_config_file,
port=self.port,
huge_tree=self.huge_tree,
)
else:
self.device = Device(
Expand All @@ -129,6 +131,7 @@ def __init__(self, hostname, username, password, timeout=60, optional_args=None)
password=password,
port=self.port,
ssh_config=self.ssh_config_file,
huge_tree=self.huge_tree,
)

self.platform = "junos"
Expand Down

0 comments on commit a77f411

Please sign in to comment.