[NETVIRT-973] neutronvpn / some engineering work in order to enforce the code sequence of actions Created: 31/Oct/17  Updated: 04/Oct/18  Resolved: 04/Oct/18

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

Type: Improvement Priority: Medium
Reporter: Philippe Guibert Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The PortFixed entries, along with the VpnInterfaces entries, and the NeutronRouterInterface entries are tighted together.
In the code, it seems unrelated. It is requested to enforce this by creating a single entry point for handling those 3 actions.

In other words:
gather following actions, within createVpnInterface() and deleteVpnInterface().

  • try to gather
    removeVpnPortFixed/deleteVpnInterface/removeFromNeutronRouterInterfaceMap
  • try to gather
    createVpnPortFixed/createVpnInterface/addToNeutronRouterInterfaceMap

remarks to take into account:
[5] https://git.opendaylight.org/gerrit/#/c/62917/37/vpnservice/neutronvpn/neutronvpn-impl/src/main/java/org/opendaylight/netvirt/neutronvpn/NeutronvpnManager.java@872
[6] https://git.opendaylight.org/gerrit/#/c/62917/37/vpnservice/neutronvpn/neutronvpn-impl/src/main/java/org/opendaylight/netvirt/neutronvpn/NeutronvpnManager.java@1400
[7] https://git.opendaylight.org/gerrit/#/c/62917/37/vpnservice/neutronvpn/neutronvpn-impl/src/main/java/org/opendaylight/netvirt/neutronvpn/NeutronvpnManager.java@292
[8] https://git.opendaylight.org/gerrit/#/c/62917/37/vpnservice/neutronvpn/neutronvpn-impl/src/main/java/org/opendaylight/netvirt/neutronvpn/NeutronvpnManager.java@339


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