← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1342143] [NEW] ml2: tunnel_id_ranges and vni_ranges values are not validated

 

Public bug reported:

Values of ranges of GRE tunnel IDs and VXLAN VNI IDs are not validated and can be set in the following ways:
vni_ranges = -100001:200000 (tun_min < 0)
vni_ranges = 100001:20000 (tun_min > tun_max)

Some checks need to be added to the _parse_tunnel_ranges method [1]

[1]
https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/drivers/type_tunnel.py#L52

** Affects: neutron
     Importance: Undecided
     Assignee: Elena Ezhova (eezhova)
         Status: New


** Tags: ml2

** Tags added: ml2

** Summary changed:

- tunnel_id_ranges and vni_ranges values are not validated
+ ml2: tunnel_id_ranges and vni_ranges values are not validated

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

Title:
  ml2: tunnel_id_ranges and vni_ranges values are not validated

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Values of ranges of GRE tunnel IDs and VXLAN VNI IDs are not validated and can be set in the following ways:
  vni_ranges = -100001:200000 (tun_min < 0)
  vni_ranges = 100001:20000 (tun_min > tun_max)

  Some checks need to be added to the _parse_tunnel_ranges method [1]

  [1]
  https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/drivers/type_tunnel.py#L52

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


Follow ups

References