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

Few datastores and dump-groups not removed.

    Details

    • Type: Bug
    • Status: Confirmed
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Priority:
      Normal

      Description

      Commands Used:

      neutron net-create mynet1

      neutron subnet-create mynet1 10.1.1.0/24 --name net1-snet1

      neutron port-create mynet1 --name myport11 --security-group=SG-default

      neutron port-create mynet1 --name myport12 --security-group=SG-default

      neutron port-create mynet1 --name myport13 --security-group=SG-default

      nova boot --image ubuntu --flavor myhuge --nic port-id=$(neutron port-list | grep 'myport11' | awk '{print $2}') myhost11 --availability-zone nova:cmp001

      nova boot --image ubuntu --flavor myhuge --nic port-id=$(neutron port-list | grep 'myport12' | awk '{print $2}') myhost12 --availability-zone nova:cmp002

      nova boot --image ubuntu --flavor myhuge --nic port-id=$(neutron port-list | grep 'myport13' | awk '{print $2}') myhost13 --availability-zone nova:cmp003

      neutron subnet-create mynet1 2001:db8:1234::/64 --ip-version 6 --ipv6-ra-mode slaac --ipv6-address-mode slaac --name net1-snet2

      neutron router-create R1

      neutron router-interface-add R1 net1-snet2

      neutron port-create mynet1 --name myport14 --security-group=SG-default

      neutron port-create mynet1 --name myport15 --security-group=SG-default

      neutron port-create mynet1 --name myport16 --security-group=SG-default

      nova boot --image ubuntu --flavor myhuge --nic port-id=$(neutron port-list | grep 'myport14' | awk '{print $2}') myhost14 --availability-zone nova:cmp001

      nova boot --image ubuntu --flavor myhuge --nic port-id=$(neutron port-list | grep 'myport15' | awk '{print $2}') myhost15 --availability-zone nova:cmp002

      nova boot --image ubuntu --flavor myhuge --nic port-id=$(neutron port-list | grep 'myport16' | awk '{print $2}') myhost16 --availability-zone nova:cmp003

      neutron bgpvpn-create  --export-targets 100:1 --import-targets 100:1 --route-distinguishers 100:1 --name vpn1 --type l3

      neutron bgpvpn-router-assoc-create  --router R1 vpn1

      neutron bgpvpn-router-assoc-delete  --router R1 vpn1

      neutron bgpvpn-router-assoc-delete --help

      neutron bgpvpn-router-assoc-delete 4dcc0ef5-cbae-431a-ac0f-04d0b5e101b6 vpn1

      neutron bgpvpn-router-assoc-create  --router R1 vpn1

      neutron bgpvpn-delete vpn1

      neutron bgpvpn-create  --export-targets 100:1 --import-targets 100:1 --route-distinguishers 100:1 --name vpn1 --type l3

      neutron bgpvpn-router-assoc-create  --router R1 vpn1

      neutron router-interface-delete R1 net1-snet2

      neutron router-interface-add R1 net1-snet2

      neutron bgpvpn-delete vpn1

      neutron router-interface-delete R1 net1-snet2

      neutron router-delete R1

       

       

      root@cmp001:~# ovs-ofctl -OOpenflow13 dump-groups br-int

      OFPST_GROUP_DESC reply (OF1.3) (xid=0x2):

      group_id=6000,type=all,bucket=actions=resubmit(,81)

      group_id=155011,type=select,bucket=actions=group:155020

      group_id=155029,type=select,bucket=actions=group:155028

      group_id=155032,type=select,bucket=actions=group:155031

      root@cmp001:~#

      COMMAND:        curl  --silent  -u  -X GET http://sdn01:8181/restconf/config/neutronvpn:neutron-vpn-portip-port-data/ |python -m json.tool

      {

          "neutron-vpn-portip-port-data": {

              "vpn-portip-to-port": [

                 

      {                 "mac-address": "fa:16:3e:cd:6f:52",                 "port-fixedip": "10.1.1.2",                 "port-name": "08fb6fa4-3b2b-427d-b6fa-0b02cfe4b51b",                 "subnet-ip": false,                 "vpn-name": "9342cb5a-c50a-459c-b1f3-c0194ae8c00a"             }

      ,

                 

      {                 "mac-address": "fa:16:3e:fe:05:97",                 "port-fixedip": "10.1.1.11",                 "port-name": "97a7b880-14b8-4c77-bc76-7839c0482e19",                 "subnet-ip": false,                 "vpn-name": "9342cb5a-c50a-459c-b1f3-c0194ae8c00a"             }

      ,

                 

      {                 "mac-address": "fa:16:3e:d7:c1:3a",                 "port-fixedip": "10.1.1.8",                 "port-name": "e4816746-63fa-4935-9d35-5809843ad9b3",                 "subnet-ip": false,                 "vpn-name": "9342cb5a-c50a-459c-b1f3-c0194ae8c00a"             }

      ,

                 

      {                 "mac-address": "fa:16:3e:c9:0e:75",                 "port-fixedip": "10.1.1.9",                 "port-name": "62232bf7-7f05-4938-90c7-01ac822389d9",                 "subnet-ip": false,                 "vpn-name": "9342cb5a-c50a-459c-b1f3-c0194ae8c00a"             }

      ,

                 

      {                 "mac-address": "fa:16:3e:6d:6a:3f",                 "port-fixedip": "10.1.1.16",                 "port-name": "1e57672d-7e7b-457a-b8e7-0c7363973145",                 "subnet-ip": false,                 "vpn-name": "9342cb5a-c50a-459c-b1f3-c0194ae8c00a"             }

      ,

                 

      {                 "mac-address": "fa:16:3e:56:35:b2",                 "port-fixedip": "10.1.1.15",                 "port-name": "bbe5bb3a-ea45-4f5d-b555-1ac1663c4115",                 "subnet-ip": false,                 "vpn-name": "9342cb5a-c50a-459c-b1f3-c0194ae8c00a"             }

              ]

          }

      }

       

      ------------------------------------------------------------

      COMMAND:        curl  --silent  -u  -X GET http://sdn01:8181/restconf/operational/odl-l3vpn:neutron-router-dpns/ |python -m json.tool

      {

          "neutron-router-dpns": {

              "router-dpn-list": [

                 

      {                 "router-id": "edf443f5-d51d-4fca-84dd-c0572543bd62"             }

      ,

                  {

                      "dpn-vpninterfaces-list": [

                         

      {                         "dpn-id": 41800240382529                     }

                      ],

                      "router-id": "9342cb5a-c50a-459c-b1f3-c0194ae8c00a"

                  }

              ]

          }

      }

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              nithithomas nithi thomas
              Reporter:
              rajamk RajaRajan Manickam
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: