Revision a7cb58ce ncclient/operations/__init__.py
b/ncclient/operations/__init__.py | ||
---|---|---|
12 | 12 |
# See the License for the specific language governing permissions and |
13 | 13 |
# limitations under the License. |
14 | 14 |
|
15 |
'NETCONF protocol operations' |
|
16 |
|
|
17 | 15 |
from errors import OperationError, MissingCapabilityError |
18 |
from rpc import RPCError |
|
19 |
from retrieve import Get, GetConfig |
|
20 |
from edit import EditConfig, CopyConfig, DeleteConfig, Validate, Commit, DiscardChanges |
|
16 |
from rpc import RPC, RPCReply, RPCError
|
|
17 |
from retrieve import Get, GetConfig, GetReply
|
|
18 |
from edit import EditConfig, CopyConfig, DeleteConfig, Validate, Commit, DiscardChanges, ConfirmedCommit
|
|
21 | 19 |
from session import CloseSession, KillSession |
22 | 20 |
from lock import Lock, Unlock, LockContext |
23 |
from subscribe import CreateSubscription |
|
21 |
#from subscribe import CreateSubscription
|
|
24 | 22 |
|
25 | 23 |
OPERATIONS = { |
26 | 24 |
'get': Get, |
... | ... | |
38 | 36 |
} |
39 | 37 |
|
40 | 38 |
__all__ = [ |
39 |
'RPC', |
|
40 |
'RPCReply', |
|
41 | 41 |
'RPCError', |
42 | 42 |
'OPERATIONS', |
43 | 43 |
'Get', |
44 | 44 |
'GetConfig', |
45 |
'GetReply', |
|
45 | 46 |
'EditConfig', |
46 | 47 |
'CopyConfig', |
47 | 48 |
'Validate', |
48 | 49 |
'Commit', |
50 |
'ConfirmedCommit' |
|
49 | 51 |
'DiscardChanges', |
50 | 52 |
'DeleteConfig', |
51 | 53 |
'Lock', |
52 | 54 |
'Unlock', |
53 | 55 |
'LockContext', |
54 | 56 |
'CloseSession', |
55 |
'KillSession', |
|
56 |
'CreateSubscription', |
|
57 |
'KillSession' |
|
57 | 58 |
] |
Also available in: Unified diff