BGP-LS Topology Change Notification

asked 2017-01-13 06:03:16 -0700

ashvanth48 gravatar image

I'm able to receive notifications whenever there is a topology change. But this data is in XML format. I would like to receive the same in JSON format. Could someone please tell me if this is possible.

Below is the body of the event subscription request that I'm making in XML

<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='example-linkstate-topology']</path> <datastore xmlns="urn:sal:restconf:event:subscription">OPERATIONAL</datastore> <scope xmlns="urn:sal:restconf:event:subscription">SUBTREE</scope>

</input>

edit retag flag offensive close merge delete