Openflowplugin has two implementations. Link that i pasted is from the old implementation (default implementation till Beryllium release). The link that you pasted above is from the new implementation of openflowplugin ( it's going to be the default plugin from Boron onwards). Code present in "openflowplugin" directory is the code related to the odl openflowplugin implementation and code present in "openflowplugin-impl" is related to the new openflowplugin implementation.
On Tue, May 17, 2016 at 12:45 AM, Borasy Kong <[email protected]> wrote: > Hi there, > > Thanks for the links. It helps a lot. > But I also found SalFlowServiceImpl.java > > https://github.com/opendaylight/openflowplugin/blob/e95857517f6d24a871f3811fc8c8c7f055e30267/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/SalFlowServiceImpl.java > > Do you know how is SalFlowServiceImpl different from > ModelDrivenSwitchImpl.java?? > And is there a way to test if Sal-flow:add-flow really uses > ModelDrivenSwitchImpl.java ?? > > Thanks again. > Best, > BK > > On Tue, May 17, 2016 at 1:48 PM, Anil Vishnoi <[email protected]> > wrote: > >> here is the implementation >> >> >> https://github.com/opendaylight/openflowplugin/blob/master/openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/core/sal/ModelDrivenSwitchImpl.java#L140 >> >> and this is the place where openflowplugin register the rpc provider >> >> >> https://github.com/opendaylight/openflowplugin/blob/master/openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/core/sal/AbstractModelDrivenSwitch.java#L59 >> >> On Mon, May 16, 2016 at 9:25 PM, Jamo Luhrsen <[email protected]> wrote: >> >>> (adding openflowplugin-dev as they are the right project for this >>> question) >>> >>> On 05/16/2016 07:24 PM, Borasy Kong wrote: >>> > Hi >>> > >>> > I want to know the source codes in ODL distribtion corresponding to >>> adding a flow from RPC >>> > using http://localhost:8181/restconf/operations/sal-flow:add-flow < >>> http://localhost:8080/restconf/operations/sal-flow:add-flow>. >>> > Can someone help out? >>> > >>> > Thanks, >>> > BK >>> > >>> > >>> > _______________________________________________ >>> > controller-users mailing list >>> > [email protected] >>> > https://lists.opendaylight.org/mailman/listinfo/controller-users >>> > >>> _______________________________________________ >>> controller-users mailing list >>> [email protected] >>> https://lists.opendaylight.org/mailman/listinfo/controller-users >>> >> >> >> >> -- >> Thanks >> Anil >> > > -- Thanks Anil
_______________________________________________ openflowplugin-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev
