Hello all,

I have network whose architecture is as shown below.
As there are loops in the network ,I'm running STP on the controller which is 
RYU.
But the problem is that even though the openvswitches receive the bpdu 
configuration packets,they are being disabled.
Also the openvswitches are running on three different pc's and not on mininet.
When the same topology is run on mininet, everything works flawlessy.

                                        c0(Ryu)
                                          |
                                                          
------------switch--------------
                                  |          (normal switch)            |
                    |              |                       |
                                                 |      --------  
ovs1-----------     |
                                                         |      |               
                         |   |
                Host1--------Ovs2  ---------------------- ovs3----host2

The ovs version is 2.3.1.
Does ovs just drop bpdu packets when stp is disabled?
I have also modified the ports to receive-stp.

I'm also attaching the port data and the bridge configuration :

ovs-vsctl list bridge
_uuid               : 1e4df0df-fb73-4f49-8311-9a0daa88a84f
controller          : [7af3325d-754a-4bf7-9949-f6b15d5c095e]
datapath_id         : "00000010f33acafb"
datapath_type       : ""
external_ids        : {}
fail_mode           : secure
flood_vlans         : []
flow_tables         : {}
ipfix               : []
mirrors             : []
name                : "s1"
netflow             : []
other_config        : {disable-in-band="true"}
ports               : [49c14788-b49e-4c39-ba7b-e3a24c11abbd, 
b9542e30-5bd0-49c0-b6c3-b0556e33f988, eacc4c3d-a10d-4ded-905f-5976ce42d4a7]
protocols           : ["OpenFlow13"]
sflow               : []
status              : {}
stp_enable          : false

ovs-ofctl -O openFlow13 dump-flows s1
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x0, duration=2793.242s, table=0, n_packets=1046, n_bytes=62760, 
priority=65535,dl_dst=01:80:c2:00:00:0e actions=CONTROLLER:65535
 cookie=0x0, duration=9125.242s, table=0, n_packets=288482, n_bytes=17308920, 
priority=65535,dl_dst=01:80:c2:00:00:00 actions=CONTROLLER:65535
 cookie=0x0, duration=2793.439s, table=0, n_packets=2014, n_bytes=474412, 
priority=0 actions=CONTROLLER:65535
 cookie=0x0, duration=50.026s, table=0, n_packets=0, n_bytes=0, 
priority=65534,in_port=3 actions=drop
 cookie=0x0, duration=40.161s, table=0, n_packets=0, n_bytes=0, 
priority=65534,in_port=1 actions=drop
 cookie=0x0, duration=601019.436s, table=0, n_packets=0, n_bytes=0, 
priority=65535,dl_dst=01:80:c2:00:00:0e,dl_type=0x88cc actions=CONTROLLER:65535

ovs-ofctl -O openFlow13 dump-ports-desc s1
OFPST_PORT_DESC reply (OF1.3) (xid=0x2):
 1(p1p1): addr:00:10:f3:3a:ca:fb
     config:     NO_PACKET_IN
     state:      0
     current:    1GB-FD COPPER AUTO_NEG
     advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
     supported:  10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
     speed: 1000 Mbps now, 1000 Mbps max
 3(p4p1): addr:a0:36:9f:44:3f:2c
     config:     NO_PACKET_IN
     state:      0
     current:    1GB-FD COPPER AUTO_NEG
     advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG 
AUTO_PAUSE
     supported:  10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG 
AUTO_PAUSE
     speed: 1000 Mbps now, 1000 Mbps max
 LOCAL(s1): addr:00:10:f3:3a:ca:fb
     config:     0
     state:      0
     speed: 0 Mbps now, 0 Mbps max
root@cocosdem3:/home/cocos# ovs-ofctl snoop s1
OFPT_PORT_STATUS (OF1.3) (xid=0x0): MOD: 1(p1p1): addr:00:10:f3:3a:ca:fb
     config:     NO_PACKET_IN
     state:      0
     current:    1GB-FD COPPER AUTO_NEG
     advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
     supported:  10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
     speed: 1000 Mbps now, 1000 Mbps max
OFPT_PORT_MOD (OF1.3) (xid=0x1868f4ee):port: 1: addr:00:10:f3:3a:ca:fb
     config: NO_PACKET_IN
     mask:   PORT_DOWN NO_RECV NO_FWD NO_PACKET_IN
     advertise: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
OFPT_FLOW_MOD (OF1.3) (xid=0x1868f4ef): ADD priority=65534,in_port=1 out_port:0 
actions=drop
OFPT_PACKET_OUT (OF1.3) (xid=0x1868f4f0): in_port=CONTROLLER actions=output:1 
data_len=52
metadata=0,in_port=0,vlan_tci=0x0000,dl_src=00:10:f3:3a:ca:fb,dl_dst=01:80:c2:00:00:0e,dl_type=0x05ff
OFPT_PORT_STATUS (OF1.3) (xid=0x0): MOD: 1(p1p1): addr:00:10:f3:3a:ca:fb
     config:     NO_PACKET_IN
     state:      LINK_DOWN
     current:    COPPER AUTO_NEG
     advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
     supported:  10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
     speed: 0 Mbps now, 1000 Mbps max
OFPT_PORT_STATUS (OF1.3) (xid=0x0): MOD: 1(p1p1): addr:00:10:f3:3a:ca:fb
     config:     NO_PACKET_IN
     state:      0
     current:    1GB-FD COPPER AUTO_NEG
     advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
     supported:  10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
     speed: 1000 Mbps now, 1000 Mbps max
OFPT_PORT_MOD (OF1.3) (xid=0x1868f4f1):port: 1: addr:00:10:f3:3a:ca:fb
     config: NO_PACKET_IN
     mask:   PORT_DOWN NO_RECV NO_FWD NO_PACKET_IN
     advertise: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
OFPT_FLOW_MOD (OF1.3) (xid=0x1868f4f2): ADD priority=65534,in_port=1 out_port:0 
actions=drop
OFPT_PACKET_OUT (OF1.3) (xid=0x1868f4f3): in_port=CONTROLLER actions=output:1 
data_len=52
metadata=0,in_port=0,vlan_tci=0x0000,dl_src=00:10:f3:3a:ca:fb,dl_dst=01:80:c2:00:00:0e,dl_type=0x05ff
OFPT_PORT_STATUS (OF1.3) (xid=0x0): MOD: 1(p1p1): addr:00:10:f3:3a:ca:fb
     config:     NO_PACKET_IN
     state:      LINK_DOWN
     current:    COPPER AUTO_NEG
     advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
     supported:  10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
     speed: 0 Mbps now, 1000 Mbps max
OFPT_PORT_STATUS (OF1.3) (xid=0x0): MOD: 1(p1p1): addr:00:10:f3:3a:ca:fb
     config:     NO_PACKET_In
     state:      0

If anyone has any insights please let me know.

Mit freundlichen Grüßen / Best regards

Harsha Vardhan
Communication Technology (CR/AEH4)

fixed-term.harsha.vard...@de.bosch.com<mailto:fixed-term.harsha.vard...@de.bosch.com>



_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to