Revision 2f8bc438 ncclient/operations/__init__.py
b/ncclient/operations/__init__.py | ||
---|---|---|
14 | 14 |
|
15 | 15 |
'NETCONF protocol operations' |
16 | 16 |
|
17 |
import logging |
|
18 |
logger = logging.getLogger('ncclient.operations') |
|
17 |
from ncclient import NCClientError |
|
18 |
|
|
19 |
class OperationError(NCClientError): |
|
20 |
pass |
|
21 |
|
|
22 |
class MissingCapabilityError(OperationError): |
|
23 |
pass |
|
19 | 24 |
|
20 | 25 |
from retrieve import Get, GetConfig |
21 | 26 |
from edit import EditConfig, CopyConfig, DeleteConfig, Validate, Commit, DiscardChanges |
... | ... | |
23 | 28 |
from lock import Lock, Unlock |
24 | 29 |
from subscribe import CreateSubscription |
25 | 30 |
|
31 |
|
|
26 | 32 |
__all__ = [ |
33 |
'OperationError', |
|
34 |
'MissingCapabilityError', |
|
27 | 35 |
'Get', |
28 | 36 |
'GetConfig', |
29 | 37 |
'EditConfig', |
... | ... | |
37 | 45 |
'CloseSession', |
38 | 46 |
'KillSession', |
39 | 47 |
'CreateSubscription', |
40 |
# hmm |
|
41 | 48 |
] |
Also available in: Unified diff