* Use ``:validate`` string to check if the netconf
server supports validate capability as per netconf RFC
(cherry picked from commit 7635d23cee
)
This commit is contained in:
parent
ca118613aa
commit
67b2b8caf1
2 changed files with 3 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- Fixed Ansible reporting validate not supported by netconf server when enabled in netconf - (https://github.com/ansible-collections/ansible.netcommon/issues/119).
|
|
@ -354,7 +354,7 @@ class NetconfBase(AnsiblePlugin):
|
|||
operations['supports_startup'] = ':startup' in capabilities
|
||||
operations['supports_xpath'] = ':xpath' in capabilities
|
||||
operations['supports_writable_running'] = ':writable-running' in capabilities
|
||||
operations['supports_validate'] = ':writable-validate' in capabilities
|
||||
operations['supports_validate'] = ':validate' in capabilities
|
||||
|
||||
operations['lock_datastore'] = []
|
||||
if operations['supports_writable_running']:
|
||||
|
|
Loading…
Reference in a new issue