<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:13:12 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>[BGPCEP-482] POSTing an openconfig neghbor fails</title>
                <link>https://jira.opendaylight.org/browse/BGPCEP-482</link>
                <project id="10108" key="BGPCEP">bgpcep</project>
                    <description>&lt;p&gt;I was following the user guide, &lt;a href=&quot;https://wiki.opendaylight.org/view/BGP_LS_PCEP:Beryllium_User_Guide#BGP_Peer_3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/BGP_LS_PCEP:Beryllium_User_Guide#BGP_Peer_3&lt;/a&gt;, to add a peer neighbor but it failed with:&lt;/p&gt;

&lt;p&gt;java.lang.IllegalArgumentException: Node (&lt;a href=&quot;http://openconfig.net/yang/bgp?revision=2015-10-09)bgp&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://openconfig.net/yang/bgp?revision=2015-10-09)bgp&lt;/a&gt; is missing mandatory descendant /(&lt;a href=&quot;http://openconfig.net/yang/bgp?revision=2015-10-09)global/config/as&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://openconfig.net/yang/bgp?revision=2015-10-09)global/config/as&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The global container is a sibling of neighbors but it has a mandatory child descendant. The only way I could get it to work as is was to PUT the entire bgp tree in order to include global and the mandatory leaf:&lt;/p&gt;

&lt;p&gt;&amp;lt;bgp xmlns=&quot;http://openconfig.net/yang/bgp&quot;&amp;gt;&lt;br/&gt;
  &amp;lt;global&amp;gt;&lt;br/&gt;
    &amp;lt;config&amp;gt; &lt;br/&gt;
      &amp;lt;as&amp;gt;64496&amp;lt;/as&amp;gt;&lt;br/&gt;
    &amp;lt;/config&amp;gt;&lt;br/&gt;
  &amp;lt;/global&amp;gt;&lt;br/&gt;
  ...&lt;br/&gt;
  &amp;lt;neighbors&amp;gt;&lt;br/&gt;
    &amp;lt;neighbor&amp;gt;&lt;br/&gt;
    &amp;lt;neighbor-address&amp;gt;192.0.2.1&amp;lt;/neighbor-address&amp;gt;&lt;br/&gt;
      ...&lt;br/&gt;
    &amp;lt;/neighbor&amp;gt;&lt;br/&gt;
   &amp;lt;/neighbors&amp;gt;&lt;br/&gt;
&amp;lt;/bgp&amp;gt;&lt;/p&gt;

&lt;p&gt;This is not very usable. After adding &quot;presence&quot; to the global container, it works as expected as per the guide.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="23722">BGPCEP-482</key>
            <summary>POSTing an openconfig neghbor fails</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="cdgasparini">Claudio David Gasparini</assignee>
                                    <reporter username="tpantelis">Tom Pantelis</reporter>
                        <labels>
                    </labels>
                <created>Wed, 15 Jun 2016 14:42:46 +0000</created>
                <updated>Sun, 3 Mar 2019 11:49:47 +0000</updated>
                            <resolved>Mon, 1 Aug 2016 12:39:10 +0000</resolved>
                                    <version>Bugzilla Migration</version>
                                    <fixVersion>Bugzilla Migration</fixVersion>
                                    <component>BGP</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="45687" author="milos.fabian@pantheon.tech" created="Thu, 16 Jun 2016 06:29:20 +0000"  >&lt;p&gt;Tom,&lt;br/&gt;
you tried to configure neighbor while global container was not present in DS?&lt;br/&gt;
Did you install bgp feature? - There is an default sample initial configuration, so global configuration would appear instantly. &lt;/p&gt;

&lt;p&gt;Anyway, this behavior is pretty much expected - the BGP/Global needs to be configured first and then neighbors.&lt;/p&gt;</comment>
                            <comment id="45688" author="tpantelis" created="Thu, 16 Jun 2016 12:54:19 +0000"  >&lt;p&gt;The global container defined in 41-bgp-example.xml was present via restconf. This issue is related to the mandatory leaf checking that was added in yangtools in Be. Without the global container specified as &quot;presence&quot;, yangtools expects you to specify all mandatory leaf descendants even if they&apos;re already present in the tree.&lt;/p&gt;</comment>
                            <comment id="45689" author="milos.fabian@pantheon.tech" created="Fri, 17 Jun 2016 09:55:25 +0000"  >&lt;p&gt;Works for me (Beryllium-SR2):&lt;br/&gt;
1. install features - odl-bgpcep-bgp odl-netconf-connector-ssh odl-restconf-all&lt;br/&gt;
2. Check global configuration is present - &lt;a href=&quot;http://localhost:8181/restconf/config/openconfig-bgp:bgp/global&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/openconfig-bgp:bgp/global&lt;/a&gt;&lt;br/&gt;
3. configure a new neighbor following &lt;a href=&quot;https://wiki.opendaylight.org/view/BGP_LS_PCEP:Beryllium_User_Guide#BGP_Peer_3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/BGP_LS_PCEP:Beryllium_User_Guide#BGP_Peer_3&lt;/a&gt; &lt;br/&gt;
4. check Neighbor is present in BGP OpenConfig, new Peer is configured (config-subsystem module)&lt;/p&gt;</comment>
                            <comment id="45690" author="tpantelis" created="Fri, 17 Jun 2016 16:06:25 +0000"  >&lt;p&gt;Interesting. I tried it on master - can you verify on master? Also I realized afterward I didn&apos;t have the odl-netconf-connector-ssh installed but I don&apos;t think that&apos;s related b/c I saw the global model when I did a GET.&lt;/p&gt;</comment>
                            <comment id="45691" author="milos.fabian@pantheon.tech" created="Mon, 20 Jun 2016 07:26:58 +0000"  >&lt;p&gt;Confirming - failure happens when using Boron (master branch).&lt;/p&gt;</comment>
                            <comment id="45692" author="cdgasparini" created="Fri, 22 Jul 2016 10:39:34 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/42299/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/42299/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="21236">NETCONF-223</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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6069</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=6069]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10332"><![CDATA[Boron-RC0]]></customfieldvalue>

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

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