[BGPCEP-757] Unable to update pcep_topology settings Created: 13/Feb/18 Updated: 19/Mar/18 Resolved: 14/Feb/18 |
|
| Status: | Verified |
| Project: | bgpcep |
| Component/s: | PCEP |
| Affects Version/s: | None |
| Fix Version/s: | Oxygen |
| Type: | Bug | Priority: | Medium |
| Reporter: | Tomas Markovic | Assignee: | Claudio David Gasparini |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
On the latest karaf bundle since february 6th probably due to one of the controller updates I am unable to change pcep_topology settings. Recreate the problem with: dw latest karaf bundle with: #!/bin/bash curl https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.8.0-SNAPSHOT/maven-metadata.xml > maven-metadata.xml EXT=`awk -vRS="</value>" '{gsub(/.*<value.*>/,"");print}' maven-metadata.xml | sed -n 1p` EXT=${EXT%$'\n'} wget https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.8.0-SNAPSHOT/karaf-$EXT.zip rm maven-metadata.xml And newest pccmock from
https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/bgpcep/pcep-pcc-mock/0.9.0-SNAPSHOT/pcep-pcc-mock-0.9.0-20180211.202021-144-executable.jar
Install feature:install odl-restconf feature:install odl-bgpcep-pcep Run GET
http://127.0.0.1:8181/restconf/operational/network-topology:network-topology/topology/pcep-topology
to make sure pcep-topology is running Run PUT
http://localhost:8181/restconf/config/network-topology:network-topology/topology/pcep-topology/node/127.0.0.2
with xml body <node xmlns="urn:TBD:params:xml:ns:yang:network-topology"> <node-id>127.0.0.2</node-id> <session-config xmlns="urn:opendaylight:params:xml:ns:yang:topology:pcep:config"> <password>newtopsecret</password> </session-config> </node> At this point it should already be not working. /usr/lib/jvm/java-8-openjdk-amd64/bin/java -jar pcep-pcc-mock*-executable.jar --password newtopsecret --reconnect 5 --local-address 127.0.0.2 --remote-address 127.0.0.1 2>&1 | tee pccmock.log and than do the GET on pcep_topology, and it should not be empty. I add logs with TRACE controller and INFO on the rest from Oxygen and Nitrogen where it works. (As trace on protocol and bgpcep, didn't produce anything new) |
| Comments |
| Comment by Claudio David Gasparini [ 14/Feb/18 ] |
|
https://git.opendaylight.org/gerrit/#/q/topic:BGPCEP-757+(status:open+OR+status:merged) |