Skip to content

Commit

Permalink
Merge pull request #2063 from napalm-automation/fix-pr-1972-2013
Browse files Browse the repository at this point in the history
Follow up after mgering PR #1972 and #2013
  • Loading branch information
mirceaulinic committed Apr 10, 2024
2 parents 29c5ea0 + ecceaf8 commit 341448a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 2 additions & 3 deletions docs/support/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,9 @@ ____________________________________
* :code:`use_keys` (ios, iosxr, nxos_ssh) - Paramiko argument, enable searching for discoverable private key files in ``~/.ssh/`` (default: ``False``).
* :code:`eos_autoComplete` (eos) - Allows to set `autoComplete` when running commands. (default: ``None`` equivalent to ``False``)
* :code:`config_encoding` (iosxr_netconf) - Set encoding to either ``"xml"`` or ``"cli"`` for configuration load methods. (default: ``"cli"``)
* :code:`eos_fn0039_config` (eos) - Transform old style configuration to the new style, available beginning with EOS release 4.23.0, as per FN 0039. Beware
that enabling this option will change the configuration you're loading through NAPALM. Default: ``False`` (won't change your configuration commands).
.. versionadded:: 3.0.1
* :code:`force_cfg_session_invalid` (eos) - Force the config_session to be cleared in case of issues, like `discard_config` failure. (default: ``False``)
* :code:`huge_tree` (junos) - Pass on this flag on Juniper devices when
returning a large XML document. (default: ``False``)

The transport argument
______________________
Expand Down
6 changes: 5 additions & 1 deletion napalm/nxos/nxos.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,11 @@ def _disable_confirmation(self) -> None:
self._send_command_list(["terminal dont-ask"])

def get_config(
self, retrieve: str = "all", full: bool = False, sanitized: bool = False, format: str = "text"
self,
retrieve: str = "all",
full: bool = False,
sanitized: bool = False,
format: str = "text",
) -> models.ConfigDict:
# NX-OS adds some extra, unneeded lines that should be filtered.
filter_strings = [
Expand Down

0 comments on commit 341448a

Please sign in to comment.