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

fyeh's profile - activity

2015-11-16 00:37:34 -0700 received badge  Famous Question (source)
2015-09-05 09:21:22 -0700 received badge  Notable Question (source)
2015-08-31 00:05:59 -0700 received badge  Popular Question (source)
2015-08-13 12:43:39 -0700 received badge  Scholar (source)
2015-08-13 12:43:22 -0700 commented answer How can I set network-topology with RESTCONF?

Thanks, that makes sense but how did you figure out that data doesn't transfer? Is there an API for populating Operational Data Store?

2015-08-12 18:56:04 -0700 received badge  Famous Question (source)
2015-08-10 13:13:41 -0700 asked a question Does the RESTCONF Config interface support network-topology? Any Examples?

I have been trying to use the /restconf/config/network-topology:network-topology/ API and have not been successful:

GET, POST, PUT all return error messages. DELETE returns 200 OK but does not actually delete the topology.

Is the RESTCONF/config interface supported within network-topology module? Are there any examples on how to use it?

Thank you.

Fei Yeh / Northwestern University

2015-08-09 03:26:00 -0700 received badge  Notable Question (source)
2015-08-07 14:19:35 -0700 commented answer How can I set network-topology with RESTCONF?

I'm trying to set network topology with RESTCONF, not OVSDB directly. I have this module installed: 78 | Active | 80 | 2013.10.19.7-Lithium | org.opendaylight.yangtools.model.ietf-restconf What URL and methods should I use?

2015-08-05 22:35:37 -0700 received badge  Popular Question (source)
2015-08-04 16:19:47 -0700 received badge  Editor (source)
2015-08-04 12:19:18 -0700 asked a question How can I set network-topology with RESTCONF?

I'm attempting to change the network topology with the RESTCONF API using the URL root:

http://localhost:8181/restconf/config/network-topology:network-topology/

However, at the moment even a plain GET on this base URL returns an 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 methods (GET, PUT, DELETE, POST) are defined and exposed in the Yang UI and the API explorer. Are they supposed to be able to change the network configuration or are they meant to serve a different purpose?

[edit 1] In Reply to jsmoeller's comment:

I have tried connecting both a real switch (Pica8 3290 running OVS) and mininet OvS, and used the YangUI within Dlux. In all cases, this URL (restconf/config/network-topology:network-topology) returns this error.

A different URL (/restconf/operational/network-topology:network-topology) has only the GET method and works fine as ready-only topology.

[edit 2] Just wanted to clarify that I'm trying to manipulate the topology entirely within and only within OpenDayLight, independent of the initial network topology that ODL first received/constructed. Is that possible?

Fei Yeh

Northwestern University