<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:12: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>[BGPCEP-263] BGP FlowSpec not advertising route</title>
                <link>https://jira.opendaylight.org/browse/BGPCEP-263</link>
                <project id="10108" key="BGPCEP">bgpcep</project>
                    <description>&lt;p&gt;I&apos;ve enabled BGP FlowSpec to an IOS XR peer but I&apos;m not seeing any FlowSpec routes being advertised.&lt;/p&gt;

&lt;p&gt;I&apos;ve used the APP RIB to add a flow-spec route:&lt;/p&gt;

&lt;p&gt;&amp;lt;flowspec-route xmlns=&quot;urn:opendaylight:params:xml:ns:yang:bgp-flowspec&quot;&amp;gt;&lt;br/&gt;
    &amp;lt;route-key&amp;gt;foo&amp;lt;/route-key&amp;gt;&lt;br/&gt;
    &amp;lt;flowspec&amp;gt;&lt;br/&gt;
        &amp;lt;component-type&amp;gt;destination-port&amp;lt;/component-type&amp;gt;&lt;br/&gt;
        &amp;lt;destination-ports&amp;gt;&lt;br/&gt;
           &amp;lt;op&amp;gt;equals&amp;lt;/op&amp;gt;&lt;br/&gt;
           &amp;lt;value&amp;gt;8080&amp;lt;/value&amp;gt;&lt;br/&gt;
       &amp;lt;/destination-ports&amp;gt;&lt;br/&gt;
   &amp;lt;/flowspec&amp;gt;&lt;br/&gt;
   &amp;lt;attributes&amp;gt;&lt;br/&gt;
    &amp;lt;origin&amp;gt;&lt;br/&gt;
     &amp;lt;value&amp;gt;igp&amp;lt;/value&amp;gt;&lt;br/&gt;
    &amp;lt;/origin&amp;gt;&lt;br/&gt;
    &amp;lt;as-path/&amp;gt;&lt;br/&gt;
    &amp;lt;local-pref&amp;gt;&lt;br/&gt;
        &amp;lt;pref&amp;gt;100&amp;lt;/pref&amp;gt;&lt;br/&gt;
    &amp;lt;/local-pref&amp;gt;&lt;br/&gt;
    &amp;lt;extended-communities&amp;gt;&lt;br/&gt;
        &amp;lt;comm-type&amp;gt;128&amp;lt;/comm-type&amp;gt;&lt;br/&gt;
        &amp;lt;comm-sub-type&amp;gt;7&amp;lt;/comm-sub-type&amp;gt;&lt;br/&gt;
    &amp;lt;/extended-communities&amp;gt;&lt;br/&gt;
   &amp;lt;/attributes&amp;gt;&lt;br/&gt;
 &amp;lt;/flowspec-route&amp;gt;&lt;/p&gt;

&lt;p&gt;The route appears in the LocRib and in the peer&apos;s AdjRibOut but is never advertised to the peer.&lt;/p&gt;

&lt;p&gt;Of course the route may be incorrect &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;The peer runs eBGP and is in AS65504.  ODL is in 64496.&lt;/p&gt;

&lt;p&gt;Giles&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="23503">BGPCEP-263</key>
            <summary>BGP FlowSpec not advertising route</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="ihalanov@cisco.com">Iveta Halanova</assignee>
                                    <reporter username="giheron@cisco.com">Giles Heron</reporter>
                        <labels>
                    </labels>
                <created>Wed, 29 Jul 2015 21:58:28 +0000</created>
                <updated>Sun, 3 Mar 2019 11:50:29 +0000</updated>
                            <resolved>Tue, 29 Sep 2015 05:25:57 +0000</resolved>
                                    <version>Bugzilla Migration</version>
                                    <fixVersion>Bugzilla Migration</fixVersion>
                                    <component>BGP</component>
                        <due>Mon, 28 Sep 2015 00:00:00 +0000</due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="45097" author="giheron@cisco.com" created="Wed, 29 Jul 2015 21:58:28 +0000"  >&lt;p&gt;Attachment karaf.zip has been added with description: zipped logs&lt;/p&gt;</comment>
                            <comment id="45089" author="dkutenicsova" created="Fri, 31 Jul 2015 08:07:04 +0000"  >&lt;p&gt;java.lang.IllegalStateException: Optional.get() cannot be called on an absent value&lt;br/&gt;
        at com.google.common.base.Absent.get(Absent.java:47)&lt;span class=&quot;error&quot;&gt;&amp;#91;39:com.google.guava:18.0.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.protocol.bgp.flowspec.FSNlriParser.extractFlowspec(FSNlriParser.java:661)&lt;span class=&quot;error&quot;&gt;&amp;#91;260:org.opendaylight.bgpcep.bgp-flowspec:0.4.0.Lithium&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.protocol.bgp.flowspec.FlowspecRIBSupport.buildReach(FlowspecRIBSupport.java:177)&lt;span class=&quot;error&quot;&gt;&amp;#91;260:org.opendaylight.bgpcep.bgp-flowspec:0.4.0.Lithium&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.protocol.bgp.rib.spi.AbstractRIBSupport.buildUpdate(AbstractRIBSupport.java:253)&lt;span class=&quot;error&quot;&gt;&amp;#91;253:org.opendaylight.bgpcep.bgp-rib-spi:0.4.0.Lithium&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.protocol.bgp.rib.impl.AdjRibOutListener.advertise(AdjRibOutListener.java:113)&lt;span class=&quot;error&quot;&gt;&amp;#91;259:org.opendaylight.bgpcep.bgp-rib-impl:0.4.0.Lithium&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.protocol.bgp.rib.impl.AdjRibOutListener.onDataTreeChanged(AdjRibOutListener.java:84)&lt;span class=&quot;error&quot;&gt;&amp;#91;259:org.opendaylight.bgpcep.bgp-rib-impl:0.4.0.Lithium&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.DataTreeChangeListenerActor.dataChanged(DataTreeChangeListenerActor.java:53)&lt;span class=&quot;error&quot;&gt;&amp;#91;191:org.opendaylight.controller.sal-distributed-datastore:1.2.0.Lithium&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.DataTreeChangeListenerActor.handleReceive(DataTreeChangeListenerActor.java:37)&lt;span class=&quot;error&quot;&gt;&amp;#91;191:org.opendaylight.controller.sal-distributed-datastore:1.2.0.Lithium&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor.onReceive(AbstractUntypedActor.java:34)&lt;span class=&quot;error&quot;&gt;&amp;#91;183:org.opendaylight.controller.sal-clustering-commons:1.2.0.Lithium&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:167)&lt;span class=&quot;error&quot;&gt;&amp;#91;176:com.typesafe.akka.actor:2.3.10&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at akka.actor.Actor$class.aroundReceive(Actor.scala:467)&lt;span class=&quot;error&quot;&gt;&amp;#91;176:com.typesafe.akka.actor:2.3.10&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:97)&lt;span class=&quot;error&quot;&gt;&amp;#91;176:com.typesafe.akka.actor:2.3.10&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)&lt;span class=&quot;error&quot;&gt;&amp;#91;176:com.typesafe.akka.actor:2.3.10&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at akka.actor.ActorCell.invoke(ActorCell.scala:487)&lt;span class=&quot;error&quot;&gt;&amp;#91;176:com.typesafe.akka.actor:2.3.10&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254)&lt;span class=&quot;error&quot;&gt;&amp;#91;176:com.typesafe.akka.actor:2.3.10&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at akka.dispatch.Mailbox.run(Mailbox.scala:221)&lt;span class=&quot;error&quot;&gt;&amp;#91;176:com.typesafe.akka.actor:2.3.10&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at akka.dispatch.Mailbox.exec(Mailbox.scala:231)&lt;span class=&quot;error&quot;&gt;&amp;#91;176:com.typesafe.akka.actor:2.3.10&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)&lt;span class=&quot;error&quot;&gt;&amp;#91;173:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)&lt;span class=&quot;error&quot;&gt;&amp;#91;173:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)&lt;span class=&quot;error&quot;&gt;&amp;#91;173:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)&lt;span class=&quot;error&quot;&gt;&amp;#91;173:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b&amp;#93;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="45090" author="dkutenicsova" created="Fri, 31 Jul 2015 11:39:00 +0000"  >&lt;p&gt;Giles: could you post how the route looks like in AdjRibOut? &lt;/p&gt;

&lt;p&gt;And I&apos;m pretty sure that you don&apos;t need to put route-key/component-type yourself, that is generated from the content of the route.&lt;a href=&quot;https://wiki.opendaylight.org/view/BGP_LS_PCEP:BGP#BGP_flowspec&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/BGP_LS_PCEP:BGP#BGP_flowspec&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;ImmutableMapEntryNode{nodeIdentifier=(urn:opendaylight:params:xml:ns:yang:bgp-flowspec?revision=2015-01-14)flowspec-route[&lt;/p&gt;
{(urn:opendaylight:params:xml:ns:yang:bgp-flowspec?revision=2015-01-14)route-key=foo}
&lt;p&gt;], value=[ImmutableUnkeyedListNode{nodeIdentifier=(urn:opendaylight:params:xml:ns:yang:bgp-flowspec?revision=2015-01-14)flowspec, value=[ImmutableUnkeyedListEntryNode{nodeIdentifier=(urn:opendaylight:params:xml:ns:yang:bgp-flowspec?revision=2015-01-14)flowspec, value=[ImmutableLeafNode{nodeIdentifier=(urn:opendaylight:params:xml:ns:yang:bgp-flowspec?revision=2015-01-14)component-type, value=destination-port, attributes={}}, &lt;br/&gt;
ImmutableChoiceNode{nodeIdentifier=(urn:opendaylight:params:xml:ns:yang:bgp-flowspec?revision=2015-01-14)flowspec-type, value=[ImmutableUnkeyedListNode{nodeIdentifier=(urn:opendaylight:params:xml:ns:yang:bgp-flowspec?revision=2015-01-14)destination-ports, value=[ImmutableUnkeyedListEntryNode{nodeIdentifier=(urn:opendaylight:params:xml:ns:yang:bgp-flowspec?revision=2015-01-14)destination-ports, value=[ImmutableLeafNode{nodeIdentifier=(urn:opendaylight:params:xml:ns:yang:bgp-flowspec?revision=2015-01-14)op, value=&lt;span class=&quot;error&quot;&gt;&amp;#91;equals&amp;#93;&lt;/span&gt;, attributes={}}, ImmutableLeafNode{nodeIdentifier=(urn:opendaylight:params:xml:ns:yang:bgp-flowspec?revision=2015-01-14)value, value=8080, attributes={}}], attributes={}}]}]}], attributes={}}]},&lt;/p&gt;</comment>
                            <comment id="45091" author="ihalanov@cisco.com" created="Mon, 3 Aug 2015 07:46:06 +0000"  >&lt;p&gt;shouldn&apos;t it be like this?&lt;/p&gt;

&lt;p&gt;   &amp;lt;flowspec&amp;gt;&lt;br/&gt;
        &amp;lt;component-type&amp;gt;destination-port&amp;lt;/component-type&amp;gt;&lt;br/&gt;
        &amp;lt;flowspec-type&amp;gt;&lt;br/&gt;
            &amp;lt;destination-ports&amp;gt;&lt;br/&gt;
               &amp;lt;op&amp;gt;equals&amp;lt;/op&amp;gt;&lt;br/&gt;
               &amp;lt;value&amp;gt;8080&amp;lt;/value&amp;gt;&lt;br/&gt;
            &amp;lt;/destination-ports&amp;gt;&lt;br/&gt;
        &amp;lt;/flowspec-type&amp;gt;&lt;br/&gt;
   &amp;lt;/flowspec&amp;gt;&lt;/p&gt;

&lt;p&gt;on level of component-type is flowspec-type, then destination-ports (or others) are read. (from what is in code, and also tree structure in comment above)&lt;/p&gt;</comment>
                            <comment id="45092" author="giheron@cisco.com" created="Thu, 27 Aug 2015 13:42:57 +0000"  >&lt;p&gt;(In reply to Iveta Halanova from comment #3)&lt;br/&gt;
&amp;gt; shouldn&apos;t it be like this?&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt;    &amp;lt;flowspec&amp;gt;&lt;br/&gt;
&amp;gt;         &amp;lt;component-type&amp;gt;destination-port&amp;lt;/component-type&amp;gt;&lt;br/&gt;
&amp;gt;         &amp;lt;flowspec-type&amp;gt;&lt;br/&gt;
&amp;gt;             &amp;lt;destination-ports&amp;gt;&lt;br/&gt;
&amp;gt;                &amp;lt;op&amp;gt;equals&amp;lt;/op&amp;gt;&lt;br/&gt;
&amp;gt;                &amp;lt;value&amp;gt;8080&amp;lt;/value&amp;gt;&lt;br/&gt;
&amp;gt;             &amp;lt;/destination-ports&amp;gt;&lt;br/&gt;
&amp;gt;         &amp;lt;/flowspec-type&amp;gt;&lt;br/&gt;
&amp;gt;    &amp;lt;/flowspec&amp;gt;&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; on level of component-type is flowspec-type, then destination-ports (or&lt;br/&gt;
&amp;gt; others) are read. (from what is in code, and also tree structure in comment&lt;br/&gt;
&amp;gt; above)&lt;/p&gt;

&lt;p&gt;Hi Iveta,&lt;/p&gt;

&lt;p&gt;the choice and case don&apos;t appear in the instance data.&lt;/p&gt;

&lt;p&gt;So I&apos;d expect (with the new model):&lt;/p&gt;

&lt;p&gt;&amp;lt;flowspec-route xmlns=&quot;urn:opendaylight:params:xml:ns:yang:bgp-flowspec&quot;&amp;gt;&lt;br/&gt;
    &amp;lt;route-key&amp;gt;foo&amp;lt;/route-key&amp;gt;&lt;br/&gt;
    &amp;lt;flowspec&amp;gt;&lt;br/&gt;
        &amp;lt;destination-ports&amp;gt;&lt;br/&gt;
           &amp;lt;op&amp;gt;equals&amp;lt;/op&amp;gt;&lt;br/&gt;
           &amp;lt;value&amp;gt;8080&amp;lt;/value&amp;gt;&lt;br/&gt;
       &amp;lt;/destination-ports&amp;gt;&lt;br/&gt;
   &amp;lt;/flowspec&amp;gt;&lt;br/&gt;
   &amp;lt;attributes&amp;gt;&lt;br/&gt;
    &amp;lt;origin&amp;gt;&lt;br/&gt;
     &amp;lt;value&amp;gt;igp&amp;lt;/value&amp;gt;&lt;br/&gt;
    &amp;lt;/origin&amp;gt;&lt;br/&gt;
    &amp;lt;ipv4-next-hop&amp;gt;&lt;br/&gt;
        &amp;lt;global&amp;gt;172.23.29.110&amp;lt;/global&amp;gt;&lt;br/&gt;
    &amp;lt;/ipv4-next-hop&amp;gt;&lt;br/&gt;
    &amp;lt;as-path/&amp;gt;&lt;br/&gt;
    &amp;lt;local-pref&amp;gt;&lt;br/&gt;
        &amp;lt;pref&amp;gt;100&amp;lt;/pref&amp;gt;&lt;br/&gt;
    &amp;lt;/local-pref&amp;gt;&lt;br/&gt;
    &amp;lt;extended-communities&amp;gt;&lt;br/&gt;
        &amp;lt;comm-type&amp;gt;128&amp;lt;/comm-type&amp;gt;&lt;br/&gt;
        &amp;lt;comm-sub-type&amp;gt;7&amp;lt;/comm-sub-type&amp;gt;&lt;br/&gt;
    &amp;lt;/extended-communities&amp;gt;&lt;br/&gt;
   &amp;lt;/attributes&amp;gt;&lt;br/&gt;
 &amp;lt;/flowspec-route&amp;gt;&lt;/p&gt;

&lt;p&gt;having done that it seems to work now - at least inasmuch as it advertises the route to XR.   But XR doesn&apos;t much like the route it gets:&lt;/p&gt;

&lt;p&gt;RP/0/RSP0/CPU0:i2ss-asr9k1#RP/0/RSP0/CPU0:Aug 27 18:31:40.333 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: UPDATE from 172.23.29.110 contains nh 172.23.29.110/32, gw_afi 0, flags 0x20000, nlri_afi 18&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.333 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: NH-Validate-Create: addr=172.23.29.110/32, len=4, nlriafi=18, nbr=172.23.29.110, gwafi=0, gwlen=4, gwaddrlen=32::: nhout=0x5113dfec, validity=1, attrwdrflags=0x00000000&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.333 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: UPDATE from 172.23.29.110 contains EXTCOMMUNITY attribute with wrong length 2&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.333 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: !!!!!!!!!!!!!:: ERROR_HANDLING&amp;lt;&amp;lt;172.23.29.110&amp;gt;&amp;gt; :: errfl=0x00000080, attrfl=0xc0, attrcode=16, attrlen=2:: errhenabled=1, action=4:: MSG=513e9854 (fl=0x00000080, finalaction=4, elemcount=1):: msglindex=4, msgcount=5&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.333 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: UPDATE from 172.23.29.110 contains EXTCOMMUNITY attribute with wrong length 2&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.333 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: !!!!!!!!!!!!!:: ERROR_HANDLING&amp;lt;&amp;lt;172.23.29.110&amp;gt;&amp;gt; :: errfl=0x00000080, attrfl=0xc0, attrcode=16, attrlen=2:: errhenabled=1, action=4:: MSG=513e9854 (fl=0x00000080, finalaction=4, elemcount=2):: msglindex=4, msgcount=5&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.333 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: -&lt;del&gt;bgp4_rcv_attributes&lt;/del&gt;-: END: nbr=172.23.29.110:: msg=0x5060fdcc/59, updlen=40, attrbl=0x5060fde3/36, ipv4reachlen=0, msginpath=0x3fbf0b00, asloopcheck=1, attrwdrfl=0x00000000:: samecluster=0, local_as_prepended=0, attr_wdr_flags 0x00000000, myascount=0:: rcvdata=0x5060fe07/0, errptr=0x5060fe02/5&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt; (ip4fs): Received unreachables from 172.23.29.110: attrcode=14, attrwdrflags=0x00000000&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt; (ip4fs): Martian network 0/ (path ID: none) in update from 172.23.29.110&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt; (ip4fs): UPDATE from 172.23.29.110 with attributes:&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt; (ip4fs): nexthop 172.23.29.110/32, origin i, path 64496&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt; (ip4fs): UPDATE from 172.23.29.110, prefix 0/ (path ID: none) DENIED due to: &lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt; (ip4fs):  malformed update &apos;treat-as-withdraw&apos;;&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: %ROUTING-BGP-3-MALFORM_UPDATE : Malformed UPDATE message received from neighbor 172.23.29.110 (VRF: default) - message length 59 bytes, error flags 0x00000080, action taken &quot;TreatAsWdr&quot;. Error details: &quot;Error 0x00000080, Field &quot;Attr-length&quot;, Attribute 16 (Flags 0xc0, Length 2), Data &lt;span class=&quot;error&quot;&gt;&amp;#91;c0100280&amp;#93;&lt;/span&gt;&quot;. NLRIs: &lt;span class=&quot;error&quot;&gt;&amp;#91;IPv4 Flowspec&amp;#93;&lt;/span&gt; 0/ &lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: !!&lt;del&gt;!&lt;/del&gt;#&lt;del&gt;!&lt;/del&gt;#-!!:: Received Malformed UPDATE from nbr 172.23.29.110:: msglen=59, errflags=0x00000080, finalaction=TreatAsWdr:: elemcount=2, lastelem=&lt;/p&gt;
{&quot;Error 0x00000080, Field &quot;Attr-length&quot;, Attribute 16 (Flags 0xc0, Length 2), Data [c0100280]&quot;}
&lt;p&gt;:: ERRCTX=&lt;tt&gt;msglindex=4, malformcount=5, memfailcount=0&lt;/tt&gt;&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: Received UPDATE from 172.23.29.110 (length incl. header = 59)&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: Receive message dump for 172.23.29.110:&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: ffff ffff ffff ffff ffff ffff ffff ffff &lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: 003b 0200 0000 2440 0101 0040 0206 0201 &lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: 0000 fbf0 800e 0a00 0185 04ac 171d 6e00 &lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: 00c0 1002 8007 c010 0280 07 &lt;/p&gt;

&lt;p&gt;From the dump you can see that there&apos;s a zero NLRI length so no flowspec has been passed in at all.&lt;/p&gt;

&lt;p&gt;also you can see we&apos;ve sent two copies of the extended community (c010028007).  But neither copy has 6 bytes of data that are supposed to follow the 0x8007.&lt;/p&gt;</comment>
                            <comment id="45093" author="giheron@cisco.com" created="Thu, 27 Aug 2015 13:43:29 +0000"  >&lt;p&gt;(In reply to Iveta Halanova from comment #3)&lt;br/&gt;
&amp;gt; shouldn&apos;t it be like this?&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt;    &amp;lt;flowspec&amp;gt;&lt;br/&gt;
&amp;gt;         &amp;lt;component-type&amp;gt;destination-port&amp;lt;/component-type&amp;gt;&lt;br/&gt;
&amp;gt;         &amp;lt;flowspec-type&amp;gt;&lt;br/&gt;
&amp;gt;             &amp;lt;destination-ports&amp;gt;&lt;br/&gt;
&amp;gt;                &amp;lt;op&amp;gt;equals&amp;lt;/op&amp;gt;&lt;br/&gt;
&amp;gt;                &amp;lt;value&amp;gt;8080&amp;lt;/value&amp;gt;&lt;br/&gt;
&amp;gt;             &amp;lt;/destination-ports&amp;gt;&lt;br/&gt;
&amp;gt;         &amp;lt;/flowspec-type&amp;gt;&lt;br/&gt;
&amp;gt;    &amp;lt;/flowspec&amp;gt;&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; on level of component-type is flowspec-type, then destination-ports (or&lt;br/&gt;
&amp;gt; others) are read. (from what is in code, and also tree structure in comment&lt;br/&gt;
&amp;gt; above)&lt;/p&gt;

&lt;p&gt;Hi Iveta,&lt;/p&gt;

&lt;p&gt;the choice and case don&apos;t appear in the instance data.&lt;/p&gt;

&lt;p&gt;So I&apos;d expect (with the new model):&lt;/p&gt;

&lt;p&gt;&amp;lt;flowspec-route xmlns=&quot;urn:opendaylight:params:xml:ns:yang:bgp-flowspec&quot;&amp;gt;&lt;br/&gt;
    &amp;lt;route-key&amp;gt;foo&amp;lt;/route-key&amp;gt;&lt;br/&gt;
    &amp;lt;flowspec&amp;gt;&lt;br/&gt;
        &amp;lt;destination-ports&amp;gt;&lt;br/&gt;
           &amp;lt;op&amp;gt;equals&amp;lt;/op&amp;gt;&lt;br/&gt;
           &amp;lt;value&amp;gt;8080&amp;lt;/value&amp;gt;&lt;br/&gt;
       &amp;lt;/destination-ports&amp;gt;&lt;br/&gt;
   &amp;lt;/flowspec&amp;gt;&lt;br/&gt;
   &amp;lt;attributes&amp;gt;&lt;br/&gt;
    &amp;lt;origin&amp;gt;&lt;br/&gt;
     &amp;lt;value&amp;gt;igp&amp;lt;/value&amp;gt;&lt;br/&gt;
    &amp;lt;/origin&amp;gt;&lt;br/&gt;
    &amp;lt;ipv4-next-hop&amp;gt;&lt;br/&gt;
        &amp;lt;global&amp;gt;172.23.29.110&amp;lt;/global&amp;gt;&lt;br/&gt;
    &amp;lt;/ipv4-next-hop&amp;gt;&lt;br/&gt;
    &amp;lt;as-path/&amp;gt;&lt;br/&gt;
    &amp;lt;local-pref&amp;gt;&lt;br/&gt;
        &amp;lt;pref&amp;gt;100&amp;lt;/pref&amp;gt;&lt;br/&gt;
    &amp;lt;/local-pref&amp;gt;&lt;br/&gt;
    &amp;lt;extended-communities&amp;gt;&lt;br/&gt;
        &amp;lt;comm-type&amp;gt;128&amp;lt;/comm-type&amp;gt;&lt;br/&gt;
        &amp;lt;comm-sub-type&amp;gt;7&amp;lt;/comm-sub-type&amp;gt;&lt;br/&gt;
    &amp;lt;/extended-communities&amp;gt;&lt;br/&gt;
   &amp;lt;/attributes&amp;gt;&lt;br/&gt;
 &amp;lt;/flowspec-route&amp;gt;&lt;/p&gt;

&lt;p&gt;having done that it seems to work now - at least inasmuch as it advertises the route to XR.   But XR doesn&apos;t much like the route it gets:&lt;/p&gt;

&lt;p&gt;RP/0/RSP0/CPU0:i2ss-asr9k1#RP/0/RSP0/CPU0:Aug 27 18:31:40.333 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: UPDATE from 172.23.29.110 contains nh 172.23.29.110/32, gw_afi 0, flags 0x20000, nlri_afi 18&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.333 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: NH-Validate-Create: addr=172.23.29.110/32, len=4, nlriafi=18, nbr=172.23.29.110, gwafi=0, gwlen=4, gwaddrlen=32::: nhout=0x5113dfec, validity=1, attrwdrflags=0x00000000&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.333 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: UPDATE from 172.23.29.110 contains EXTCOMMUNITY attribute with wrong length 2&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.333 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: !!!!!!!!!!!!!:: ERROR_HANDLING&amp;lt;&amp;lt;172.23.29.110&amp;gt;&amp;gt; :: errfl=0x00000080, attrfl=0xc0, attrcode=16, attrlen=2:: errhenabled=1, action=4:: MSG=513e9854 (fl=0x00000080, finalaction=4, elemcount=1):: msglindex=4, msgcount=5&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.333 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: UPDATE from 172.23.29.110 contains EXTCOMMUNITY attribute with wrong length 2&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.333 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: !!!!!!!!!!!!!:: ERROR_HANDLING&amp;lt;&amp;lt;172.23.29.110&amp;gt;&amp;gt; :: errfl=0x00000080, attrfl=0xc0, attrcode=16, attrlen=2:: errhenabled=1, action=4:: MSG=513e9854 (fl=0x00000080, finalaction=4, elemcount=2):: msglindex=4, msgcount=5&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.333 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: -&lt;del&gt;bgp4_rcv_attributes&lt;/del&gt;-: END: nbr=172.23.29.110:: msg=0x5060fdcc/59, updlen=40, attrbl=0x5060fde3/36, ipv4reachlen=0, msginpath=0x3fbf0b00, asloopcheck=1, attrwdrfl=0x00000000:: samecluster=0, local_as_prepended=0, attr_wdr_flags 0x00000000, myascount=0:: rcvdata=0x5060fe07/0, errptr=0x5060fe02/5&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt; (ip4fs): Received unreachables from 172.23.29.110: attrcode=14, attrwdrflags=0x00000000&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt; (ip4fs): Martian network 0/ (path ID: none) in update from 172.23.29.110&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt; (ip4fs): UPDATE from 172.23.29.110 with attributes:&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt; (ip4fs): nexthop 172.23.29.110/32, origin i, path 64496&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt; (ip4fs): UPDATE from 172.23.29.110, prefix 0/ (path ID: none) DENIED due to: &lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt; (ip4fs):  malformed update &apos;treat-as-withdraw&apos;;&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: %ROUTING-BGP-3-MALFORM_UPDATE : Malformed UPDATE message received from neighbor 172.23.29.110 (VRF: default) - message length 59 bytes, error flags 0x00000080, action taken &quot;TreatAsWdr&quot;. Error details: &quot;Error 0x00000080, Field &quot;Attr-length&quot;, Attribute 16 (Flags 0xc0, Length 2), Data &lt;span class=&quot;error&quot;&gt;&amp;#91;c0100280&amp;#93;&lt;/span&gt;&quot;. NLRIs: &lt;span class=&quot;error&quot;&gt;&amp;#91;IPv4 Flowspec&amp;#93;&lt;/span&gt; 0/ &lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: !!&lt;del&gt;!&lt;/del&gt;#&lt;del&gt;!&lt;/del&gt;#-!!:: Received Malformed UPDATE from nbr 172.23.29.110:: msglen=59, errflags=0x00000080, finalaction=TreatAsWdr:: elemcount=2, lastelem=&lt;/p&gt;
{&quot;Error 0x00000080, Field &quot;Attr-length&quot;, Attribute 16 (Flags 0xc0, Length 2), Data [c0100280]&quot;}
&lt;p&gt;:: ERRCTX=&lt;tt&gt;msglindex=4, malformcount=5, memfailcount=0&lt;/tt&gt;&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: Received UPDATE from 172.23.29.110 (length incl. header = 59)&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: Receive message dump for 172.23.29.110:&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: ffff ffff ffff ffff ffff ffff ffff ffff &lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: 003b 0200 0000 2440 0101 0040 0206 0201 &lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: 0000 fbf0 800e 0a00 0185 04ac 171d 6e00 &lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 18:31:40.334 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: 00c0 1002 8007 c010 0280 07 &lt;/p&gt;

&lt;p&gt;From the dump you can see that there&apos;s a zero NLRI length so no flowspec has been passed in at all.&lt;/p&gt;

&lt;p&gt;also you can see we&apos;ve sent two copies of the extended community (c010028007).  But neither copy has 6 bytes of data that are supposed to follow the 0x8007.&lt;/p&gt;</comment>
                            <comment id="45094" author="giheron@cisco.com" created="Thu, 27 Aug 2015 14:22:49 +0000"  >&lt;p&gt;The &amp;lt;flowspec-type&amp;gt; shouldn&apos;t be in the data (YANG choice and case statements are only in the model, not in the instance data).&lt;/p&gt;

&lt;p&gt;I&apos;ve got the route in now:&lt;/p&gt;

&lt;p&gt;So the POST was:&lt;/p&gt;

&lt;p&gt;&amp;lt;flowspec-route xmlns=&quot;urn:opendaylight:params:xml:ns:yang:bgp-flowspec&quot;&amp;gt;&lt;br/&gt;
    &amp;lt;route-key&amp;gt;foo&amp;lt;/route-key&amp;gt;&lt;br/&gt;
    &amp;lt;flowspec&amp;gt;&lt;br/&gt;
        &amp;lt;destination-ports&amp;gt;&lt;br/&gt;
           &amp;lt;op&amp;gt;equals&amp;lt;/op&amp;gt;&lt;br/&gt;
           &amp;lt;value&amp;gt;8080&amp;lt;/value&amp;gt;&lt;br/&gt;
       &amp;lt;/destination-ports&amp;gt;&lt;br/&gt;
   &amp;lt;/flowspec&amp;gt;&lt;br/&gt;
   &amp;lt;attributes&amp;gt;&lt;br/&gt;
    &amp;lt;origin&amp;gt;&lt;br/&gt;
     &amp;lt;value&amp;gt;igp&amp;lt;/value&amp;gt;&lt;br/&gt;
    &amp;lt;/origin&amp;gt;&lt;br/&gt;
    &amp;lt;ipv4-next-hop&amp;gt;&lt;br/&gt;
        &amp;lt;global&amp;gt;172.23.29.110&amp;lt;/global&amp;gt;&lt;br/&gt;
    &amp;lt;/ipv4-next-hop&amp;gt;&lt;br/&gt;
    &amp;lt;as-path/&amp;gt;&lt;br/&gt;
    &amp;lt;local-pref&amp;gt;&lt;br/&gt;
        &amp;lt;pref&amp;gt;100&amp;lt;/pref&amp;gt;&lt;br/&gt;
    &amp;lt;/local-pref&amp;gt;&lt;br/&gt;
    &amp;lt;extended-communities&amp;gt;&lt;br/&gt;
        &amp;lt;comm-type&amp;gt;128&amp;lt;/comm-type&amp;gt;&lt;br/&gt;
        &amp;lt;comm-sub-type&amp;gt;7&amp;lt;/comm-sub-type&amp;gt;&lt;br/&gt;
    &amp;lt;/extended-communities&amp;gt;&lt;br/&gt;
   &amp;lt;/attributes&amp;gt;&lt;br/&gt;
 &amp;lt;/flowspec-route&amp;gt;&lt;/p&gt;

&lt;p&gt;the route was advertised to XR, but XR didn&apos;t much like it:&lt;/p&gt;

&lt;p&gt;RP/0/RSP0/CPU0:i2ss-asr9k1#RP/0/RSP0/CPU0:Aug 27 22:18:06.631 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: UPDATE from 172.23.29.110 contains nh 172.23.29.110/32, gw_afi 0, flags 0x20000, nlri_afi 18&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 22:18:06.631 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: NH-Validate-Create: addr=172.23.29.110/32, len=4, nlriafi=18, nbr=172.23.29.110, gwafi=0, gwlen=4, gwaddrlen=32::: nhout=0x5113dfec, validity=1, attrwdrflags=0x00000000&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 22:18:06.631 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: UPDATE from 172.23.29.110 contains EXTCOMMUNITY attribute with wrong length 2&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 22:18:06.631 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: !!!!!!!!!!!!!:: ERROR_HANDLING&amp;lt;&amp;lt;172.23.29.110&amp;gt;&amp;gt; :: errfl=0x00000080, attrfl=0xc0, attrcode=16, attrlen=2:: errhenabled=1, action=4:: MSG=513e93d4 (fl=0x00000080, finalaction=4, elemcount=1):: msglindex=0, msgcount=6&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 22:18:06.631 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: UPDATE from 172.23.29.110 contains EXTCOMMUNITY attribute with wrong length 2&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 22:18:06.631 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: !!!!!!!!!!!!!:: ERROR_HANDLING&amp;lt;&amp;lt;172.23.29.110&amp;gt;&amp;gt; :: errfl=0x00000080, attrfl=0xc0, attrcode=16, attrlen=2:: errhenabled=1, action=4:: MSG=513e93d4 (fl=0x00000080, finalaction=4, elemcount=2):: msglindex=0, msgcount=6&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 22:18:06.631 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: -&lt;del&gt;bgp4_rcv_attributes&lt;/del&gt;-: END: nbr=172.23.29.110:: msg=0x5060fc98/59, updlen=40, attrbl=0x5060fcaf/36, ipv4reachlen=0, msginpath=0x3fbf0b00, asloopcheck=1, attrwdrfl=0x00000000:: samecluster=0, local_as_prepended=0, attr_wdr_flags 0x00000000, myascount=0:: rcvdata=0x5060fcd3/0, errptr=0x5060fcce/5&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 22:18:06.631 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt; (ip4fs): Received unreachables from 172.23.29.110: attrcode=14, attrwdrflags=0x00000000&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 22:18:06.632 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt; (ip4fs): Martian network 0/ (path ID: none) in update from 172.23.29.110&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 22:18:06.632 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt; (ip4fs): UPDATE from 172.23.29.110 with attributes:&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 22:18:06.632 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt; (ip4fs): nexthop 172.23.29.110/32, origin i, path 64496&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 22:18:06.632 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt; (ip4fs): UPDATE from 172.23.29.110, prefix 0/ (path ID: none) DENIED due to: &lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 22:18:06.632 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt; (ip4fs):  malformed update &apos;treat-as-withdraw&apos;;&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 22:18:06.632 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: %ROUTING-BGP-3-MALFORM_UPDATE : Malformed UPDATE message received from neighbor 172.23.29.110 (VRF: default) - message length 59 bytes, error flags 0x00000080, action taken &quot;TreatAsWdr&quot;. Error details: &quot;Error 0x00000080, Field &quot;Attr-length&quot;, Attribute 16 (Flags 0xc0, Length 2), Data &lt;span class=&quot;error&quot;&gt;&amp;#91;c0100280&amp;#93;&lt;/span&gt;&quot;. NLRIs: &lt;span class=&quot;error&quot;&gt;&amp;#91;IPv4 Flowspec&amp;#93;&lt;/span&gt; 0/ &lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 22:18:06.632 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: !!&lt;del&gt;!&lt;/del&gt;#&lt;del&gt;!&lt;/del&gt;#-!!:: Received Malformed UPDATE from nbr 172.23.29.110:: msglen=59, errflags=0x00000080, finalaction=TreatAsWdr:: elemcount=2, lastelem=&lt;/p&gt;
{&quot;Error 0x00000080, Field &quot;Attr-length&quot;, Attribute 16 (Flags 0xc0, Length 2), Data [c0100280]&quot;}
&lt;p&gt;:: ERRCTX=&lt;tt&gt;msglindex=0, malformcount=6, memfailcount=0&lt;/tt&gt;&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 22:18:06.632 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: Received UPDATE from 172.23.29.110 (length incl. header = 59)&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 22:18:06.632 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: Receive message dump for 172.23.29.110:&lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 22:18:06.632 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: ffff ffff ffff ffff ffff ffff ffff ffff &lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 22:18:06.632 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: 003b 0200 0000 2440 0101 0040 0206 0201 &lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 22:18:06.632 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: 0000 fbf0 800e 0a00 0185 04ac 171d 6e00 &lt;br/&gt;
RP/0/RSP0/CPU0:Aug 27 22:18:06.632 : bgp&lt;span class=&quot;error&quot;&gt;&amp;#91;1050&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;default-rtr&amp;#93;&lt;/span&gt;: 00c0 1002 8007 c010 0280 07 &lt;/p&gt;

&lt;p&gt;you can see from the dump that the message incorrectly has an NLRI length of zero (so no match data is advertised)&lt;/p&gt;

&lt;p&gt;you can also see that two copies of the action extended community (0x8007) are advertised but that neither one includes the traffic action bitmask.&lt;/p&gt;</comment>
                            <comment id="45095" author="giheron@cisco.com" created="Thu, 27 Aug 2015 14:25:00 +0000"  >&lt;p&gt;argh, my bad.  thought my comment hadn&apos;t gone in when in fact it went in twice!&lt;/p&gt;</comment>
                            <comment id="45096" author="ihalanov@cisco.com" created="Mon, 28 Sep 2015 11:17:07 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/27505/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/27505/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13122" name="karaf.zip" size="132067" author="giheron@cisco.com" created="Wed, 29 Jul 2015 21:58:28 +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>4066</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=4066]]></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="10325"><![CDATA[Lithium-2]]></customfieldvalue>

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

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