Openflow plugin extension steps

asked 2016-10-25 13:00:30 -0800

almostcash gravatar image

I am trying to extend the openflow plugin.

i read the tutorial's_extensibility

however the steps there are not defined in great detail and is somewhat confusing.

i am trying to write the steps here, what i understood.

please correct me if am going into wrong direction.

  1. First, we have to augment existing model. We create new module, which imports “openflow-types.yang” Where and how we create new module? what does creating new module means? in openflowjava there are follwoing modules: /features-openflowjava /openflow-protocol-api /openflow-protocol-impl /openflow-protocol-it /openflow-protocol-spi /openflowjava-aggregator /openflowjava-artifacts /openflowjava-config /openflowjava-parent /openflowjava-util /simple-client

do i have to create a new module here besides the above modules?

then i believe in this new module i have to extend openflow protocol.yang right?

  1. create (de)serializer so we create de)serializer in this new module or in the existing module org.opendaylight.openflowjava.protocol.api.extensibility

  2. Let it implement OFDeserializer<> / OFSerializer<> we implement it in /openflow-protocol-impl ??

  3. Register your deserializer / serializer under org.opendaylight.openflowjava.protocol.api.extensibility ??

  4. create message factories where in which module and how?

  5. testing implementation. how to test the implementation in openflowjava project in Eclipse? via simple client? and how?

i hope somebody could answer my questions, it will be a great help.

edit retag flag offensive close merge delete