Skip to content

Commit

Permalink
Use send_command_timing in get_static_routers
Browse files Browse the repository at this point in the history
  • Loading branch information
johanek committed Jun 7, 2024
1 parent 9385b8a commit dd1ae95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions napalm_netiron/netiron.py
Original file line number Diff line number Diff line change
Expand Up @@ -2116,8 +2116,9 @@ def get_network_instances(self, name=""):
def get_static_routes(self):
routes = []

show_running_config = self.device.send_command("show running-config")

show_running_config = self.device.send_command_timing(
"show running-config interface", delay_factor=self._show_command_delay_factor
)
static_routes_detail = textfsm_extractor(self, "static_route_details", show_running_config)

vrf_static_routes_details = textfsm_extractor(self, "vrf_static_route_details", show_running_config)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name="napalm-netiron",
version="0.3.5",
version="0.3.6",
packages=find_packages(),
author="Johan van den Dorpe",
author_email="[email protected]",
Expand Down

0 comments on commit dd1ae95

Please sign in to comment.