)]}'
{"nova/virt/xenapi/driver.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"1bf91250e35d67a992d82bdd3d343e640e15e6f5","unresolved":false,"context_lines":[{"line_number":491,"context_line":"        \"\"\"Update a ProviderTree object with current resource provider and"},{"line_number":492,"context_line":"        inventory information."},{"line_number":493,"context_line":""},{"line_number":494,"context_line":"        When this method returns, provider_tree should represent the correct"},{"line_number":495,"context_line":"        hierarchy of nested resource providers associated with this compute"},{"line_number":496,"context_line":"        node, as well as the inventory, aggregates, and traits associated with"},{"line_number":497,"context_line":"        those resource providers."},{"line_number":498,"context_line":""},{"line_number":499,"context_line":"        This method supersedes get_inventory(): if this method is implemented,"},{"line_number":500,"context_line":"        get_inventory() is not used."},{"line_number":501,"context_line":""},{"line_number":502,"context_line":"        Implementors of this interface are expected to set ``allocation_ratio``"},{"line_number":503,"context_line":"        and ``reserved`` values for inventory records, which may be based on"},{"line_number":504,"context_line":"        configuration options, e.g. ``[DEFAULT]/cpu_allocation_ratio``,"},{"line_number":505,"context_line":"        depending on the driver and resource class. If not provided, allocation"},{"line_number":506,"context_line":"        ratio defaults to 1.0 and reserved defaults to 0 in placement."},{"line_number":507,"context_line":""},{"line_number":508,"context_line":"        :note: Renaming the root provider (by deleting it from provider_tree"},{"line_number":509,"context_line":"        and re-adding it with a different name) is not supported at this time."},{"line_number":510,"context_line":""},{"line_number":511,"context_line":"        See the developer reference documentation for more details:"},{"line_number":512,"context_line":""},{"line_number":513,"context_line":"        https://docs.openstack.org/nova/latest/reference/update-provider-tree.html   # noqa"},{"line_number":514,"context_line":""},{"line_number":515,"context_line":"        :param nova.compute.provider_tree.ProviderTree provider_tree:"},{"line_number":516,"context_line":"            A nova.compute.provider_tree.ProviderTree object representing all"}],"source_content_type":"text/x-python","patch_set":1,"id":"9fb8cfa7_c3537c6a","line":513,"range":{"start_line":494,"start_character":8,"end_line":513,"end_character":91},"updated":"2019-06-25 18:32:18.000000000","message":"We could trim this out.","commit_id":"f26da50367df14324e6a7b1ac8dbbc6b81bb8bed"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"f51284a2e27712fb9f8721ff7236c732db1cfdf1","unresolved":false,"context_lines":[{"line_number":491,"context_line":"        \"\"\"Update a ProviderTree object with current resource provider and"},{"line_number":492,"context_line":"        inventory information."},{"line_number":493,"context_line":""},{"line_number":494,"context_line":"        :param nova.compute.provider_tree.ProviderTree provider_tree:"},{"line_number":495,"context_line":"            A nova.compute.provider_tree.ProviderTree object representing all"},{"line_number":496,"context_line":"            the providers in the tree associated with the compute node, and any"},{"line_number":497,"context_line":"            sharing providers (those with the ``MISC_SHARES_VIA_AGGREGATE``"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fb8cfa7_f26a0718","line":494,"updated":"2019-06-25 20:16:00.000000000","message":"the rest of this could also be pared","commit_id":"154334b4b2fe607989a27cedad64719df3ae1dd9"}]}
