[CONTROLLER-1323] unable to configure flows; <id> check not passes with correct id, 404 returned Created: 15/May/15  Updated: 25/Jul/23  Resolved: 18/May/15

Status: Resolved
Project: controller
Component/s: restconf
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Peter Gubka Assignee: Vaclav Demcak
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 3226

 Description   

i am unable to test openflow

all "flow tests" are failing

https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-cds-flow-services-lithium-redesign-only-master/190/

https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-cds-flow-services-only-master/428/

KARAF.LOG can be found inside these job urls

configuring
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<flow xmlns="urn:opendaylight:flow:inventory">
<strict>false</strict>
<instructions>
<instruction>
<order>0</order>
<apply-actions>
<action>
<order>0</order>
<dec-nw-ttl/>
</action>
</apply-actions>
</instruction>
</instructions>
<table_id>2</table_id>
<id>124</id>
<cookie_mask>255</cookie_mask>
<installHw>false</installHw>
<match>
<ethernet-match>
<ethernet-type>
<type>2048</type>
</ethernet-type>
</ethernet-match>
<ipv4-destination>10.0.1.0/24</ipv4-destination>
</match>
<cookie>1</cookie>
<flow-name>FooXf1</flow-name>
<priority>1</priority>
<barrier>false</barrier>
</flow>

returns

PUT response: {"errors":{"error":[

{"error-type":"protocol","error-tag":"data-missing","error-message":"Missing key id in the message body."}

]}} DEBUG

${msg} = Adding flow for /restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/2/flow/124 failed, http response 404 received.

https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-cds-flow-services-lithium-redesign-only-master/190/robot/report/log.html#s1-s3-s4



 Comments   
Comment by Peter Gubka [ 15/May/15 ]

updating, it is not a blocker
only PUT rest calls are failing
POST (as it does not use id) works

Comment by Vaclav Demcak [ 15/May/15 ]

https://git.opendaylight.org/gerrit/20522

Generated at Wed Feb 07 19:55:14 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.