<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:52:31 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>[YANGTOOLS-188] Mapping service - xml to java object - missing choice&apos;s case</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-188</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;If new case is added in augmentation into the choice, mapping service does not translate xml node representing the case into java object.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="22608">YANGTOOLS-188</key>
            <summary>Mapping service - xml to java object - missing choice&apos;s case</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="10000">Done</resolution>
                                        <assignee username="mvitez@cisco.com">Martin Vitez</assignee>
                                    <reporter username="milos.fabian@pantheon.tech">Milos Fabian</reporter>
                        <labels>
                    </labels>
                <created>Fri, 13 Jun 2014 12:20:49 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:08 +0000</updated>
                            <resolved>Wed, 18 Jun 2014 09:48:39 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="42798" author="milos.fabian@pantheon.tech" created="Fri, 13 Jun 2014 12:30:34 +0000"  >&lt;p&gt;    import network-topology-pcep &lt;/p&gt;
{ prefix topo; revision-date 2013-10-24; }
&lt;p&gt;    import network-topology &lt;/p&gt;
{ prefix nt; revision-date 2013-10-21; }
&lt;p&gt;    import odl-pcep-ietf-stateful07 &lt;/p&gt;
{ prefix stateful; revision-date 2013-12-22; }

&lt;p&gt;augment &quot;/nt:network-topology/nt:topology/nt:node/topo:path-computation-client/topo:reported-lsp/stateful:lsp/stateful:tlvs/stateful:vs-tlv/stateful:vendor-payload&quot; {&lt;br/&gt;
        case linux {&lt;br/&gt;
            container linux-sub-tlvs {&lt;br/&gt;
leaf linux-value&lt;/p&gt;
{
type uint8;
}
}
        }
&lt;p&gt;    }&lt;/p&gt;</comment>
                            <comment id="42799" author="milos.fabian@pantheon.tech" created="Fri, 13 Jun 2014 12:32:11 +0000"  >&lt;p&gt;    @Test&lt;br/&gt;
    public void testXmlDataToDataObject() &lt;/p&gt;
{
        final InstanceIdentifier&amp;lt;Topology&amp;gt; instanceIdentifier = InstanceIdentifier.builder(NetworkTopology.class)
                .child(Topology.class, new TopologyKey(new TopologyId(&quot;example-pcep-topology&quot;))).toInstance();
        final InputStream is = this.getClass().getClassLoader().getResourceAsStream(&quot;example-pcep-topology.xml&quot;);
        final DataSchemaNode dataSchema = RestconfUtils.toRestconfIdentifier(instanceIdentifier, this.mappingService,
                this.mappingService.getSchemaContext()).getValue();
        this.topology = (Topology) RestconfUtils.dataObjectFromInputStream(instanceIdentifier, is,
                this.mappingService.getSchemaContext(), this.mappingService, dataSchema);
        assertNotNull(topology);
        assertNotNull(topology.getNode());
        assertEquals(1, topology.getNode().size());
        Node node = topology.getNode().get(0);
        Node1 node1 = node.getAugmentation(Node1.class);
        assertNotNull(node1);
        final Lsp lsp = node1.getPathComputationClient().getReportedLsp().get(0).getAugmentation(ReportedLsp1.class).getLsp();
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.ietf.stateful.rev131222.lsp.object.lsp.Tlvs tlvs = lsp.getTlvs();
        assertNotNull(tlvs);
        assertNotNull(tlvs.getVsTlv().getVendorPayload());
    }</comment>
                            <comment id="42800" author="milos.fabian@pantheon.tech" created="Fri, 13 Jun 2014 12:34:55 +0000"  >&lt;p&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&amp;gt;&lt;br/&gt;
&amp;lt;topology xmlns=&quot;urn:TBD:params:xml:ns:yang:network-topology&quot;&amp;gt;&lt;br/&gt;
    &amp;lt;server-provided&amp;gt;true&amp;lt;/server-provided&amp;gt;&lt;br/&gt;
    &amp;lt;topology-id&amp;gt;example-pcep-topology&amp;lt;/topology-id&amp;gt;&lt;br/&gt;
    &amp;lt;topology-types/&amp;gt;&lt;br/&gt;
	&amp;lt;node&amp;gt;&lt;br/&gt;
	 &amp;lt;path-computation-client xmlns=&quot;urn:opendaylight:params:xml:ns:yang:topology:pcep&quot;&amp;gt;&lt;br/&gt;
	  &amp;lt;state-sync&amp;gt;synchronized&amp;lt;/state-sync&amp;gt;&lt;br/&gt;
	   &amp;lt;stateful-tlv&amp;gt;&lt;br/&gt;
	    &amp;lt;stateful&amp;gt;&lt;br/&gt;
	     &amp;lt;lsp-update-capability&amp;gt;true&amp;lt;/lsp-update-capability&amp;gt;&lt;br/&gt;
	     &amp;lt;include-db-version&amp;gt;false&amp;lt;/include-db-version&amp;gt;&lt;br/&gt;
	     &amp;lt;initiation&amp;gt;true&amp;lt;/initiation&amp;gt;&lt;br/&gt;
	    &amp;lt;/stateful&amp;gt;&lt;br/&gt;
	   &amp;lt;/stateful-tlv&amp;gt;&lt;br/&gt;
	   &amp;lt;reported-lsp&amp;gt;&lt;br/&gt;
	    &amp;lt;name&amp;gt;update-tunel&amp;lt;/name&amp;gt;&lt;br/&gt;
	    &amp;lt;path&amp;gt;&lt;br/&gt;
	      &amp;lt;bandwidth&amp;gt;&lt;br/&gt;
	       &amp;lt;bandwidth&amp;gt;AAAAAA==&amp;lt;/bandwidth&amp;gt;&lt;br/&gt;
	       &amp;lt;ignore&amp;gt;false&amp;lt;/ignore&amp;gt;&lt;br/&gt;
	       &amp;lt;processing-rule&amp;gt;false&amp;lt;/processing-rule&amp;gt;&lt;br/&gt;
	      &amp;lt;/bandwidth&amp;gt;&lt;br/&gt;
	      &amp;lt;ero&amp;gt;&lt;br/&gt;
	        &amp;lt;ignore&amp;gt;false&amp;lt;/ignore&amp;gt;&lt;br/&gt;
	        &amp;lt;processing-rule&amp;gt;false&amp;lt;/processing-rule&amp;gt;&lt;br/&gt;
	        &amp;lt;subobject&amp;gt;&lt;br/&gt;
	         &amp;lt;loose&amp;gt;false&amp;lt;/loose&amp;gt;&lt;br/&gt;
	         &amp;lt;ip-prefix&amp;gt;&lt;br/&gt;
	          &amp;lt;ip-prefix&amp;gt;195.20.160.40/32&amp;lt;/ip-prefix&amp;gt;&lt;br/&gt;
	         &amp;lt;/ip-prefix&amp;gt;&lt;br/&gt;
	      &amp;lt;/subobject&amp;gt;&lt;br/&gt;
	      &amp;lt;subobject&amp;gt;&lt;br/&gt;
	       &amp;lt;loose&amp;gt;false&amp;lt;/loose&amp;gt;&lt;br/&gt;
	       &amp;lt;ip-prefix&amp;gt;&lt;br/&gt;
	        &amp;lt;ip-prefix&amp;gt;201.20.160.43/32&amp;lt;/ip-prefix&amp;gt;&lt;br/&gt;
	       &amp;lt;/ip-prefix&amp;gt;&lt;br/&gt;
	      &amp;lt;/subobject&amp;gt;&lt;br/&gt;
	     &amp;lt;/ero&amp;gt;&lt;br/&gt;
	     &amp;lt;lspa&amp;gt;&lt;br/&gt;
	      &amp;lt;exclude-any&amp;gt;0&amp;lt;/exclude-any&amp;gt;&lt;br/&gt;
	      &amp;lt;hold-priority&amp;gt;7&amp;lt;/hold-priority&amp;gt;&lt;br/&gt;
	      &amp;lt;ignore&amp;gt;false&amp;lt;/ignore&amp;gt;&lt;br/&gt;
	      &amp;lt;include-all&amp;gt;0&amp;lt;/include-all&amp;gt;&lt;br/&gt;
	      &amp;lt;include-any&amp;gt;0&amp;lt;/include-any&amp;gt;&lt;br/&gt;
	      &amp;lt;local-protection-desired&amp;gt;false&amp;lt;/local-protection-desired&amp;gt;&lt;br/&gt;
	      &amp;lt;processing-rule&amp;gt;false&amp;lt;/processing-rule&amp;gt;&lt;br/&gt;
	      &amp;lt;setup-priority&amp;gt;7&amp;lt;/setup-priority&amp;gt;&lt;br/&gt;
	     &amp;lt;/lspa&amp;gt;&lt;br/&gt;
	    &amp;lt;/path&amp;gt;&lt;br/&gt;
	    &amp;lt;lsp xmlns=&quot;urn:opendaylight:params:xml:ns:yang:pcep:ietf:stateful&quot;&amp;gt;&lt;br/&gt;
	     &amp;lt;tlvs&amp;gt;&lt;br/&gt;
	      &amp;lt;symbolic-path-name&amp;gt;&lt;br/&gt;
	       &amp;lt;path-name&amp;gt;dXBkYXRlLXR1bmVs&amp;lt;/path-name&amp;gt;&lt;br/&gt;
	      &amp;lt;/symbolic-path-name&amp;gt;&lt;br/&gt;
            &amp;lt;vs-tlv&amp;gt;&lt;br/&gt;
                 &amp;lt;enterprise-number&amp;gt;9&amp;lt;/enterprise-number&amp;gt;&lt;br/&gt;
                 &amp;lt;linux-sub-tlvs&amp;gt;&lt;br/&gt;
                    &amp;lt;linux-value&amp;gt;5&amp;lt;/linux-value&amp;gt;&lt;br/&gt;
                 &amp;lt;/linux-sub-tlvs&amp;gt;&lt;br/&gt;
            &amp;lt;/vs-tlv&amp;gt;&lt;br/&gt;
	     &amp;lt;/tlvs&amp;gt;&lt;br/&gt;
	     &amp;lt;delegate&amp;gt;true&amp;lt;/delegate&amp;gt;&lt;br/&gt;
	     &amp;lt;processing-rule&amp;gt;false&amp;lt;/processing-rule&amp;gt;&lt;br/&gt;
	     &amp;lt;ignore&amp;gt;false&amp;lt;/ignore&amp;gt;&lt;br/&gt;
	     &amp;lt;operational&amp;gt;true&amp;lt;/operational&amp;gt;&lt;br/&gt;
	     &amp;lt;sync&amp;gt;false&amp;lt;/sync&amp;gt;&lt;br/&gt;
	     &amp;lt;plsp-id&amp;gt;40&amp;lt;/plsp-id&amp;gt;&lt;br/&gt;
	     &amp;lt;remove&amp;gt;false&amp;lt;/remove&amp;gt;&lt;br/&gt;
	    &amp;lt;/lsp&amp;gt;&lt;br/&gt;
	  &amp;lt;/reported-lsp&amp;gt;&lt;br/&gt;
	  &amp;lt;ip-address&amp;gt;39.39.39.39&amp;lt;/ip-address&amp;gt;&lt;br/&gt;
	 &amp;lt;/path-computation-client&amp;gt;&lt;br/&gt;
	 &amp;lt;node-id&amp;gt;pcc://39.39.39.39&amp;lt;/node-id&amp;gt;&lt;br/&gt;
	&amp;lt;/node&amp;gt;&lt;br/&gt;
&amp;lt;/topology&amp;gt;&lt;/p&gt;</comment>
                            <comment id="42801" author="tony.tkacik@gmail.com" created="Tue, 17 Jun 2014 18:53:47 +0000"  >&lt;p&gt;Fixed in&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/8071/2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/8071/2&lt;/a&gt;&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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1196</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=1196]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10312"><![CDATA[High]]></customfieldvalue>

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

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