e3e9a9d39c
The shade objects all have a 'location' attribute which includes information about the cloud, domain and project an object is from. Add this to the base Resource object so that Resource objects start to match shade objects. Also, add a new type of attribute, 'computed' to set location to since location is not necessarily information from the remote payload. Also add an attribute parameter "coerce_to_default" which can be set to tell the SDK to force the use of the default value if the attribute would have been None or missing. Change-Id: I315bc863bc87a17fb6f6a3e265a46b9e0acd41ed
9 lines
337 B
YAML
9 lines
337 B
YAML
---
|
|
upgrade:
|
|
- |
|
|
The base ``Resource`` field ``location`` is no longer drawn from the
|
|
``Location`` HTTP header, but is instead a dict containing information
|
|
about cloud, domain and project. The location dict is a feature of shade
|
|
objects and is being added to all objects as part of the alignment of
|
|
shade and sdk.
|