[NETVIRT-397] External network recreation fails in newton nodl v2 Created: 27/Dec/16  Updated: 08/Jan/17  Resolved: 08/Jan/17

Status: Resolved
Project: netvirt
Component/s: General
Affects Version/s: Boron
Fix Version/s: None

Type: Bug
Reporter: Tali Ben-Meir Assignee: Tali Ben-Meir
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Duplicate
is duplicated by NETVIRT-401 NullPointerException when deleting an... Resolved
External issue ID: 7448

 Description   

Before deleting external network in newton PUT request is sent for neutron northbound API deleting most of the provider network info.

2016-12-26 13:41:47.053 13369 DEBUG networking_odl.common.client [-] Sending METHOD (put) URL (http://10.0.97.169:8080/controller/nb/v2/neutron/networks/05ed22ed-969b-4cd9-82f5-dc5f38fa2b12) JSON ({
  "network": {
    "provider:physical_network": null, 
    "ipv6_address_scope": null, 
    "revision_number": 6, 
    "port_security_enabled": true, 
    "provider:network_type": null, 
    "router:external": true, 
    "availability_zone_hints": [], 
    "availability_zones": [
      "nova"
    ], 
    "ipv4_address_scope": null, 
    "shared": false, 
    "description": "", 
    "tags": [], 
    "updated_at": "2016-12-26T11:41:46Z", 
    "is_default": false, 
    "provider:se

The actual delete of provider port will have to take place at this phase.
Curently the L3 models are not deleted on update and can't be deleted afterwords since L2 models are already gone



 Comments   
Comment by Tali Ben-Meir [ 27/Dec/16 ]

New network creation will fail to rebind L3VPN to the new vpn instance as a result

Comment by Tali Ben-Meir [ 27/Dec/16 ]

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

Generated at Wed Feb 07 20:21:27 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.