mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 06:30:19 -07:00
Add support for netconf network discovery (#25435)
* Add support for netconf network discovery * Fix unit test failure
This commit is contained in:
parent
b1e608811b
commit
3bd8dbb53d
4 changed files with 65 additions and 14 deletions
|
@ -176,6 +176,13 @@ class NetconfBase(with_metaclass(ABCMeta, object)):
|
|||
"""
|
||||
pass
|
||||
|
||||
@staticmethod
|
||||
def guess_network_os(obj):
|
||||
"""Identifies the operating system of
|
||||
network device.
|
||||
"""
|
||||
pass
|
||||
|
||||
def get_base_rpc(self):
|
||||
"""Returns list of base rpc method supported by remote device"""
|
||||
return ['get_config', 'edit_config', 'get_capabilities', 'get']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue