hi how can i delete flows which odl-l2switch-switch feature is pushing to my mininet switch? thanks
the flows created by l2switch are created internally (i.e., not via restconf). So, they will not exist in the config datastore thus sending a DELETE to restconf/config/... will not work.
you can trigger an RPC delete with restconf though. this should let you delete those flows that you see:
Also, if you don't need any of the l2switch functionality, then you can skip installing it and just bring in openflow (e.g. odl-openflowplugin-flow-services)
If you want to disable the flows of l2switch that you can config xml file under "etc/opendaylight/karaf"
disable drop flow rule
disable lldp flow rule
If you need more config detail you can refer to l2switch user guide
thanks for the answers. I tried to delete flows with salflowservice and it didnt work.So i decided to hear the changes in operational datastore through datachangelistener.So i hear the flows that l2switch is pushing and then iam trying to delete them.But that didnt work either.So can anyone explain to me the procedure that salflowservice adds/deletes/updates flows because i cant find any information about this.
Thanks a lot!
This thread is public, all members of ask.opendaylight.org can read this page.
Asked: 2016-01-01 07:37:13 -0700
Seen: 304 times
Last updated: Jan 05 '16
© 2014 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a trademark of The OpenDaylight Project, Inc.
Linux Foundation is a registered trademark of The Linux Foundation.
Linux is a registered trademark of Linus Torvalds.