capabilities
nornir_scrapli.tasks.netconf_capabilities
netconf_capabilities(task: Task) -> Result
¶
Retrieve the device config with scrapli_netconf
Parameters:
Name | Type | Description | Default |
---|---|---|---|
task |
Task
|
nornir task object |
required |
Returns:
Name | Type | Description |
---|---|---|
Result |
Result
|
nornir result object with Result.result value set to a list of strings representing the device capabilities |
Source code in tasks/netconf/capabilities.py
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
|