|
|
@ -96,7 +96,7 @@ class Cliconf(CliconfBase):
|
|
|
|
def edit_config(self, candidate=None, commit=True, replace=None, comment=None):
|
|
|
|
def edit_config(self, candidate=None, commit=True, replace=None, comment=None):
|
|
|
|
|
|
|
|
|
|
|
|
operations = self.get_device_operations()
|
|
|
|
operations = self.get_device_operations()
|
|
|
|
self.check_edit_config_capabiltiy(operations, candidate, commit, replace, comment)
|
|
|
|
self.check_edit_config_capability(operations, candidate, commit, replace, comment)
|
|
|
|
|
|
|
|
|
|
|
|
if (commit is False) and (not self.supports_sessions):
|
|
|
|
if (commit is False) and (not self.supports_sessions):
|
|
|
|
raise ValueError('check mode is not supported without configuration session')
|
|
|
|
raise ValueError('check mode is not supported without configuration session')
|
|
|
|