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]

click to hide/show revision 1
initial version

How to fill in "extension-key" in flow match

I'm trying to add an extension to openflowplugin according to the nicira and confused at how to fill in "extension-key" in flow match:

image description

I filled in the "extension-key" with "nxm-of-udp-src-key", as defined in file "openflowplugin-extension-nicira-match.yang" as follows:

identity nxm-of-udp-src-key {
    base ext-gen:extension-key;
}

and I can find how it register the convertor with the "nxm-of-udf-src-key" in file "NiciraExtensionProvider.java":

    registrations.add(extensionConverterRegistrator.registerMatchConvertor(new ConverterExtensionKey<>(NxmOfUdpSrcKey.class, EncodeConstants.OF13_VERSION_ID), UDP_SRC_CONVERTOR));R));

where "NxmOfUdpSrcKey.class" is the compiled class type of "nxm-of-udf-src-key" by yangtools.

However, I found that odl cannot go right into the "UdpSrcConvertor.java" when remote debugging.

Who can help me?

How to fill in "extension-key" in flow matchopenflowplugin extension

I'm trying to add an extension to openflowplugin according to the nicira and confused at how to fill in "extension-key" in flow match:

image description

I filled in the "extension-key" with "nxm-of-udp-src-key", as defined in file "openflowplugin-extension-nicira-match.yang" as follows:

identity nxm-of-udp-src-key {
    base ext-gen:extension-key;
}

and I can find how it register the convertor with the "nxm-of-udf-src-key" in file "NiciraExtensionProvider.java":

    registrations.add(extensionConverterRegistrator.registerMatchConvertor(new ConverterExtensionKey<>(NxmOfUdpSrcKey.class, EncodeConstants.OF13_VERSION_ID), UDP_SRC_CONVERTOR));R));

where "NxmOfUdpSrcKey.class" is the compiled class type of "nxm-of-udf-src-key" by yangtools.

However, I found that odl cannot go right into the "UdpSrcConvertor.java" when remote debugging.

Who can help me?