[BGPCEP-468] BGP EVPN advertisement to Bagpipe peer Created: 31/May/16  Updated: 03/Mar/19  Resolved: 02/Jun/16

Status: Resolved
Project: bgpcep
Component/s: BGP
Affects Version/s: Bugzilla Migration
Fix Version/s: Bugzilla Migration

Type: Bug
Reporter: Iveta Halanova Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: File 41-bgp-example.xml    
External issue ID: 5981
Priority: High

 Description   

Issue description:

  • app-peer and bagpipe peer configured in ODL
  • after starting bagpipe service; all peers are visible in RIB and connected
  • post evpn-route through app-peer
    -> all appears to be good in RIB table through restconf, but bagpipe doesn't receive anything
  • tried also posting l3vpn through app-peer and bagpipe received it.

> bagpipe-looking-glass bgp routes
shows ipv4/mpls, but not evpn

there are no errors on ODL side, and also no logs on on bagpipe side that I could share.

===================================================================
Bagpipe configuration:

[BGP]
local_address=127.0.0.3
peers=127.0.0.1
my_as=65000
enable_rtc=False

[API]
api_host=localhost
api_port=8082

[DATAPLANE_DRIVER_IPVPN]
dataplane_driver = DummyDataplaneDriver

mpls_interface=gre

ovsbr_interfaces_mtu=4000

[DATAPLANE_DRIVER_EVPN]
dataplane_driver = linux_vxlan.LinuxVXLANDataplaneDriver
#dataplane_driver = DummyDataplaneDriver ---- also tried this one

ovsbr_interfaces_mtu=4000

===================================================================
ODL configuration attached



 Comments   
Comment by Iveta Halanova [ 31/May/16 ]

Attachment 41-bgp-example.xml has been added with description: ODL config

Comment by Iveta Halanova [ 31/May/16 ]

tested with distribution-karaf-0.5.0-20160529.214143-2552

Comment by Iveta Halanova [ 31/May/16 ]

APP PEER post:

<evpn-route xmlns="urn:opendaylight:params:xml:ns:yang:bgp-evpn">
<route-key>evpn1</route-key>
<route-distinguisher>429496729:1</route-distinguisher>

<mac-ip-adv-route>
<as-generated>
<as>12345</as>
<local-discriminator>22</local-discriminator>
</as-generated>
<ethernet-tag-id>
<vlan-id>10</vlan-id>
</ethernet-tag-id>
<mac-address>f2:0c:dd:80:9f:f7</mac-address>
<mpls-label1>24002</mpls-label1>
</mac-ip-adv-route>
<attributes>
<ipv4-next-hop>
<global>199.20.166.41</global>
</ipv4-next-hop>
<origin>
<value>egp</value>
</origin>
</attributes>
</evpn-route>

Comment by Iveta Halanova [ 31/May/16 ]

if it works for you, please write me what's wrong on my configurations

Comment by Claudio David Gasparini [ 31/May/16 ]

please check with latest version.
Fix for this has been merged few days ago.
https://git.opendaylight.org/gerrit/#/c/39538/

Comment by Iveta Halanova [ 02/Jun/16 ]

Tested again with June 2 version and bagpipe doesn't receive it, but this time I've got this warning:

2016-06-02 08:25:45,686 | WARN | oupCloseable-3-1 | BGPSessionImpl | 275 - org.opendaylight.bgpcep.bgp-rib-impl - 0.6.0.SNAPSHOT | Failed to send message Update [_attributes=Attributes [_origin=Origin{getValue=Egp, augmentations={}}, augmentation=[Attributes1 [_mpReachNlri=MpReachNlri [_advertizedRoutes=AdvertizedRoutes [_destinationType=DestinationEvpnCase [_destinationEvpn=DestinationEvpn [_evpnDestination=[EvpnDestination [_evpnChoice=MacIpAdvRouteCase [_macIpAdvRoute=MacIpAdvRoute [_esi=AsGeneratedCase [_asGenerated=AsGenerated [_as=AsNumber [_value=12345], _localDiscriminator=22, augmentation=[]], augmentation=[]], _ethernetTagId=EthernetTagId [_vlanId=10, augmentation=[]], _macAddress=MacAddress [_value=f2:0c:dd:80:9f:f7], _mplsLabel1=MplsLabel [_value=24002], augmentation=[]], augmentation=[]], _routeDistinguisher=RouteDistinguisher [_rdAs=RdAs [_value=429496729:1]], augmentation=[]]], augmentation=[]], augmentation=[]], augmentation=[]], _afi=class org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.evpn.rev160321.L2vpnAddressFamily, _cNextHop=Ipv4NextHopCase{getIpv4NextHop=Ipv4NextHop{getGlobal=Ipv4Address [_value=199.20.166.41], augmentations={}}, augmentations={}}, _safi=class org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.evpn.rev160321.EvpnSubsequentAddressFamily, augmentation=[]]]]], augmentation=[]] to socket io.netty.handler.codec.EncoderException: java.lang.NullPointerException

Generated at Wed Feb 07 19:13:08 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.