Data Missing Error, data model does not exist
Whenever I issue any config and most operational commands from the OpendayLight RestConf API Documentation or the Yang UI I always get this error:
{
"errors" : {
"error": [
{
"error-type": "application",
"error-tag": "data-missing",
"error-message": "Request could not be completed because the relevant data model content does not exist"
}
]
}
}
The Response code is 404.
I am running Opendaylight on a vm and using mininet on a separate vm to connect to ODL as a remote controller. With mininet, I am creating a network of three switches connected to each other, each with its own host. The command that I use to create my network in mininet is: "sudo mn --topo linear,3 --mac --controller=remote,ip=192.168.56.103 --switch ovs,protocols=OpenFlow13".
The only RestConf operations I have been able to use are network-topology (/operational/network-topology:network-topology) and nodes (/operational/opendaylight-inventory:nodes).
I saw that a similar question was asked: about having a request error but my problem persists.