← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1863619] [NEW] When updating the network segment ID, the project_id should be provided

 

Public bug reported:

When the network segmentation ID is changed [1][2][3][4][5], the project
ID should be passed as an argument. If network-segment-range plugin is
enabled, the method [6] filtering the network segments should be able to
find those ones with the specified project_id.

This project_id value should be the project_id of the network, the same
as when the network object is created [7].


[1]https://github.com/openstack/neutron/blob/917593878d942afe83a75f57be816e6000b32883/neutron/plugins/ml2/plugin.py#L863
[2]https://github.com/openstack/neutron/blob/917593878d942afe83a75f57be816e6000b32883/neutron/plugins/ml2/managers.py#L249
[3]https://github.com/openstack/neutron/blob/917593878d942afe83a75f57be816e6000b32883/neutron/plugins/ml2/managers.py#L298
[4]https://github.com/openstack/neutron/blob/917593878d942afe83a75f57be816e6000b32883/neutron/plugins/ml2/drivers/type_vlan.py#L284
[5]https://github.com/openstack/neutron/blob/917593878d942afe83a75f57be816e6000b32883/neutron/plugins/ml2/drivers/helpers.py#L191
[6]https://github.com/openstack/neutron/blob/917593878d942afe83a75f57be816e6000b32883/neutron/plugins/ml2/drivers/helpers.py#L116
[7]https://github.com/openstack/neutron/blob/917593878d942afe83a75f57be816e6000b32883/neutron/plugins/ml2/plugin.py#L1001-L1006

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1863619

Title:
  When updating the network segment ID, the project_id should be
  provided

Status in neutron:
  New

Bug description:
  When the network segmentation ID is changed [1][2][3][4][5], the
  project ID should be passed as an argument. If network-segment-range
  plugin is enabled, the method [6] filtering the network segments
  should be able to find those ones with the specified project_id.

  This project_id value should be the project_id of the network, the
  same as when the network object is created [7].

  
  [1]https://github.com/openstack/neutron/blob/917593878d942afe83a75f57be816e6000b32883/neutron/plugins/ml2/plugin.py#L863
  [2]https://github.com/openstack/neutron/blob/917593878d942afe83a75f57be816e6000b32883/neutron/plugins/ml2/managers.py#L249
  [3]https://github.com/openstack/neutron/blob/917593878d942afe83a75f57be816e6000b32883/neutron/plugins/ml2/managers.py#L298
  [4]https://github.com/openstack/neutron/blob/917593878d942afe83a75f57be816e6000b32883/neutron/plugins/ml2/drivers/type_vlan.py#L284
  [5]https://github.com/openstack/neutron/blob/917593878d942afe83a75f57be816e6000b32883/neutron/plugins/ml2/drivers/helpers.py#L191
  [6]https://github.com/openstack/neutron/blob/917593878d942afe83a75f57be816e6000b32883/neutron/plugins/ml2/drivers/helpers.py#L116
  [7]https://github.com/openstack/neutron/blob/917593878d942afe83a75f57be816e6000b32883/neutron/plugins/ml2/plugin.py#L1001-L1006

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1863619/+subscriptions


Follow ups