Skip to content

Commit

Permalink
Clarify which key is used for the Napalm port
Browse files Browse the repository at this point in the history
  • Loading branch information
ogenstad committed May 21, 2018
1 parent 439a0fd commit 762b05c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nornir/plugins/tasks/connections/napalm_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def napalm_connection(task=None, timeout=60, optional_args=None):
Arguments:
timeout (int, optional): defaults to 60
optional_args (dict, optional): defaults to ``{"port": task.host["network_api_port"]}``
optional_args (dict, optional): defaults to ``{"port": task.host["nornir_network_api_port"]}``
Inventory:
napalm_options: maps directly to ``optional_args`` when establishing the connection
Expand Down

0 comments on commit 762b05c

Please sign in to comment.