Skip to content

Commit 494cc36

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "cumulus_nvue: Don't call enable() and set enter_config_mode = False"
2 parents 3fe58bf + 5621922 commit 494cc36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • networking_generic_switch/devices/netmiko_devices

networking_generic_switch/devices/netmiko_devices/cumulus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ def send_config_set(self, net_connect, cmd_set):
159159
:returns: The output of the configuration commands.
160160
"""
161161
cmd_set.append('nv config apply --assume-yes')
162-
net_connect.enable()
163162
# NOTE: Do not exit config mode because save needs elevated
164163
# privileges
165164
return net_connect.send_config_set(config_commands=cmd_set,
166165
cmd_verify=False,
166+
enter_config_mode=False,
167167
exit_config_mode=False)

0 commit comments

Comments
 (0)