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]

Hello,

You can enable table feature using this knob: https://github.com/opendaylight/openflowplugin/blob/master/openflowplugin-blueprint-config/src/main/resources/initial/openflowplugin.cfg#L6

I'm not sure why you want to send those messages yourself, as ODL is sending them for you when required.

What is it you're trying to achieve?

Anyway, here are hints to create those messages:

show how to request for desc and port: https://github.com/opendaylight/openflowplugin/blob/737fc0bfc1695b8c8136b4c3af4225f2acfaa747/openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/core/sal/ModelDrivenSwitchImpl.java#L541-L561

show how to make empty request: https://github.com/opendaylight/openflowplugin/blob/737fc0bfc1695b8c8136b4c3af4225f2acfaa747/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/common/MultipartRequestInputFactory.java#L108

translator showing how the messages gets converted: https://github.com/opendaylight/openflowplugin/tree/737fc0bfc1695b8c8136b4c3af4225f2acfaa747/openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/core/translator

Hope this helps, Alexis