This adds a register hook to the objects base class that allows us to late-import objects classes into ironic.objects. This is useful to allow object classes to depend on other objects. For example, this will allow us to do the Port.node_uuid munging that we currently do in the API layer, in the objects layer instead. This is completely taken from Nova, much thanks to comstud and dansmith and whoever else worked on that. Change-Id: Ic655e7af533497bda5e8e72d3bd90c27394681a7changes/97/262097/3
parent
1109d4bd5d
commit
946ea0a515
Loading…
Reference in new issue