Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

@Mandeep: I believe your answer is correct, but actually your suggestion is not working for me. When i try to add the flow manually to config datastore, it shows me the exception': Caused by: org.opendaylight.yangtools.yang.data.api.schema.tree.ModifiedNodeDoesNotExistException: Node /(urn:opendaylight:inventory?revision=2013-08-19)nodes does not exist. Cannot apply modification to its children. Im a bit confused, as my whole config datastore seems to be empty.. When i query via curl: curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" --user admin:admin http://localhost:8181/restconf/config/opendaylight-inventory:nodes/ It shows nothing. When i query the operational datastore, i get a normal output. Can you give me some advice, whats going wrong in my case ?

@Mandeep: I believe your answer is correct, but actually your suggestion is not working for me. When i try to add the flow manually to config datastore, it shows me the exception': Caused by:

org.opendaylight.yangtools.yang.data.api.schema.tree.ModifiedNodeDoesNotExistException: Node /(urn:opendaylight:inventory?revision=2013-08-19)nodes does not exist. Cannot apply modification to its children.

Im a bit confused, as my whole config datastore seems to be empty.. When i query via curl:

curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" --user admin:admin http://localhost:8181/restconf/config/opendaylight-inventory:nodes/

It shows nothing. When i query the operational datastore, i get a normal output. Can you give me some advice, whats going wrong in my case ?