[E] [ODL Discuss] I get HTTP 409 Conflict error code when I try to add flow to OpenDaylight #opendaylight-meeting #help #opendaylight-help-openflow #opendaylight

Sangwook Ha

The URL should be like this because 'table' is augmented from flow-node-inventory.yang: 

OpenDaylight used to allow omitting the module name when the namespace space changes because of augmentation but it's not the case any more.


On Thu, Feb 23, 2023 at 6:08 AM <davidfernandes1212@...> wrote:

Hello eveybody,

I have installed last version of Opendaylight (karaf-0.17.2) and I have launched karaf.
When I send GET requests to ODL, everything is fine (Ex : "http://<MY_ODL_IP>:8181/rests/data/opendaylight-inventory:nodes/node=openflow:108841855832911?content=nonconfig ==> OK)
But when I try to add a flow rule with a PUT request I get "409 Conflict" response. Here is an example :
URL : http://<MY_ODL_IP>:8181/rests/data/opendaylight-inventory:nodes/node=openflow:108841855832911/table=0/flow=0

error message :

<errors xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf">
<error-message>Schema for '(urn:opendaylight:inventory?revision=2013-08-19)table' not found</error-message>



Am I missing something ? Thanks in advance for your support.