[CONTROLLER-85] RESTCONF not passing any values through for Groups (all null) Created: 09/Dec/13 Updated: 25/Jul/23 Resolved: 24/Jan/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | mdsal |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | ||
| Reporter: | Ed Warnicke | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Mac OS |
||
| Issue Links: |
|
||||||||
| Description |
|
This is against: https://git.opendaylight.org/gerrit/#/c/3451/2 (openflowplugin side) Build the controller Run distribution/base/target/../run.sh -debug From POSTMAN: PUT: http://192.168.195.157:8080/restconf/config/opendaylight-inventory:nodes/node/foo:node:1/group/125 Content-Type: application/xml Accept: application/xml <?xml version="1.0" encoding="UTF-8" standalone="no"?> What arrives at the RPC is : 2013-12-09 05:02:22.976 PST [pool-20-thread-6] INFO o.o.o.t.OpenflowpluginGroupTestServiceProvider - addGroup - AddGroupInput [_barrier=null, _buckets=null, _containerName=null, _groupId=null, _groupName=null, _groupType=null, _install=null, _node=NodeRef [_value=InstanceIdentifier [path=[org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Nodes, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node[key=NodeKey [_id=Uri [_value=foo:node:1]]]]]], _transactionId=null] Basically, all Group values nulled out. Additionally, while debugging its clear that the data that comes into the Transaction has all fields nulled as well. So the issue is prior to the data commit. |
| Comments |
| Comment by Ed Warnicke [ 09/Dec/13 ] |
|
Oops... this is against https://git.opendaylight.org/gerrit/#/c/3314/11 (controller side) https://git.opendaylight.org/gerrit/#/c/3451/3 (openflowplugin side) |
| Comment by Martin Sunal [ 14/Jan/14 ] |
|
In current version all data from request are sent to transaction from restconf. Current data: <?xml version="1.0" encoding="UTF-8" standalone="no"?> |