| 1 |
:mod:`~ncclient.capabilities` -- NETCONF Capabilities |
| 2 |
===================================================== |
| 3 |
|
| 4 |
.. module:: ncclient.capabilities |
| 5 |
|
| 6 |
.. autofunction:: schemes |
| 7 |
|
| 8 |
.. autoclass:: Capabilities |
| 9 |
|
| 10 |
:members: |
| 11 |
|
| 12 |
.. describe:: ":cap" in caps |
| 13 |
|
| 14 |
Check for the presence of capability. In addition to the URI, for capabilities of the form `urn:ietf:params:netconf:capability:$name:$version` their shorthand can be used as a key. For example, for `urn:ietf:params:netconf:capability:candidate:1.0` the shorthand would be `:candidate`. If version is significant, use `:candidate:1.0` as key. |
| 15 |
|
| 16 |
.. describe:: iter(caps) |
| 17 |
|
| 18 |
Return an iterator over the full URI's of capabilities represented by this object. |