Open kmohr-soprasteria opened 3 days ago
The value "409 conflict" is returned by ODL if the requested object is not present in the equipment. I have just tried calling the "Object creation" notification API receiving a 409 response. Then after creating a vlan in the same equipment in testlab and tried again to call the same API I received 204
Nevertheless I found a little issue in the cache update after the object creation API call that I fixed and will be released in the next tag.
When I call the service to create or delete an object, I end up with a 409, conflict. I tried with another device as well, but still not working.
/v1/regard-device-object-creation:
/v1/regard-device-object-deletion:
Both calls respond:
I checked that the object is not there before I called the creation service (/core-model-1-4:network-control-domain=cache/control-construct=513250006/forwarding-domain=VLAN-FD/fc=VLAN-123):
When I only call/core-model-1-4:network-control-domain=cache/control-construct=513250006/forwarding-domain=VLAN-FD, data is returned.
also see related issue #875