diff options
author | Robert Collins <robertc@robertcollins.net> | 2013-01-16 09:37:39 +1300 |
---|---|---|
committer | Robert Collins <robertc@robertcollins.net> | 2013-01-16 09:37:39 +1300 |
commit | a3eaf784ad2f9103a010646aa2a13db6f09f3679 (patch) | |
tree | bb6e363839037b491ade8377459b6c4c5c20d021 /nova/utils.py | |
parent | 9670c932c913fccbca263713bd9cee1b5e149d1c (diff) | |
download | nova-a3eaf784ad2f9103a010646aa2a13db6f09f3679.tar.gz nova-a3eaf784ad2f9103a010646aa2a13db6f09f3679.tar.xz nova-a3eaf784ad2f9103a010646aa2a13db6f09f3679.zip |
Reject user ports that have MACs the hypervisor cannot use.
If a hypervisor has requested specific MAC addresses, ports requested
by the user have to be in that set of MAC addresses, or they cannot be
used. Raising an error at network allocation time is cleaner than
waiting for the hypervisor to attempt to plug its vifs and error.
Change-Id: If556cc518a01df658044e3ba6b9d7584bfabe588
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions