Revision 179b00d4 ncclient/operations/subscribe.py

b/ncclient/operations/subscribe.py
12 12
# See the License for the specific language governing permissions and
13 13
# limitations under the License.
14 14

  
15
# TODO when can actually test it...
16

  
17 15
from ncclient.rpc import RPC
18 16

  
19 17
from ncclient.glue import Listener
......
21 19

  
22 20
NOTIFICATION_NS = 'urn:ietf:params:xml:ns:netconf:notification:1.0'
23 21

  
22
# TODO when can actually test it...
23

  
24 24
class CreateSubscription(RPC):    
25
    # tested: no
25 26
    
26 27
    SPEC = {
27
        'tag': _('create-subscription', NOTIFICATION_NS),
28
        'startTime': None,
29
        'stream': None
28
        'tag': _('create-subscription', NOTIFICATION_NS)
30 29
    }
31 30

  
32
class Notification:
33
    pass
31
class Notification: pass
34 32

  
35
class NotificationListener(Listener):
36
    pass
33
class NotificationListener(Listener): pass

Also available in: Unified diff