Unique check in allowed address pair's extension not work well
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Wei Wang |
Bug Description
Test this case:
Assume a port's mac_address is 12:34:56:78:aa:bb
Then put these to allowed address pair:
[{"ip_address": "10.0.0.1"},
{"ip_address": "10.0.0.1",
"mac_address": "12:34:
This can pass in extension's validator, but will cause error in db, for mac_address is None in extension, but conver to
port's real mac_address in db.
Unit test code:
def test_update_
with self.network() as net:
res = self._create_
port = self.deserializ
req = self.new_
res = req.get_
description: | updated |
Changed in neutron: | |
assignee: | nobody → Wei Wang (damon-devops) |
Changed in neutron: | |
status: | New → In Progress |
description: | updated |
Changed in neutron: | |
milestone: | none → liberty-2 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | liberty-2 → 7.0.0 |
Fix proposed to branch: master /review. openstack. org/172875
Review: https:/