Revision dd225c7a 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 |
from rpc import RPC |
|
15 |
class Notification: |
|
16 |
pass |
|
16 | 17 |
|
17 |
#from ncclient.xml import qualify as _ |
|
18 |
#from ncclient.transport import SessionListener |
|
19 |
# |
|
20 |
#NOTIFICATION_NS = 'urn:ietf:params:xml:ns:netconf:notification:1.0' |
|
21 |
# |
|
22 |
## TODO when can actually test it... |
|
23 |
# |
|
24 |
#class CreateSubscription(RPC): |
|
25 |
# # tested: no |
|
26 |
# |
|
27 |
# SPEC = { |
|
28 |
# 'tag': _('create-subscription', NOTIFICATION_NS) |
|
29 |
# } |
|
30 |
# |
|
31 |
#class Notification: pass |
|
32 |
# |
|
33 |
#class NotificationListener(SessionListener): pass |
|
18 |
class CreateSubscription: |
|
19 |
pass |
|
20 |
|
|
21 |
class NotificationListener: |
|
22 |
pass |
Also available in: Unified diff