neutron/neutron/services/metering/drivers/iptables
Brian Haley 8275f13dd7 Verify metering label exists before applying rule
If the metering-agent receives a label rule before it
has added the label, it will fail to update the iptables
rules as there are no existing chains.

When the action is "create", check if there is an existing
label, and create one and the corresponding iptables chains,
before trying to add the rule.

Closes-Bug: #1617248

Change-Id: Ia0ec1361188cca53023667d249c2b1e10bc22089
(cherry picked from commit 29652e0aff)
2017-06-14 16:11:50 +00:00
..
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
iptables_driver.py Verify metering label exists before applying rule 2017-06-14 16:11:50 +00:00