mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 20:01:25 -07:00
cliconf refactor eos, nxos fix (#43596)
* cliconf refactor eos and nxos fix Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * move nxos replace check to plugins Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * address review comment * fix shippable
This commit is contained in:
parent
6f4b2e8f7f
commit
09ae1ec308
6 changed files with 16 additions and 24 deletions
|
@ -289,8 +289,8 @@ class Cliconf(CliconfBase):
|
|||
|
||||
def get_capabilities(self):
|
||||
result = {}
|
||||
result['rpc'] = self.get_base_rpc()
|
||||
result['device_info'] = self.get_device_info()
|
||||
rpc_list = ['commit', 'discard_changes', 'get_diff', 'run_commands', 'supports_sessions']
|
||||
result['rpc'] = self.get_base_rpc() + rpc_list
|
||||
result['device_info'] = self.get_device_info()
|
||||
result['device_operations'] = self.get_device_operations()
|
||||
result.update(self.get_option_values())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue