<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:28:19 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>[ODLTOOLS-19] odltools &apos;netvirt&apos; command options are getting failed due to exception.</title>
                <link>https://jira.opendaylight.org/browse/ODLTOOLS-19</link>
                <project id="10301" key="ODLTOOLS">odltools</project>
                    <description>&lt;p&gt;With the latest odltools, the following exception is seen while executing the command &#8216;python -m odltools netvirt show neutron all&#8217;&lt;/p&gt;

&lt;p&gt;The RestClient is not getting initialized from method &#8216;get_models(self, args, models)&#8217; in mdsal/models/models.py&lt;/p&gt;

&lt;p&gt;All netvirt command options are getting failed for the same reason.&#160;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;stack@osc-pike-ubuntu16:~/odltools$ python -m odltools netvirt show neutron all&lt;br/&gt;
Traceback (most recent call last):&lt;br/&gt;
 File &quot;/usr/lib/python2.7/runpy.py&quot;, line 174, in _run_module_as_main&lt;br/&gt;
&#160;&quot;_&lt;em&gt;main&lt;/em&gt;_&quot;, fname, loader, pkg_name)&lt;br/&gt;
 File &quot;/usr/lib/python2.7/runpy.py&quot;, line 72, in _run_code&lt;br/&gt;
&#160;exec code in run_globals&lt;br/&gt;
 File &quot;/home/stack/odltools/odltools/_&lt;em&gt;main&lt;/em&gt;_.py&quot;, line 17, in &amp;lt;module&amp;gt;&lt;br/&gt;
&#160;main()&lt;br/&gt;
 File &quot;/home/stack/odltools/odltools/_&lt;em&gt;main&lt;/em&gt;_.py&quot;, line 13, in main&lt;br/&gt;
&#160;cli.main()&lt;br/&gt;
 File &quot;odltools/cli.py&quot;, line 46, in main&lt;br/&gt;
&#160;args.func(args)&lt;br/&gt;
 File &quot;odltools/netvirt/show.py&quot;, line 187, in show_neutron&lt;br/&gt;
&#160;config.get_models(args, {&quot;neutron_neutron&quot;})&lt;br/&gt;
 File &quot;odltools/netvirt/config.py&quot;, line 26, in get_models&lt;br/&gt;
&#160;gmodels.get_models(args, models)&lt;br/&gt;
 File &quot;odltools/mdsal/models/models.py&quot;, line 119, in get_models&lt;br/&gt;
&#160;self.neutron_neutron = neutron.neutron(Model.CONFIG, args)&lt;br/&gt;
 File &quot;odltools/mdsal/models/neutron.py&quot;, line 13, in neutron&lt;br/&gt;
&#160;return Neutron(MODULE, store, args)&lt;br/&gt;
 File &quot;odltools/mdsal/models/model.py&quot;, line 38, in _&lt;em&gt;init&lt;/em&gt;_&lt;br/&gt;
&#160;self.data = get_model_data(self.data, self.filename, self.url, args)&lt;br/&gt;
 File &quot;odltools/mdsal/models/model.py&quot;, line 158, in get_model_data&lt;br/&gt;
&#160;data = get_from_odl(url)&lt;br/&gt;
 File &quot;odltools/mdsal/models/model.py&quot;, line 147, in get_from_odl&lt;br/&gt;
&#160;return odl_client.get_json(url)&lt;br/&gt;
&#160;AttributeError: &apos;NoneType&apos; object has no attribute &apos;get_json&apos;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="30820">ODLTOOLS-19</key>
            <summary>odltools &apos;netvirt&apos; command options are getting failed due to exception.</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="10002" iconUrl="https://jira.opendaylight.org/" description="">Done</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="thapar">Vishal Thapar</assignee>
                                    <reporter username="balasaritha">BALASARITHA R</reporter>
                        <labels>
                    </labels>
                <created>Wed, 3 Oct 2018 13:34:58 +0000</created>
                <updated>Tue, 13 Nov 2018 05:42:00 +0000</updated>
                            <resolved>Tue, 13 Nov 2018 05:42:00 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="65257" author="thapar" created="Mon, 8 Oct 2018 08:16:49 +0000"  >&lt;p&gt;As part of &lt;a href=&quot;https://git.opendaylight.org/gerrit/76233&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/76233&lt;/a&gt; the rest methods were refactored. This led to a missing call to init_rest_client for all cases other than &apos;odltools model get&apos; because call path to get models was changed for the model get and other use cases which only pull specific models on need basis.&lt;/p&gt;</comment>
                    </comments>
                    <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|i03j7r:</customfieldvalue>

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