Uploaded image for project: 'ovsdb'
  1. ovsdb
  2. OVSDB-131

Cannot use the connection manager north bound API to connect to OVSDB nodes on Mininet

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • unspecified
    • None
    • Northbound
    • None
    • Operating System: All
      Platform: All

    • 2455

    Description

      This issue is seen with Helium and Heium-SR1.
      Enable the following features:
      odl-openflowplugin-all
      odl-ovsdb-all
      odl-restconf

      Check that the odl-adsal-northbound feature is up and running and this feature contains the connection manager using feature:info odl-adsal-northbound

      Start a mininet session:
      sudo mn --controller=remote,ip=127.0.0.1 --topo linear,2 --switch ovsk,protocols=OpenFlow13

      Run the command:sudo ovs-vsctl show to see that the Openflow module is connected to the controller but the ovsdb portion is not.

      1c66647f-f231-49b3-aa1a-7e35ffa2da49
      Bridge "s1"
      Controller "ptcp:6634"
      Controller "tcp:127.0.0.1:6633"
      is_connected: true
      fail_mode: secure
      Port "s1-eth1"
      Interface "s1-eth1"
      Port "s1"
      Interface "s1"
      type: internal
      Port "s1-eth2"
      Interface "s1-eth2"
      Bridge "s2"
      Controller "tcp:127.0.0.1:6633"
      is_connected: true
      Controller "ptcp:6635"
      fail_mode: secure
      Port "s2-eth2"
      Interface "s2-eth2"
      Port "s2-eth1"
      Interface "s2-eth1"
      Port "s2"
      Interface "s2"
      type: internal
      ovs_version: "1.11.0"

      Now if you try to do a PUT to the following URL: http://localhost:8080/controller/nb/v2/connectionmanager/node/HOST1/address/127.0.0.1/port/6634/ it is supposed to connect to the OVSDB schema on the switch. It does not give a response and does not time out and there is nothing in the logs to indicate that the message is being processed.
      I am using
      https://wiki.opendaylight.org/view/OVSDB_Integration:Mininet_OVSDB_Tutorial
      https://wiki.opendaylight.org/view/OVSDB:Helium_and_Openstack_on_Fedora20
      https://www.youtube.com/watch?v=xgevyaQ12cg
      as references.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            ramkumar.gowrishankar@gmail.com Ramkumar Gowrishankar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: