34aa0b8b2c
This feature is used for updating the placement DB on NOVA side Cyborg DB should be kept up to date with the placement DB all the time. Here is an example on how to use it: from cyborg.services import report as placement_report_client p_client = placement_report_client.SchedulerReportClient() resource_provider = {'name': 'rp_name', 'uuid': 'uuid'} p_client.create_resource_provider(resource_provider) Change-Id: I04f5e3fc283074212841e62dde54df496db535ec
0 lines
Python
0 lines
Python