Uploaded image for project: 'netvirt'
  1. netvirt
  2. NETVIRT-932

NeutronBgpvpnChangeListener update does not handle iRT/eRT updates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Low Low
    • Magnesium
    • Carbon
    • General
    • None
    • Operating System: All
      Platform: All

    • 9227

      SDNVPN testcase4 fails (subtest where iRT=eRT)

      https://wiki.opnfv.org/display/sdnvpn/SDNVPN+Testing#SDNVPNTesting-TestCase4-VPNprovidesconnectivitybetweensubnetsusingrouterassociation

      It looks like iRT and eRT are not updated properly in vpn instance:

      [heat-admin@overcloud-controller-0 ~]$ curl -s -u admin:admin -X GET http://192.0.2.7:8181/controller/nb/v2/neutron/bgpvpns/
      
      {
         "bgpvpns" : [ {
            "id" : "05380409-329c-4ec2-b5b3-9fab3c378783",
            "tenant_id" : "6ebeaac8760249988ed66bc875b7c58e",
            "project_id" : "6ebeaac8760249988ed66bc875b7c58e",
            "name" : "sdnvpn-389776",
            "admin_state_up" : true,
            "status" : "ACTIVE",
            "type" : "l3",
            "route_targets" : [ ],
            "import_targets" : [ "88:88" ],
            "export_targets" : [ "88:88" ],
            "route_distinguishers" : [ "12:12" ],
            "auto_aggregate" : false,
            "networks" : [ "72ab30dd-3841-4ac6-9c62-67996346744b" ],
            "routers" : [ "511f8c12-14be-45d5-9ad3-86419b511f12" ]
         } ]
      
      
      heat-admin@overcloud-controller-0 ~]$ curl -s -u admin:admin -X GET http://192.0.2.7:8181/restconf/config/l3vpn:vpn-instances/
      
      {"vpn-instances":{"vpn-instance":[{"vpn-instance-name":"9fba3f66-463f-461f-9ccd-82656fb14af6","ipv4-family":{"vpnTargets":{}},"type":"l3","l3vni":0},{"vpn-instance-name":"511f8c12-14be-45d5-9ad3-86419b511f12","ipv4-family":{"vpnTargets":{}},"type":"l3","l3vni":0},{"vpn-instance-name":"05380409-329c-4ec2-b5b3-9fab3c378783","ipv4-family":{"route-distinguisher":["12:12"],"vpnTargets":{"vpnTarget":[{"vrfRTValue":"55:55","vrfRTType":"export_extcommunity"},{"vrfRTValue":"88:88","vrfRTType":"import_extcommunity"}]}},"type":"l3","l3vni":0},{"vpn-instance-name":"4bafa485-2b8c-4c0d-829d-411f375f406d","ipv4-family":{"vpnTargets":{}},"type":"l3","l3vni":0}]}}
      
      

      OVS flows/groups: https://pastebin.com/geXs2R7v

            abhinav.gupta Abhinav Gupta
            tomsou82@gmail.com Thomas Sounapoglou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: