provision_devices called with empty set of requests
Bug #1634963 reported by
Jeremy Arnold
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-powervm |
Invalid
|
Undecided
|
Unassigned |
Bug Description
VIFEventHandler
To post a comment you must log in.
The overhead in the networking-powervm calls is negligible - we're building a couple of dicts (empty when there are no requests) and emitting a log message or two. Other than that, it's just the method call overhead.
If a consuming product is subclassing and overriding provision_devices, that override can easily avoid overhead by checking for an empty requests list and shorting out.