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

1

Northbound MD-SAL Flow APIs when L2switch app is run

asked 2015-01-28 12:38:34 -0800

ransari gravatar image

Hi,

I'm using distribution-karaf-0.2.2-SNAPSHOT:

(1) Does the L2switch app provide a northbound API to install flows, similar to what is provided by the OpennFlowPlugin `1.3 MD-SAL implementation as documented in https://wiki.opendaylight.org/view/OpenDaylightOpenFlowPlugin:EndtoEnd_Flows? I' loaded te following features for L2switch: feature:install odl-restconf odl-l2switch-switch odl-mdsal-apidocs odl-dlux-core

(2) The diagram on https://wiki.opendaylight.org/view/OpenDaylightController:MD-SAL:L2 Switch shows that installed flows are committed to Config datastore? How do I view these via REST? The user guide ( https://www.opendaylight.org/sites/opendaylight/files/bk-user-guide.pdf ) doesn't provide a reference for this. I tried using http:// <controller ip="">:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/ but it returns error</controller>

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-03-10 15:14:21 -0800

Nuno gravatar image

Hello ransari.

1) I don't think l2switch provides a northbound API to install flows. I've been using myself the same link you mentioned. However you can see here all restconf API documentation

2) I think to retrieve the information from tables or flows you have to change config for operational. The rest seems fine.

Regards, Nuno B.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
2 followers

Stats

Asked: 2015-01-28 12:38:34 -0800

Seen: 234 times

Last updated: Mar 10 '15