[BGPCEP-779] Functional route ref test error Created: 29/Mar/18  Updated: 14/Jun/18  Resolved: 03/Apr/18

Status: Verified
Project: bgpcep
Component/s: BGP
Affects Version/s: Fluorine
Fix Version/s: Fluorine

Type: Bug Priority: Medium
Reporter: Tomas Markovic Assignee: Claudio David Gasparini
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File add_routes_1.py     File add_routes_2.py     File conf_app_peer.py     File get_ipv4_topology.sh     File reconfigure_odl.py    

 Description   

Overview: We configure app-peer and odl set to listen. Add two routes to app-peer, start exabgp to see if we get two routes on it. I think what we should look at mostly are the configurations of the routes in add_routes_1.py and add_routes_2.py, as basically all the arguments are the same except the ips.

Reproduction:

  • start fluorine karaf with restconf and bgp and bgp-config
  • add app pear with "conf_app_peer.py"
  • configure odl to accept connection on 127.0.0.2 "reconfigure_odl.py"
  • add routes into app peer with "add_routes_1.py"
  • now we can check ./get_ipv4_topology or write out full rib to see there is only one routes
  • add second route with "add_routes_2.py" and again there is only one route the second one.

There were no errors or warnings in karaf.log

route configurations
add_routes_1.py

<ipv4-route xmlns="urn:opendaylight:params:xml:ns:yang:bgp-inet">
    <prefix>1.1.1.1/32</prefix>
    <path-id>0</path-id>
    <attributes>
    <ipv4-next-hop>
        <global>199.20.160.41</global>
    </ipv4-next-hop>
    <as-path/>
    <multi-exit-disc>
        <med>0</med>
    </multi-exit-disc>
    <local-pref>
        <pref>100</pref>
    </local-pref>
    <originator-id>
        <originator>41.41.41.41</originator>
    </originator-id>
    <origin>
        <value>igp</value>
    </origin>
    <cluster-id>
        <cluster>40.40.40.40</cluster>
    </cluster-id>
    </attributes>
</ipv4-route>

add_routes_2.py

<ipv4-route xmlns="urn:opendaylight:params:xml:ns:yang:bgp-inet">
    <prefix>2.2.2.2/32</prefix>
    <path-id>0</path-id>
    <attributes>
    <ipv4-next-hop>
        <global>199.20.160.41</global>
    </ipv4-next-hop>
    <as-path/>
    <multi-exit-disc>
        <med>0</med>
    </multi-exit-disc>
    <local-pref>
        <pref>100</pref>
    </local-pref>
    <originator-id>
        <originator>41.41.41.41</originator>
    </originator-id>
    <origin>
        <value>igp</value>
    </origin>
    <cluster-id>
        <cluster>40.40.40.40</cluster>
    </cluster-id>
    </attributes>
</ipv4-route>


 Comments   
Comment by Claudio David Gasparini [ 03/Apr/18 ]

https://git.opendaylight.org/gerrit/#/c/70228/

Comment by Tomas Markovic [ 03/Apr/18 ]

https://jenkins.opendaylight.org/sandbox/job/tomas-bgpcep-csit-1node-userfeatures-all-fluorine/4/

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