[NETCONF-769] Cannot create new NETCONF connector with a POST Created: 05/May/21 Updated: 04/Nov/21 Resolved: 04/Nov/21 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Medium |
| Reporter: | mikael petterson | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
I have opendaylight-14.0.0 installed. I am following this guide: I have started karaf with java 11 and done: feature:install odl-restconf feature:install odl-netconf-topology curl -vv -k -X POST --header 'Content-Type: application/json' -u admin:admin http://10.200.120.168:8181/rest/data/network-topology:network-topology/topology=topology-netconf -d @create-new-netconf-connector.json
</body>
What am I lacking?
//mike |
| Comments |
| Comment by Tomas Cere [ 02/Jul/21 ] |
|
Looks like you have a typo in the link you are trying to send the POST request to:
http://10.200.120.168:8181/rest/data/network-topology:network-topology/topology=topology-netconf
The rfc8040 restconf endpoint is located under /rests/data |