[RFE] Add should_bind_property to NetworkInterface
Bug #1662446 reported by
Vasyl Saienko
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Won't Fix
|
Wishlist
|
Vasyl Saienko |
Bug Description
We have a places where we rely on node.network_
This approach won't work with out of tree network drivers. We should have an @abstractproperty instead.
Changed in ironic: | |
assignee: | nobody → Vasyl Saienko (vsaienko) |
status: | New → In Progress |
summary: |
- [RFE] Add should_bing_property to NetworkInterface + [RFE] Add should_bind_property to NetworkInterface |
Changed in ironic: | |
importance: | Undecided → Wishlist |
tags: | added: rfe |
To post a comment you must log in.
We discussed this in the ironic meeting today [1].
It doesn't need a spec.
Dmitry sez no @abstractproperty because it isn't backward compatible.
Jim suggested a method (I think, you might want to read the log), but either a property or method is fine.
I'm fine with either; depends on the use case since you only had a link to one example of 'bad' code. However, whatever you decide, I'd like a better description of it, what it will default to be in the/a base class, what its value is (I know, it is a flag, but let's just be explicit and say Boolean blah blah). Basically, similar to the docstring associated with this new thing.
[1] starting at 17:47:47, http:// eavesdrop. openstack. org/meetings/ ironic/ 2017/ironic. 2017-02- 13-17.00. log.html