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
NXST_FLOW reply (xid=0x4):
 cookie=0x20000000000000, duration=15.87s, table=0, n_packets=16,
n_bytes=1156, idle_timeout=5, idle_age=3,
priority=0,in_port=2,vlan_tci=0x0000,dl_src=d4:be:d9:52:15:b0,dl_dst=84:34:97:18:78:e4
actions=output:3
 cookie=0x20000000000000, duration=15.872s, table=0, n_packets=16,
n_bytes=1156, idle_timeout=5, idle_age=1,
priority=0,in_port=3,vlan_tci=0x0000,dl_src=84:34:97:18:78:e4,dl_dst=d4:be:d9:52:15:b0
actions=output:2

>>>>>>>>>>>>Below command should be showing me any flows through flood
light..............
user1@devtest11:~$ sudo curl
http://10.47.52.72:8080/wm/core/switch/00:00:c0:4a:00:04:94:04/flow/json
{"00:00:c0:4a:00:04:94:04":null}user1@devtest11:~$
user1@devtest11:~$

user1@devtest11:~$ sudo ovs-vsctl show
14593c41-8295-43a7-b63f-74eb932e52c5
    Bridge "mybridge3-rb"
        Controller "tcp:10.47.52.72:6633"
            is_connected: true
        fail_mode: secure
        Port "mybridge3-rb"
            Interface "mybridge3-rb"
                type: internal
        Port "eth2"
            Interface "eth2"
        Port "eth0"
            Interface "eth0"
        Port "eth3"
            Interface "eth3"
    ovs_version: "2.0.1"






On Mon, Aug 11, 2014 at 11:10 AM, Gurucharan Shetty <shet...@nicira.com>
wrote:

> On Sun, Aug 10, 2014 at 7:34 AM, Prasanna Yabaluri
> <prasa...@yabaluri.com> wrote:
> > Help needed for troubleshooting.
> >
> > I have vSwitch in fail_mode secure. Using floodlight controller.The two
> > hosts can ping each other even after flows have been deleted ...
> >
> > 1. curl -X Delete flow name
> >
> > 2. sudo ovs-dpctl del-flows
> You are deleting the flows from the kernel module (which is a cache
> and will be re-populated by ovs-vswitchd). You should use
> 'ovs-ofctl del-flows mybridge2-rb'
>
> >
> > user1@devtest11:~$ sudo ovs-vsctl show
> > 14593c41-8295-43a7-b63f-74eb932e52c5
> >     Bridge "mybridge2-rb"
> >         Controller "tcp:10.47.52.72:6633"
> >             is_connected: true
> >         fail_mode: secure
> >         Port "eth2"
> >             Interface "eth2"
> >         Port "eth3"
> >             Interface "eth3"
> >         Port "mybridge2-rb"
> >             Interface "mybridge2-rb"
> >                 type: internal
> >     ovs_version: "2.0.1"
> >
> > user1@devtest11:~$ sudo curl
> > http://10.47.52.72:8080/wm/core/switch/00:00:c0:4a:00:04:94:04/flow/json
> |
> > json_pp -t dumper
> >   % Total    % Received % Xferd  Average Speed   Time    Time     Time
> > Current
> >                                  Dload  Upload   Total   Spent    Left
> > Speed
> > 100  1369    0  1369    0     0  60146      0 --:--:-- --:--:-- --:--:--
> > 62227
> > $VAR1 = {
> >           '00:00:c0:4a:00:04:94:04' => [
> >                                          {
> >                                            'priority' => 0,
> >                                            'durationSeconds' => 632,
> >                                            'durationNanoseconds' =>
> > 843000000,
> >                                            'hardTimeout' => 0,
> >                                            'byteCount' => 48548,
> >                                            'actions' => [
> >                                                           {
> >                                                             'lengthU' =>
> 8,
> >                                                             'maxLength'
> =>
> > -1,
> >                                                             'length' =>
> 8,
> >                                                             'port' => 2,
> >                                                             'type' =>
> > 'OUTPUT'
> >                                                           }
> >                                                         ],
> >                                            'packetCount' => 664,
> >                                            'idleTimeout' => 5,
> >                                            'tableId' => 0,
> >                                            'match' => {
> >
> > 'transportDestination' => 0,
> >
> > 'dataLayerVirtualLanPriorityCodePoint' => 0,
> >
> > 'networkTypeOfService' => 0,
> >                                                         'dataLayerType'
> =>
> > '0x0000',
> >                                                         'inputPort' => 1,
> >
> > 'dataLayerVirtualLan' => -1,
> >
> > 'dataLayerDestination' => '84:34:97:18:78:e4',
> >
> 'transportSource' =>
> > 0,
> >
> 'networkDestination'
> > => '0.0.0.0',
> >
> 'dataLayerSource' =>
> > 'd4:be:d9:52:15:b0',
> >                                                         'wildcards' =>
> > 3678448,
> >
> > 'networkSourceMaskLen' => 0,
> >                                                         'networkSource'
> =>
> > '0.0.0.0',
> >
> > 'networkDestinationMaskLen' => 0,
> >
> 'networkProtocol' =>
> > 0
> >                                                       },
> >                                            'cookie' => '9007199254740992'
> >                                          },
> >                                          {
> >                                            'cookie' =>
> '9007199254740992',
> >                                            'match' => {
> >
> 'dataLayerSource' =>
> > '84:34:97:18:78:e4',
> >
> 'networkDestination'
> > => '0.0.0.0',
> >
> 'transportSource' =>
> > 0,
> >
> > 'dataLayerDestination' => 'd4:be:d9:52:15:b0',
> >
> 'networkProtocol' =>
> > 0,
> >
> > 'networkDestinationMaskLen' => 0,
> >                                                         'networkSource'
> =>
> > '0.0.0.0',
> >
> > 'networkSourceMaskLen' => 0,
> >                                                         'wildcards' =>
> > 3678448,
> >
> > 'networkTypeOfService' => 0,
> >                                                         'dataLayerType'
> =>
> > '0x0000',
> >
> > 'dataLayerVirtualLanPriorityCodePoint' => 0,
> >
> > 'transportDestination' => 0,
> >
> > 'dataLayerVirtualLan' => -1,
> >                                                         'inputPort' => 2
> >                                                       },
> >                                            'tableId' => 0,
> >                                            'idleTimeout' => 5,
> >                                            'byteCount' => 48534,
> >                                            'packetCount' => 664,
> >                                            'actions' => [
> >                                                           {
> >                                                             'type' =>
> > 'OUTPUT',
> >                                                             'port' => 1,
> >                                                             'lengthU' =>
> 8,
> >                                                             'length' =>
> 8,
> >                                                             'maxLength'
> =>
> > -1
> >                                                           }
> >                                                         ],
> >                                            'durationSeconds' => 632,
> >                                            'priority' => 0,
> >                                            'hardTimeout' => 0,
> >                                            'durationNanoseconds' =>
> > 841000000
> >                                          }
> >                                        ]
> >         };
> >
> >
> >
> > _______________________________________________
> > discuss mailing list
> > discuss@openvswitch.org
> > http://openvswitch.org/mailman/listinfo/discuss
> >
>
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to