SD-WAN

 View Only
  • 1.  HP VAN SDN with mininet using OF 1.3

    Posted Apr 17, 2014 06:50 AM

    Install and setup and run mininet with OF 1.3 switches on Ubuntu.

     

    Use mininet 2.1.0 or newer, so Ubuntu 13.10, 14.04 or newer, see:

    http://mininet.org/download/
    Mininet 2.1.0 on Ubuntu 13.10: sudo apt-get install mininet
    Mininet 2.0.0 on Ubuntu 13.04: sudo apt-get install mininet
    Mininet 2.0.0 on Ubuntu 12.10: sudo apt-get install mininet/quantal-backports
    Mininet 2.0.0 on Ubuntu 12.04: sudo apt-get install mininet/precise-backports

     

     

    Using Ubuntu 14.04 Beta>

    $ lsb_release -a
    No LSB modules are available.
    Distributor ID:    Ubuntu
    Description:    Ubuntu 14.04 LTS
    Release:    14.04
    Codename:    trusty

    $ sudo apt-get install mininet
    $ mn --version
    2.1.0

     

    The following links show starting mininet using the --switch ovsk,protocols=OpenFlow13 parameters:

    https://wiki.opendaylight.org/view/Openflow_Protocol_Library:OpenVirtualSwitch
    http://blog.disects.com/2014/01/ovs-ofctl-commands-on-openflow-13.html

     

    $ sudo mn --controller=remote,ip=XXXXXXXX --topo linear,2 --switch ovsk,protocols=OpenFlow13

    However, the HP VAN controller shows the mininet switches as OF 1.0.0.

     

    Open a second terminal on mininet server and run ovs-vsctl commands for each switch, e.g.

    $ sudo ovs-vsctl set bridge s1 protocols=OpenFlow10,OpenFlow13

    $ sudo ovs-vsctl set bridge s2 protocols=OpenFlow10,OpenFlow13

     

    I found this at the end of mininet + ryu git setup instructions at:

    http://networkerjr.wordpress.com/2013/11/14/learning-switch-tutorial-on-ryu-ovs-2-0-of-1-3/

     

    Do not need the to build mininet and ryu from git, just need the ovs-vsctl commands at the end of the instructions.

     

    Took me a while to find this, hope this helps someone.

     

    Dave.

     



  • 2.  RE: HP VAN SDN with mininet using OF 1.3

    Posted Apr 24, 2014 02:11 PM

    Dave,

     

    I recently started working with SDN Controller. I was able to get SDN controller 2.2 installed on an Ubuntu 13.10 machine with mininet 2.1.

     

    When I try to access SDN controller it gives me login prompt post which there is just a blank page. The URL of the blank page says http://<>:8443/sdu/ui/app/login

     

    Would you be able to help me with some ideas on what might be wrong?

     

    Appreciate your help.



  • 3.  RE: HP VAN SDN with mininet using OF 1.3

    Posted Apr 25, 2014 03:13 PM

    Did you initially try this URL: ?

     

    https://<ip>:8443/sdn/ui/app/index

     

    That will get you to login for the SDN Controller

     

    Also:

     

    https://<ip>:8443/api

    Will get you to the RSDOC interface (no initial login required)

     

     

     



  • 4.  RE: HP VAN SDN with mininet using OF 1.3

    Posted Apr 30, 2014 11:20 AM

    Scott,

     

    Thank you for pointers. Yes the API link was working but none other. I always was rendered with a blank page.. no error anywhere..

     

    I got my 12.04 system working now. It is for now working as charm with mininet. Now trying to look at development.

     

    Thanks again

     

    Pradeep

     

     



  • 5.  RE: HP VAN SDN with mininet using OF 1.3

    Posted May 08, 2014 04:04 PM

    Hello,

    Scott provided a nice write up on this topic that I posed to the Community Knowledge Base:

     

    Supported versions of MiniNet for OpenFlow 1.0 and 1.3

    http://h30499.www3.hp.com/t5/SDN-Knowledge-Base/Supported-versions-of-MiniNet-for-OpenFlow-1-0-and-1-3/ta-p/6469944

     

    Regards,

    HP SDN Team



  • 6.  RE: HP VAN SDN with mininet using OF 1.3

    Posted Apr 24, 2014 04:46 PM

    This is excellent.  I was wondering why I was seeing OF 1.0 in the controller when using the latest mininet.

     

    It was not letting program flows because the flows I was attempting were only supported by OF 1.3.

     

    This definitely should be a KB document.

     

    Scott

     



  • 7.  RE: HP VAN SDN with mininet using OF 1.3

    Posted Apr 24, 2014 06:02 PM

    Hello,

     

    When I run the following command, I get error.

     

    $ ovs-vsctl set bridge s1 protocols=OpenFlow10,OpenFlow13
    ovs-vsctl: Bridge does not contain a column whose name matches "protocols"

     

     

    I assume without enabling OF1.3 for the switches, although I create mininet by giving OF1.3 as parameter, it won't work.

    I am using Mininet 2.1 with ovs-vswitchd (Open vSwitch) 1.4.6 on Ubuntu 12.04.4.

     

    Any help is appreciated.

     

    Sedef



  • 8.  RE: HP VAN SDN with mininet using OF 1.3

    Posted Jul 21, 2014 11:28 PM
    ovs 1.4.6 does not support Of1.3.