Statistics
| Branch: | Tag: | Revision:

root / ncclient / operations.py @ ee4bb099

History | View | Annotate | Download (779 Bytes)

1 7101ce49 Shikhar Bhushan
# Copyright 2009 Shikhar Bhushan
2 7101ce49 Shikhar Bhushan
#
3 7101ce49 Shikhar Bhushan
# Licensed under the Apache License, Version 2.0 (the "License");
4 7101ce49 Shikhar Bhushan
# you may not use this file except in compliance with the License.
5 7101ce49 Shikhar Bhushan
# You may obtain a copy of the License at
6 7101ce49 Shikhar Bhushan
#
7 7101ce49 Shikhar Bhushan
#    http://www.apache.org/licenses/LICENSE-2.0
8 7101ce49 Shikhar Bhushan
#
9 7101ce49 Shikhar Bhushan
# Unless required by applicable law or agreed to in writing, software
10 7101ce49 Shikhar Bhushan
# distributed under the License is distributed on an "AS IS" BASIS,
11 7101ce49 Shikhar Bhushan
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 7101ce49 Shikhar Bhushan
# See the License for the specific language governing permissions and
13 7101ce49 Shikhar Bhushan
# limitations under the License.
14 7101ce49 Shikhar Bhushan
15 7101ce49 Shikhar Bhushan
from threading import Event
16 7101ce49 Shikhar Bhushan
17 7101ce49 Shikhar Bhushan
from rpc import RPC
18 7101ce49 Shikhar Bhushan
19 7101ce49 Shikhar Bhushan
class OperationError(NETCONFError): pass
20 7101ce49 Shikhar Bhushan
21 7101ce49 Shikhar Bhushan
class Operation(RPC):
22 7101ce49 Shikhar Bhushan
    
23 7101ce49 Shikhar Bhushan
    def __init__(self, *args, **kwds):
24 7101ce49 Shikhar Bhushan
        RPC.__init__(self, *args, **kwds)