Revision 1fca349b 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... |
|
16 |
|
|
15 | 17 |
from rpc import RPC |
16 | 18 |
|
17 | 19 |
from ncclient.glue import Listener |
18 |
|
|
19 |
from notification import Notification
|
|
20 |
from ncclient.content import NOTIFICATION_NS |
|
21 |
from ncclient.content import qualify as _
|
|
20 | 22 |
|
21 | 23 |
class CreateSubscription(RPC): |
22 | 24 |
|
23 |
pass |
|
25 |
SPEC = { |
|
26 |
'tag': _('create-subscription', NOTIFICATION_NS), |
|
27 |
'startTime': None, |
|
28 |
'stream': None |
|
29 |
} |
|
24 | 30 |
|
25 | 31 |
|
26 | 32 |
class NotificationListener(Listener): |
Also available in: Unified diff