Hello,

2013/10/9 Murphy McCauley <[email protected]>:
> On Oct 9, 2013, at 12:46 PM, Maciej Korczyński <[email protected]>
> wrote:
>
> Hi Murphy,
>
> Thank you very much for your mail.
>
> 2013/10/3 Murphy McCauley <[email protected]>
>>
>> It looks like maybe your POX isn't running the latest version of the carp
>> branch.  Can you switch to carp if necessary and pull the latest version and
>> try again?  I've pushed a change to openflow.discovery.
>>
>
> I tried both beta and carp versions as you suggested but in both cases it
> gives me the same errors as described in one of my previous mails.
>
>
> Are you running the *latest* carp?  (Have you pulled from the repository?)
>

Yes, I was switching versions by:
-> git checkout carp/betta
command

and I was verifying versions by:

-> git branch
  betta
* carp


> Btw, just to inform, in carp, I can't run openflow.spanning_tree with
> --no-flood --hold-down options.
>
>
> What do you mean by "can't"?  Do you get errors?  Log messages?  I don't
> seem to have a problem with:
> ./pox.py openflow.spanning_tree --no-flood --hold-down openflow.discovery
> forwarding.l2_pairs
>

Sorry for not being precised, here is what I got:

mininet@mininet-vm:~/pox$ ./pox.py openflow.spanning_tree --no-flood
--hold-down openflow.discovery forwarding.l2_pairs
POX 0.1.0 (betta) / Copyright 2011-2013 James McCauley, et al.
Error executing pox.openflow.spanning_tree.launch:
TypeError: launch() takes no arguments (2 given)

Parameters for pox.openflow.spanning_tree:
 None.
This component does not have a parameter named 'hold_down'.


> If you can think of any further details that I could provide you, please let
> me know.
>
>
> The last question on the FAQ is full of ideas:
> http://www.noxrepo.org/pox/manual
>


For completeness, I use mininet 2.0.0. command:

1) sudo mn --switch ovsk --controller=remote,ip=127.0.0.1,port=6633
--mac --custom ~/mininet/custom/topoMesh7pro.py --topo mesh7pro

2) Please find the log from pox and topology: topoMesh7pro.py in the attachment.

3) Finally, even when I get errors, pox is still working...

I really appreciate your help.

Best Regards,
Maciej

> A more general question: has anyone tried topologies with loops in Mininet
> and POX with more that 10 switches and it actually worked?
>
>
> I'm doing it with 20 switches (two hosts each) in a full mesh this very
> moment using the commandline above (also tested with l2_learning).
>
> Thanks again,
> Maciej
>
>
>>
>> -- Murphy
>>
>> On Oct 1, 2013, at 3:13 PM, Maciej Korczyński
>> <[email protected]> wrote:
>>
>> 2013/10/1 Murphy McCauley <[email protected]>
>>>
>>> I've CCed this to pox-dev, which is the right list for POX related
>>> messages.
>>>
>>
>> Thank you very much.
>>
>>>
>>> But the first thing I'd try is:
>>>
>>> ./pox.py forwarding.l2_pairs openflow.discovery --eat-early-packets
>>> openflow.spanning_tree --no-flood --hold-down
>>>
>>
>> I tried it straight away but unfortunately it gives the same results.
>>
>> Thanks,
>> Maciej
>>
>>
>>>
>>>
>>> -- Murphy
>>>
>>> On Oct 1, 2013, at 2:32 PM, Maciej Korczyński
>>> <[email protected]> wrote:
>>>
>>> Hello,
>>>
>>> I'm trying to run a spanning tree in POX (./pox.py forwarding.l2_learning
>>> openflow.discovery openflow.spanning_tree --no-flood --hold-down). I've
>>> built a mininet network composed of 20 switches in a full mesh with multiple
>>> hosts attached to each of switches and I get the following error (also see
>>> the attachment):
>>>
>>> ERROR:openflow.of_01:[00-00-00-00-00-14 11] OpenFlow Error:
>>> [00-00-00-00-00-14 11] Error: header:
>>> [00-00-00-00-00-14 11] Error:   version: 1
>>> [00-00-00-00-00-14 11] Error:   type:    1 (OFPT_ERROR)
>>> [00-00-00-00-00-14 11] Error:   length:  36
>>> [00-00-00-00-00-14 11] Error:   xid:     6220717
>>> [00-00-00-00-00-14 11] Error: type: OFPET_BAD_REQUEST (1)
>>> [00-00-00-00-00-14 11] Error: code: OFPBRC_BUFFER_UNKNOWN (8)
>>> [00-00-00-00-00-14 11] Error: datalen: 24
>>> [00-00-00-00-00-14 11] Error: 0000: 01 0d 00 18 00 5e eb ad  00 01 88 7f
>>> 00 09 00 08   .....^..........
>>> [00-00-00-00-00-14 11] Error: 0010: 00 00 00 08 ff fb 00 00
>>> ........
>>> ERROR:openflow.of_01:[00-00-00-00-00-14 11] OpenFlow Error:
>>> [00-00-00-00-00-14 11] Error: header:
>>> [00-00-00-00-00-14 11] Error:   version: 1
>>> [00-00-00-00-00-14 11] Error:   type:    1 (OFPT_ERROR)
>>> [00-00-00-00-00-14 11] Error:   length:  36
>>> [00-00-00-00-00-14 11] Error:   xid:     6220718
>>> [00-00-00-00-00-14 11] Error: type: OFPET_BAD_REQUEST (1)
>>> [00-00-00-00-00-14 11] Error: code: OFPBRC_BUFFER_UNKNOWN (8)
>>> [00-00-00-00-00-14 11] Error: datalen: 24
>>> [00-00-00-00-00-14 11] Error: 0000: 01 0d 00 18 00 5e eb ae  00 01 88 80
>>> 00 09 00 08   .....^..........
>>> [00-00-00-00-00-14 11] Error: 0010: 00 00 00 08 ff fb 00 00
>>> ........
>>> ^CDEBUG:openflow.spanning_tree:Spanning tree updated
>>>
>>> I believe it might be a problem with an algorithm because when construct
>>> networks composed of e.g. 7 switches in a full mesh there are no errors and
>>> the communication works fine. Also, if I construct a network with loops but
>>> less links (e.g. 20 switches, not in a full mesh topology but  every switch
>>> is connected to 50% other switches) then it works better.
>>>
>>>
>>>
>>> Could you please have a look and tell me if you had similar problems and
>>> some ideas on how to fix that?
>>>
>>> Also, if I'm right and it's an algorithmic problem then do we have any
>>> other alternative solution to openflow.spanning_tree or we are limited in
>>> our simulations to tree or star network topologies?
>>>
>>>
>>> Thanks,
>>>
>>> Maciek
>>>
>>> <log.png>
>>>
>>>
>>
>>
>
>
mininet@mininet-vm:~/pox$ git branch
  betta
* carp



mininet@mininet-vm:~/pox$ sudo mn --version
2.0.0



mininet@mininet-vm:~/pox$ ./pox.py openflow.spanning_tree --no-flood 
--hold-down openflow.discovery forwarding.l2_pairs
POX 0.1.0 (betta) / Copyright 2011-2013 James McCauley, et al.
Error executing pox.openflow.spanning_tree.launch:
TypeError: launch() takes no arguments (2 given)

Parameters for pox.openflow.spanning_tree:
 None.
This component does not have a parameter named 'hold_down'.



mininet@mininet-vm:~/pox$ ./pox.py openflow.spanning_tree openflow.discovery 
forwarding.l2_pairs
POX 0.1.0 (betta) / Copyright 2011-2013 James McCauley, et al.
INFO:forwarding.l2_pairs:Pair-Learning switch running.
INFO:core:POX 0.1.0 (betta) is up.
INFO:openflow.of_01:[None 1] closed
INFO:openflow.of_01:[00-00-00-00-00-01 2] connected
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:openflow.of_01:[00-00-00-00-00-02 3] connected
INFO:openflow.of_01:[00-00-00-00-00-02 3] connected
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:openflow.of_01:[00-00-00-00-00-03 4] connected
INFO:openflow.discovery:link detected: 00-00-00-00-00-01.4 -> 
00-00-00-00-00-03.3
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
INFO:openflow.of_01:[00-00-00-00-00-04 5] connected
INFO:openflow.discovery:link detected: 00-00-00-00-00-01.5 -> 
00-00-00-00-00-04.3
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:openflow.discovery:link detected: 00-00-00-00-00-02.5 -> 
00-00-00-00-00-04.4
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
INFO:openflow.of_01:[00-00-00-00-00-06 7] connected
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:openflow.discovery:link detected: 00-00-00-00-00-05.6 -> 
00-00-00-00-00-04.6
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:openflow.discovery:link detected: 00-00-00-00-00-02.4 -> 
00-00-00-00-00-03.4
INFO:openflow.spanning_tree:1 ports changed
INFO:openflow.discovery:link detected: 00-00-00-00-00-05.7 -> 
00-00-00-00-00-06.7
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow 
nexus
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:openflow.of_01:[00-00-00-00-00-08 9] connected
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:openflow.discovery:link detected: 00-00-00-00-00-02.7 -> 
00-00-00-00-00-06.4
INFO:openflow.spanning_tree:1 ports changed
INFO:openflow.discovery:link detected: 00-00-00-00-00-04.5 -> 
00-00-00-00-00-03.5
INFO:openflow.spanning_tree:1 ports changed
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:packet:(dhcp parse) warning DHCP packet data too short to parse header: 
data len 86
INFO:openflow.discovery:link detected: 00-00-00-00-00-05.5 -> 
00-00-00-00-00-03.6
INFO:openflow.spanning_tree:1 ports changed
ERROR:openflow.of_01:[00-00-00-00-00-01 2] OpenFlow Error:
[00-00-00-00-00-01 2] Error: header: 
[00-00-00-00-00-01 2] Error:   version: 1
[00-00-00-00-00-01 2] Error:   type:    1 (OFPT_ERROR)
[00-00-00-00-00-01 2] Error:   length:  36
[00-00-00-00-00-01 2] Error:   xid:     33649
[00-00-00-00-00-01 2] Error: type: OFPET_BAD_REQUEST (1)
[00-00-00-00-00-01 2] Error: code: OFPBRC_BUFFER_UNKNOWN (8)
[00-00-00-00-00-01 2] Error: datalen: 24
[00-00-00-00-00-01 2] Error: 0000: 01 0d 00 18 00 00 83 71  00 00 06 ad 00 04 
00 08   .......q........
[00-00-00-00-00-01 2] Error: 0010: 00 00 00 08 ff fc 00 00                      
      ........
ERROR:openflow.of_01:[00-00-00-00-00-01 2] OpenFlow Error:
[00-00-00-00-00-01 2] Error: header: 
[00-00-00-00-00-01 2] Error:   version: 1
[00-00-00-00-00-01 2] Error:   type:    1 (OFPT_ERROR)
[00-00-00-00-00-01 2] Error:   length:  36
[00-00-00-00-00-01 2] Error:   xid:     33650
[00-00-00-00-00-01 2] Error: type: OFPET_BAD_REQUEST (1)
[00-00-00-00-00-01 2] Error: code: OFPBRC_BUFFER_UNKNOWN (8)
[00-00-00-00-00-01 2] Error: datalen: 24
[00-00-00-00-00-01 2] Error: 0000: 01 0d 00 18 00 00 83 72  00 00 06 ae 00 04 
00 08   .......r........
[00-00-00-00-00-01 2] Error: 0010: 00 00 00 08 ff fc 00 00                      
      ........
ERROR:openflow.of_01:[00-00-00-00-00-02 3] OpenFlow Error:
[00-00-00-00-00-02 3] Error:   version: 1
[00-00-00-00-00-02 3] Error:   type:    1 (OFPT_ERROR)
[00-00-00-00-00-02 3] Error:   length:  36
[00-00-00-00-00-02 3] Error:   xid:     34907
[00-00-00-00-00-02 3] Error: type: OFPET_BAD_REQUEST (1)
[00-00-00-00-00-02 3] Error: code: OFPBRC_BUFFER_UNKNOWN (8)
[00-00-00-00-00-02 3] Error: datalen: 24
[00-00-00-00-00-02 3] Error: 0000: 01 0d 00 18 00 00 88 5b  00 00 06 ad 00 05 
00 08   .......[........
[00-00-00-00-00-02 3] Error: 0010: 00 00 00 08 ff fc 00 00                      
      ........
ERROR:openflow.of_01:[00-00-00-00-00-02 3] OpenFlow Error:
[00-00-00-00-00-02 3] Error: header: 
[00-00-00-00-00-02 3] Error:   version: 1
[00-00-00-00-00-02 3] Error:   type:    1 (OFPT_ERROR)
[00-00-00-00-00-02 3] Error:   length:  36
[00-00-00-00-00-02 3] Error:   xid:     34908
[00-00-00-00-00-02 3] Error: type: OFPET_BAD_REQUEST (1)
[00-00-00-00-00-02 3] Error: code: OFPBRC_BUFFER_UNKNOWN (8)
[00-00-00-00-00-02 3] Error: datalen: 24
[00-00-00-00-00-02 3] Error: 0000: 01 0d 00 18 00 00 88 5c  00 00 06 ae 00 05 
00 08   .......\........
[00-00-00-00-00-02 3] Error: 0010: 00 00 00 08 ff fc 00 00                      
      ........
ERROR:openflow.of_01:[00-00-00-00-00-02 3] OpenFlow Error:
[00-00-00-00-00-02 3] Error: header: 
[00-00-00-00-00-02 3] Error:   version: 1
[00-00-00-00-00-02 3] Error:   type:    1 (OFPT_ERROR)
[00-00-00-00-00-02 3] Error:   length:  36
[00-00-00-00-00-02 3] Error:   xid:     34909
[00-00-00-00-00-02 3] Error: type: OFPET_BAD_REQUEST (1)
[00-00-00-00-00-02 3] Error: code: OFPBRC_BUFFER_UNKNOWN (8)
[00-00-00-00-00-02 3] Error: datalen: 24
[00-00-00-00-00-02 3] Error: 0000: 01 0d 00 18 00 00 88 5d  00 00 06 af 00 05 
00 08   .......]........
[00-00-00-00-00-02 3] Error: 0010: 00 00 00 08 ff fc 00 00                      
      ........
ERROR:openflow.of_01:[00-00-00-00-00-02 3] OpenFlow Error:



Attachment: topoMesh7pro.py
Description: Binary data

Reply via email to