← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1502901] [NEW] allowed address pair rule never matches iptables counter because of MAC address format

 

Public bug reported:

the dialect of mac address rendering we are using[1] omits leading 0s in
each hex byte representation. (e.g. 11:11:11:0F:11:11 becomes
11:11:11:F:11:11). This causes the iptables counter matching code to not
find this rule and replace it with a new one on every iptables-save
call.


1. mac = str(netaddr.EUI(mac, dialect=netaddr.mac_unix))

** Affects: neutron
     Importance: Undecided
     Assignee: Kevin Benton (kevinbenton)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Kevin Benton (kevinbenton)

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

Title:
  allowed address pair rule never matches iptables counter because of
  MAC address format

Status in neutron:
  New

Bug description:
  the dialect of mac address rendering we are using[1] omits leading 0s
  in each hex byte representation. (e.g. 11:11:11:0F:11:11 becomes
  11:11:11:F:11:11). This causes the iptables counter matching code to
  not find this rule and replace it with a new one on every iptables-
  save call.


  1. mac = str(netaddr.EUI(mac, dialect=netaddr.mac_unix))

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


Follow ups