<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:35:35 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[OVSDB-131] Cannot use the connection manager north bound API to connect to OVSDB nodes on Mininet</title>
                <link>https://jira.opendaylight.org/browse/OVSDB-131</link>
                <project id="10158" key="OVSDB">ovsdb</project>
                    <description>&lt;p&gt;This issue is seen with Helium and Heium-SR1.&lt;br/&gt;
Enable the following features:&lt;br/&gt;
odl-openflowplugin-all&lt;br/&gt;
odl-ovsdb-all&lt;br/&gt;
odl-restconf&lt;/p&gt;

&lt;p&gt;Check that the odl-adsal-northbound feature is up and running and this feature contains the connection manager using feature:info odl-adsal-northbound&lt;/p&gt;

&lt;p&gt;Start a mininet session: &lt;br/&gt;
sudo mn --controller=remote,ip=127.0.0.1 --topo linear,2 --switch ovsk,protocols=OpenFlow13&lt;/p&gt;

&lt;p&gt;Run the command:sudo ovs-vsctl show to see that the Openflow module is connected to the controller but the ovsdb portion is not.&lt;/p&gt;

&lt;p&gt;1c66647f-f231-49b3-aa1a-7e35ffa2da49&lt;br/&gt;
    Bridge &quot;s1&quot;&lt;br/&gt;
        Controller &quot;ptcp:6634&quot;&lt;br/&gt;
        Controller &quot;tcp:127.0.0.1:6633&quot;&lt;br/&gt;
            is_connected: true&lt;br/&gt;
        fail_mode: secure&lt;br/&gt;
        Port &quot;s1-eth1&quot;&lt;br/&gt;
            Interface &quot;s1-eth1&quot;&lt;br/&gt;
        Port &quot;s1&quot;&lt;br/&gt;
            Interface &quot;s1&quot;&lt;br/&gt;
                type: internal&lt;br/&gt;
        Port &quot;s1-eth2&quot;&lt;br/&gt;
            Interface &quot;s1-eth2&quot;&lt;br/&gt;
    Bridge &quot;s2&quot;&lt;br/&gt;
        Controller &quot;tcp:127.0.0.1:6633&quot;&lt;br/&gt;
            is_connected: true&lt;br/&gt;
        Controller &quot;ptcp:6635&quot;&lt;br/&gt;
        fail_mode: secure&lt;br/&gt;
        Port &quot;s2-eth2&quot;&lt;br/&gt;
            Interface &quot;s2-eth2&quot;&lt;br/&gt;
        Port &quot;s2-eth1&quot;&lt;br/&gt;
            Interface &quot;s2-eth1&quot;&lt;br/&gt;
        Port &quot;s2&quot;&lt;br/&gt;
            Interface &quot;s2&quot;&lt;br/&gt;
                type: internal&lt;br/&gt;
    ovs_version: &quot;1.11.0&quot;&lt;/p&gt;

&lt;p&gt;Now if you try to do a PUT to the following URL: &lt;a href=&quot;http://localhost:8080/controller/nb/v2/connectionmanager/node/HOST1/address/127.0.0.1/port/6634/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/controller/nb/v2/connectionmanager/node/HOST1/address/127.0.0.1/port/6634/&lt;/a&gt; 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. &lt;br/&gt;
I am using &lt;br/&gt;
&lt;a href=&quot;https://wiki.opendaylight.org/view/OVSDB_Integration:Mininet_OVSDB_Tutorial&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/OVSDB_Integration:Mininet_OVSDB_Tutorial&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://wiki.opendaylight.org/view/OVSDB:Helium_and_Openstack_on_Fedora20&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/OVSDB:Helium_and_Openstack_on_Fedora20&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://www.youtube.com/watch?v=xgevyaQ12cg&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.youtube.com/watch?v=xgevyaQ12cg&lt;/a&gt;&lt;br/&gt;
as references.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21823">OVSDB-131</key>
            <summary>Cannot use the connection manager north bound API to connect to OVSDB nodes on Mininet</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="ramkumar.gowrishankar@gmail.com">Ramkumar Gowrishankar</reporter>
                        <labels>
                    </labels>
                <created>Mon, 1 Dec 2014 16:43:43 +0000</created>
                <updated>Thu, 19 Oct 2017 21:28:12 +0000</updated>
                            <resolved>Tue, 23 Dec 2014 18:30:48 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>Northbound</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="40753" author="ramkumar.gowrishankar@gmail.com" created="Mon, 1 Dec 2014 18:52:03 +0000"  >&lt;p&gt;Attachment karaf.log has been added with description: karaf.log from the test.&lt;/p&gt;</comment>
                            <comment id="40750" author="tony.tkacik@gmail.com" created="Mon, 15 Dec 2014 09:37:51 +0000"  >&lt;p&gt;Description seems to be related to OVSDB. Moving to OVSDB project, where maintainers are more familiar with use case and will be able to provide more details.&lt;/p&gt;</comment>
                            <comment id="40751" author="flavio@flaviof.com" created="Tue, 23 Dec 2014 17:24:45 +0000"  >&lt;p&gt;Ramkumar:&lt;/p&gt;

&lt;p&gt;If you are using odl and ovs in the same system, you need to take&lt;br/&gt;
extra care so the ovs instance and odl do not end up stepping on each other&apos;s&lt;br/&gt;
toes. In a nutshell, make sure you change the following port in the karaf&lt;br/&gt;
config to something other than 6640.&lt;/p&gt;

&lt;p&gt;etc/custom.properties:ovsdb.listenPort=6640&lt;/p&gt;

&lt;p&gt;Then, you should use the following url to connect to the ovsdb port of&lt;br/&gt;
ovs:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://localhost:8080/controller/nb/v2/connectionmanager/node/HOST1/address/127.0.0.1/port/6640/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/controller/nb/v2/connectionmanager/node/HOST1/address/127.0.0.1/port/6640/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="40752" author="flavio@flaviof.com" created="Tue, 23 Dec 2014 18:30:48 +0000"  >
&lt;p&gt;Just to be clear, this is the exact command I used and that worked fine.&lt;/p&gt;

&lt;p&gt;In this example, instead of changing the odl config (comment #3),&lt;br/&gt;
I changed OVS to listed for ovsdb on port 6666.&lt;/p&gt;

&lt;p&gt;export ODL_IP=127.0.0.1&lt;br/&gt;
export OVS_IP=127.0.0.1&lt;br/&gt;
export OVS_PORT=6666&lt;/p&gt;

&lt;p&gt;In the system where OVS is running:&lt;/p&gt;

&lt;p&gt;$ sudo ovs-vsctl set-manager ptcp:6666&lt;br/&gt;
$ sudo ovs-vsctl show&lt;/p&gt;

&lt;p&gt;In the system where ODL is running:&lt;/p&gt;

&lt;p&gt;$ wget --user=admin --password=admin -O - --method=PUT &lt;a href=&quot;http://$&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://$&lt;/a&gt;{ODL_IP}:8080/controller/nb/v2/connectionmanager/node/HOST1/address/${OVS_IP}/port/${OVS_PORT}/&lt;/p&gt;

&lt;p&gt;======&lt;/p&gt;

&lt;p&gt;$ sudo ovs-vsctl show&lt;br/&gt;
9d59bf51-e986-4cd6-be46-ebd5dc564437&lt;br/&gt;
    Manager &quot;ptcp:6666&quot;      &amp;lt;--- passive tcp connection&lt;br/&gt;
        is_connected: true   &amp;lt;--- connected&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12786" name="karaf.log" size="703891" author="ramkumar.gowrishankar@gmail.com" created="Mon, 1 Dec 2014 18:52:03 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2455</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=2455]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i020u7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>