diff --git a/lib/ansible/plugins/cliconf/__init__.py b/lib/ansible/plugins/cliconf/__init__.py index 2d5c94fb12d..35babaa5003 100644 --- a/lib/ansible/plugins/cliconf/__init__.py +++ b/lib/ansible/plugins/cliconf/__init__.py @@ -402,7 +402,7 @@ class CliconfBase(AnsiblePlugin): """ pass - def check_edit_config_capabiltiy(self, operations, candidate=None, commit=True, replace=None, comment=None): + def check_edit_config_capability(self, operations, candidate=None, commit=True, replace=None, comment=None): if not candidate and not replace: raise ValueError("must provide a candidate or replace to load configuration") diff --git a/lib/ansible/plugins/cliconf/eos.py b/lib/ansible/plugins/cliconf/eos.py index 2cbeb20eb30..c16bedc6e46 100644 --- a/lib/ansible/plugins/cliconf/eos.py +++ b/lib/ansible/plugins/cliconf/eos.py @@ -96,7 +96,7 @@ class Cliconf(CliconfBase): def edit_config(self, candidate=None, commit=True, replace=None, comment=None): 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): raise ValueError('check mode is not supported without configuration session') diff --git a/lib/ansible/plugins/cliconf/ios.py b/lib/ansible/plugins/cliconf/ios.py index 5cc13995869..e0c683978c0 100644 --- a/lib/ansible/plugins/cliconf/ios.py +++ b/lib/ansible/plugins/cliconf/ios.py @@ -128,7 +128,7 @@ class Cliconf(CliconfBase): def edit_config(self, candidate=None, commit=True, replace=None, comment=None): resp = {} 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) results = [] requests = [] diff --git a/lib/ansible/plugins/cliconf/iosxr.py b/lib/ansible/plugins/cliconf/iosxr.py index 220ef726e53..d6828e27859 100644 --- a/lib/ansible/plugins/cliconf/iosxr.py +++ b/lib/ansible/plugins/cliconf/iosxr.py @@ -85,7 +85,7 @@ class Cliconf(CliconfBase): def edit_config(self, candidate=None, commit=True, admin=False, replace=None, comment=None, label=None): 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) resp = {} results = [] diff --git a/lib/ansible/plugins/cliconf/junos.py b/lib/ansible/plugins/cliconf/junos.py index 6a52290d1ad..6feb5de91b0 100644 --- a/lib/ansible/plugins/cliconf/junos.py +++ b/lib/ansible/plugins/cliconf/junos.py @@ -90,7 +90,7 @@ class Cliconf(CliconfBase): def edit_config(self, candidate=None, commit=True, replace=None, comment=None): 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) resp = {} results = [] diff --git a/lib/ansible/plugins/cliconf/nxos.py b/lib/ansible/plugins/cliconf/nxos.py index 0ba2dbf4997..701ce06ebea 100644 --- a/lib/ansible/plugins/cliconf/nxos.py +++ b/lib/ansible/plugins/cliconf/nxos.py @@ -151,7 +151,7 @@ class Cliconf(CliconfBase): def edit_config(self, candidate=None, commit=True, replace=None, comment=None): resp = {} 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) results = [] requests = [] diff --git a/lib/ansible/plugins/cliconf/voss.py b/lib/ansible/plugins/cliconf/voss.py index 157f9942138..1f6c105cce2 100644 --- a/lib/ansible/plugins/cliconf/voss.py +++ b/lib/ansible/plugins/cliconf/voss.py @@ -119,7 +119,7 @@ class Cliconf(CliconfBase): def edit_config(self, candidate=None, commit=True, replace=None, comment=None): resp = {} 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) results = [] requests = [] diff --git a/lib/ansible/plugins/cliconf/vyos.py b/lib/ansible/plugins/cliconf/vyos.py index 53fc5be59e8..01381066b0d 100644 --- a/lib/ansible/plugins/cliconf/vyos.py +++ b/lib/ansible/plugins/cliconf/vyos.py @@ -69,7 +69,7 @@ class Cliconf(CliconfBase): def edit_config(self, candidate=None, commit=True, replace=None, comment=None): resp = {} 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) results = [] requests = [] diff --git a/lib/ansible/plugins/httpapi/nxos.py b/lib/ansible/plugins/httpapi/nxos.py index e68e8f3a3b4..3912de08f33 100644 --- a/lib/ansible/plugins/httpapi/nxos.py +++ b/lib/ansible/plugins/httpapi/nxos.py @@ -79,7 +79,7 @@ class HttpApi(HttpApiBase): resp = list() operations = self.connection.get_device_operations() - self.connection.check_edit_config_capabiltiy(operations, candidate, commit, replace, comment) + self.connection.check_edit_config_capability(operations, candidate, commit, replace, comment) if replace: device_info = self.connection.get_device_info()