[NETCONF-657] Support plain PATCH per RFC8040 Created: 24/Feb/20 Updated: 21/Apr/20 Resolved: 21/Apr/20 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | High |
| Reporter: | Allan Clarke | Assignee: | Allan Clarke |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
RFC8040 specifieds plain PATCH requirements that are distinct from Yang PATCH |
| Comments |
| Comment by Allan Clarke [ 04/Mar/20 ] |
|
Allan's workflow...
|
| Comment by Allan Clarke [ 04/Mar/20 ] |
|
Gotchas...
|
| Comment by Allan Clarke [ 04/Mar/20 ] |
|
Helpfuls... karaf/target/assembly/bin/karaf debug feature:install odl-netconf-connector-all
curl -s -u admin:admin http://localhost:8181/rests/data/network-topology:network-topology | python -mjson.tool
karaf> log:set TRACE org.opendaylight.controller.sal.connect.netconf // launch testtool using the jukebox schema java -jar ./netconf/tools/netconf-testtool/target/netconf-testtool-*-SNAPSHOT-executable.jar --device-count 1 --schemas-dir ./restconf/restconf-nb-rfc8040/target/test-classes/jukebox/ See attached POSTMAN for both bierrman02 and RfC8040 CRUD operations. It has a bierman02 and rfc8040 set of operations (not symmetrical due to my laziness). Ignore the netopeer operations. |
| Comment by Allan Clarke [ 04/Mar/20 ] |
|
| Comment by Allan Clarke [ 04/Mar/20 ] |
|
Upstream... https://jira.opendaylight.org/browse/NETCONF-657 (this issue upstream) Resources... https://tools.ietf.org/html/rfc8040#section-1.1.6 (RESTCONF) |
| Comment by Allan Clarke [ 06/Apr/20 ] |
|
https://git.opendaylight.org/gerrit/c/netconf/+/88214 |
| Comment by Robert Varga [ 21/Apr/20 ] |
|
allanclarke for the record: an issue is not resolved until fixes to all target branches are actually merged. |
| Comment by Allan Clarke [ 21/Apr/20 ] |
|
Thanks for letting me know. I did not know the workflow so I asked Jamo and followed his advice. |