root / ncclient / operations / __init__.py @ fcf36a2e
History | View | Annotate | Download (1.1 kB)
1 |
# Copyright 2009 Shikhar Bhushan
|
---|---|
2 |
#
|
3 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
# you may not use this file except in compliance with the License.
|
5 |
# You may obtain a copy of the License at
|
6 |
#
|
7 |
# http://www.apache.org/licenses/LICENSE-2.0
|
8 |
#
|
9 |
# Unless required by applicable law or agreed to in writing, software
|
10 |
# distributed under the License is distributed on an "AS IS" BASIS,
|
11 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 |
# See the License for the specific language governing permissions and
|
13 |
# limitations under the License.
|
14 |
|
15 |
'NETCONF protocol operations'
|
16 |
|
17 |
import logging |
18 |
logger = logging.getLogger('ncclient.operations')
|
19 |
|
20 |
from retrieve import Get, GetConfig |
21 |
from edit import EditConfig, CopyConfig, DeleteConfig, Validate, Commit, DiscardChanges |
22 |
from session import CloseSession, KillSession |
23 |
from lock import Lock, Unlock |
24 |
from subscribe import CreateSubscription |
25 |
|
26 |
__all__ = [ |
27 |
'Get',
|
28 |
'GetConfig',
|
29 |
'EditConfig',
|
30 |
'CopyConfig',
|
31 |
'Validate',
|
32 |
'Commit',
|
33 |
'DiscardChanges',
|
34 |
'DeleteConfig',
|
35 |
'Lock',
|
36 |
'Unlock',
|
37 |
'CloseSession',
|
38 |
'KillSession',
|
39 |
'CreateSubscription',
|
40 |
# hmm
|
41 |
] |