Statistics
| Branch: | Tag: | Revision:

root / ncclient / operations / subscribe.py @ 1d540e60

History | View | Annotate | Download (777 Bytes)

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