<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:36:27 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-458] OVSDB should open 6640 only when system is &quot;READY&quot;</title>
                <link>https://jira.opendaylight.org/browse/OVSDB-458</link>
                <project id="10158" key="OVSDB">ovsdb</project>
                    <description>&lt;p&gt;infrautils.ready provides a mechanism to know when all bundles of a feature are Active, and it would be great if ovsdb can listen for this before opening up 6640 port.&lt;/p&gt;

&lt;p&gt;Also, if ovsdb can integrate to infrautils.diagstatus to report its status, it will give better flexibility for northbound users to detect when exactly they should start their configuration.&lt;/p&gt;

&lt;p&gt;See similar openflowplugin implementation here:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/65881/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/65881/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/65994/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/65994/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/64197/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/64197/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="30076">OVSDB-458</key>
            <summary>OVSDB should open 6640 only when system is &quot;READY&quot;</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <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="10000">Done</resolution>
                                        <assignee username="thapar">Vishal Thapar</assignee>
                                    <reporter username="k.faseela">Faseela K</reporter>
                        <labels>
                    </labels>
                <created>Sun, 3 Jun 2018 00:32:22 +0000</created>
                <updated>Wed, 1 May 2019 23:59:35 +0000</updated>
                            <resolved>Wed, 1 May 2019 23:59:35 +0000</resolved>
                                                    <fixVersion>Nitrogen-SR4</fixVersion>
                    <fixVersion>Fluorine-SR1</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="63344" author="vorburger" created="Thu, 7 Jun 2018 15:29:55 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/opendaylight/ovsdb/blob/044229fd9f67f6c88b7e6fa43b41db68631a8935/southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/SouthboundProvider.java#L171&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/ovsdb/blob/044229fd9f67f6c88b7e6fa43b41db68631a8935/southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/SouthboundProvider.java#L171&lt;/a&gt; is where it opens that port (6640), according to &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=thapar&quot; class=&quot;user-hover&quot; rel=&quot;thapar&quot;&gt;thapar&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="63348" author="vorburger" created="Thu, 7 Jun 2018 16:15:06 +0000"  >&lt;p&gt;How about &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/72767/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/72767/&lt;/a&gt; ?&lt;/p&gt;</comment>
                            <comment id="63359" author="thapar" created="Fri, 8 Jun 2018 05:02:36 +0000"  >&lt;p&gt;karaf@root()&amp;gt; showsvcstatus &lt;br/&gt;
Timestamp: Fri Jun 08 10:18:49 IST 2018&lt;br/&gt;
Node IP Address: 127.0.0.1&lt;br/&gt;
System is operational: true&lt;br/&gt;
System ready state: ACTIVE&lt;br/&gt;
  OPENFLOW            : OPERATIONAL       &lt;br/&gt;
  IFM                 : OPERATIONAL       &lt;br/&gt;
  ITM                 : OPERATIONAL       &lt;br/&gt;
  ELAN                : OPERATIONAL       &lt;br/&gt;
  OVSDB               : OPERATIONAL       &lt;br/&gt;
  DATASTORE           : OPERATIONAL  &lt;/p&gt;

&lt;p&gt;Now the crucial bit is bringing it all together and avoiding chicken and egg situation. Currently with these two patches this is way things currently are:&lt;/p&gt;

&lt;p&gt;1. Wait for systemReady to open listening sockets.&lt;br/&gt;
2. Mark status operational once sockets are created.&lt;/p&gt;

&lt;p&gt;Now comes tricky part if we want to wait for other services before opening ports. Tricky part here is, what if OFP or other services too wait for OVSDB to be operational to delay some of their working? Note that we&apos;re not truly up till our ports are open.&lt;/p&gt;

&lt;p&gt;What Tim is looking for is all services up and operational and I think best solution will always be external deployments checking for it and then allowing connections. Anything done fully by ODL will always end up in this chicken and egg, unless we can think of newer states in diagstatus. Maybe something like STARTED that comes between STARTING and OPERATIONAL.&lt;/p&gt;

&lt;p&gt;Other option is to make sure all services, other than the plugins, do everything as part of their bring up and in bundle bringups so there is nothing pending to do after that. In other words, the &apos;gatekeeper&apos; services that block external communication can take longer than system ready, but rest should be ready by the time system says system ready.&lt;/p&gt;</comment>
                            <comment id="63362" author="vorburger" created="Fri, 8 Jun 2018 09:42:31 +0000"  >&lt;p&gt;&amp;gt;&#160;if we want to wait for other services before opening ports&lt;/p&gt;

&lt;p&gt;just use&#160;&lt;a href=&quot;https://javadocs.opendaylight.org/org.opendaylight.infrautils/fluorine/org/opendaylight/infrautils/ready/order/package-summary.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;org.opendaylight.infrautils.ready.order&lt;/a&gt; for that!&lt;/p&gt;</comment>
                            <comment id="64757" author="vorburger" created="Fri, 24 Aug 2018 10:36:02 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=thapar&quot; class=&quot;user-hover&quot; rel=&quot;thapar&quot;&gt;thapar&lt;/a&gt; is this fully done, or is there anything left here? Perhaps you would like to set Fix Version correctly?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="30107">INFRAUTILS-43</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="30110">INFRAUTILS-44</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03f8f:</customfieldvalue>

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