Skip to content

Commit e39d8db

Browse files
authored
Merge pull request #96 from stackhpc/nvue-nosudo-2023.1
cumulus_nvue: Don't call enable() and set enter_config_mode = False
2 parents 737063c + e7d0f9a commit e39d8db

File tree

1 file changed

+1
-1
lines changed
  • networking_generic_switch/devices/netmiko_devices

1 file changed

+1
-1
lines changed

Diff for: networking_generic_switch/devices/netmiko_devices/cumulus.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ def send_config_set(self, net_connect, cmd_set):
171171
:returns: The output of the configuration commands.
172172
"""
173173
cmd_set.append('nv config apply --assume-yes')
174-
net_connect.enable()
175174
# NOTE: Do not exit config mode because save needs elevated
176175
# privileges
177176
return net_connect.send_config_set(config_commands=cmd_set,
178177
cmd_verify=False,
178+
enter_config_mode=False,
179179
exit_config_mode=False)

0 commit comments

Comments
 (0)