This group is locked. No changes can be made to the group while it is locked.
Date
1 - 2 of 2
Question:Can not get network-topology data after reboot ODL
"生饼 <54740559@...>
HI:
I run into a problem today when doing following operations: 1、./bin/karaf to start ODL, install odl-bgpcep-bgp feature, then configure bgp rib and peer etc. and can correctly get loc_rib and network-topology data 2、use "logout" command to exit ODL 3、execute ./bin/karaf to restart ODL again, at this time i can also get loc rib data correctly, but i can not get network-topology data, the request uri: http://<hostname>:8181/restconf/operational/network-topology:network-topology/topology/bgp-example2-linkstate-topology the response is : { "errors": { "error": [ { "error-type": "application", "error-tag": "data-missing", "error-message": "Request could not be completed because the relevant data model content does not exist " } ] } } check the existed topologyId, there is no topology named "bgp-example2-linkstate-topology" request uri: http://<hostname>:8181/restconf/operational/network-topology:network-topology the response is : { "network-topology": { "topology": [ { "topology-id": "example-linkstate-topology", "topology-types": { "odl-bgp-topology-types:bgp-linkstate-topology": {} }, "server-provided": true }, { "topology-id": "example-ipv4-topology", "topology-types": { "odl-bgp-topology-types:bgp-ipv4-reachability-topology": {} }, "server-provided": true }, { "topology-id": "example-ipv6-topology", "topology-types": { "odl-bgp-topology-types:bgp-ipv6-reachability-topology": {} }, "server-provided": true }, { "topology-id": "topology-netconf", ......... while i trying to reconfigure bgp-example2-linkstate-topology topology, the result tells me it has existed. the response: { "errors": { "error": [ { "error-type": "protocol", "error-tag": "data-exists", "error-message": "Data already exists for path: /(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)network-topology/topology/topology[{(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)topology-id=bgp-example2-linkstate-topology}]" } ] } } if i configure a new topology instance, the new topology instance can get topology data again! I test uppon operations many times, and get the same result, and i check the log, there is no errors or warnings about it. Is there something wrong? and what is the reason? Best Regards |
|
Ajay
Hi - questions/comments inline [AJ] On Wed, Aug 2, 2017 at 5:16 AM, 生饼 <54740559@...> wrote: HI: [AJ] Which release of ODL are you using? How are you configuring BGP speaker and associated network-topology id - using CSS config files or OpenConfig? Can you share them, along with karaf.log
[AJ] You should not need to explicitly configure the associated network-topology instance if i configure a new topology instance, the new topology instance can get topology data again! |
|