SD-WAN

 View Only
last person joined: 3 days ago 

Forum to discuss HPE Aruba EdgeConnect SD-WAN and SD-Branch solutions. This includes SD-WAN Orchestration WAN edge network functions - routing, security, zone-based firewall, segmentation and WAN optimization, micro-branch solutions, best practics, and third-party integrations. All things SD-WAN!
Expand all | Collapse all

Mininet Open VSwitch 2.5

This thread has been viewed 0 times
  • 1.  Mininet Open VSwitch 2.5

    EMPLOYEE
    Posted Aug 28, 2016 05:32 PM

    Hi,

    I'm testing the HPE VAN SDN Controller together with mininet. After upgrading the internal Open VSwitch from Mininet to the latest version, the controller creates a lot of (<100) goto table entries in the flow table, which ends up in no traffic is going through the swtich, as the switch drops the packets after 65 goto table actions. Any thing I can do to avoid this? 

    Many thanks,
    Florian


    #OVS
    #Mininet
    #SDN
    #Controller
    #OpenVSwitch


  • 2.  RE: Mininet Open VSwitch 2.5

    EMPLOYEE
    Posted Aug 29, 2016 06:11 PM

    Hi Florian,

    When any switch connects to the controller, the controller will issue a multi-part request where it asks for the table_features of the switch. For each table that the switch reports, the controller will automatically insert a match=*,goto=NEXT flow at priority=0 to make sure that flows are seen by all tables. The last table is initialized with either output=CONTROLLER or output=NORMAL, depending upon the ControllerManager:hybrid.mode setting.

    I believe that mininet reports 256 tables, therefore the controller would push one goto instruction to each of the first 255 tables, then an output=NORMAL instruction to the last table (with the default VAN settings). If mininet is not accepting a goto instruction in each table, then that may be an issue we'd need to raise for the mininet/OVS software (we should be able to program each table).

    We have only verified compatibility with OVS 2.3.2, as noted in the VAN application support matrix:
       http://h20564.www2.hpe.com/hpsc/doc/public/display?docId=c05040231
    You may want to downgrade to that version, unless you need the features of 2.5. If you need features in 2.5, we can try to figure out what's being rejected by mininet. If you take a .pcap on the control-plane when the switch connects to the VAN controller, that would be easiest to diagnose (or you can use "OpenFlow Monitor" in the VAN GUI).

    Shaun



  • 3.  RE: Mininet Open VSwitch 2.5

    EMPLOYEE
    Posted Aug 30, 2016 02:39 AM

    Hi Shaun,

    thanks for your answer. I think, the problem with the goto statement is, that every time a packet is send to the next table, an internal value is lowered for this packet and at table 65 reaches 0, which means the packet is droped. I downgraded to 2.3.2 yesterday and I did not see those goto statements anymore. Looks like there is something different in new versions of the open Vswitch. I will now check if the this version supports all the needed features, but so far, it looks quite well. 

    Many thanks,
    Florian


    #OVS
    #SDN
    #OpenVSwitch


  • 4.  RE: Mininet Open VSwitch 2.5

    EMPLOYEE
    Posted Aug 30, 2016 02:53 AM

    Hi Shaun,

    downgrading solved the issue. Thanks for helping, really appreciated.

    Many thanks,
    Florian