Netwotk topology change notification service

asked 2015-06-12 10:22:57 -0700

anonymous user

Anonymous

updated 2015-06-12 14:06:19 -0700

Hi, I want to use subscription service in order to detect link failures in my program. I have subscribed to this service using POST command and following data content: <input xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:remote"/> <path xmlns:a="urn:TBD:params:xml:ns:yang:network-topology">/a:network-topology/a:topology[a:topology-id=\'flow:1\']</path> <datastore xmlns="urn:sal:restconf:event:subscription">OPERATIONAL</datastore> <scope xmlns="urn:sal:restconf:event:subscription">SUBTREE</scope>

flow:1 is the network topology ID that I can retrieve my topology.

I have tried to change my network topology and check the following link for the notifications but there is no change in this link ( it is empty): http://localhost:8181/restconf/streams/stream/network-topology:network-topology/network-topology:topology/flow:1/datastore=OPERATIONAL/scope=SUBTREE

Is there any difference between pcep-topology information and the topology Id that I have used ? What is wrong with my approach ? Thanks

edit retag flag offensive close merge delete

Comments

I think the pcep-topology is different from network-topology.yang,because the latter donnot have a notification service.

wangruxun ( 2015-06-30 17:30:36 -0700 )edit

you can send your question to xiansheng410426@163.com, I will find person to help you.

wangruxun ( 2015-06-30 17:31:45 -0700 )edit