cyborg/cyborg/services/__init__.py
Li Liu 34aa0b8b2c Added NOVA Placement API Client and unit tests.
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
2018-01-29 12:37:26 -05:00

0 lines
Python