On Mon, Aug 11, 2014 at 3:56 PM, Prasanna Yabaluri <[email protected]> wrote: > Thanks! > > Thinking this command will do a clean state of vswitch and remove any > configs by controller.....I tried sudo ovs-vsctl emer-reset ..did not work. ovs-vsctl emer-reset Reset the configuration into a clean state. It deconfigures OpenFlow controllers, OVSDB servers, and SSL, and deletes port mirroring, fail_mode, NetFlow, sFlow, and IPFIX configuration. This command also removes all other-config keys from all data‐ base records, except that other-config:hwaddr is preserved if it is present in a Bridge record. Other networking configuration is left as-is.
What does "ovs-ofctl dump-flows $bridgename" say after the above command? If it shows a "NORMAL" flow, it probably simply moved to a learning switch. > > So the concept of SDN does not allow to override the controller by directly > modifying the vSwitch? If you have hypervisor 'root' access, you can override. For e.g., you can 'ifconfig ethX down' where controller is reached via 'ethX'. And then delete flows or delete bridges etc. > > > On Mon, Aug 11, 2014 at 6:45 PM, Gurucharan Shetty <[email protected]> > wrote: >> >> On Mon, Aug 11, 2014 at 3:39 PM, Prasanna Yabaluri >> <[email protected]> wrote: >> > Thank you for the response! the hosts are still pinging >> > >> > user1@devtest11:~$ sudo ovs-dpctl del-flows >> > user1@devtest11:~$ >> > user1@devtest11:~$ >> >>>>>>>>>>>>>>>not sure how are these flows getting installed... >> > user1@devtest11:~$ sudo ovs-ofctl del-flows mybridge3-rb >> > user1@devtest11:~$ sudo ovs-ofctl dump-flows mybridge3-rb >> If the above command is showing entries, it means that your controller >> is populating the flow table. I don't know any other explanation to >> it. > > _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
