cyborg/devstack
Shaohe Feng 604e5b54fe support sub provider
With this patch, cyborg can report accelerators information into
placement. Then scheduer can find an appropriate host according to
user requirements.

This patch leverages Nova's code in order to avoid reinventing the wheel.

It is batter that nova can split the placement client to a separated lib.
So other projects can use it easily.

This new client can support provider trees, that is needed by cyborg's
different dirvers.
We can create a sub provider tree easily by the follow method.
class SchedulerReportClient(object):
    def get_provider_tree_and_ensure_root(
           self, context, rp_uuid, name=None,
           parent_provider_uuid=None)

The patch include:
1. add get_ksa_adapter for placement client

2. add placement client

3. update placement config

Missing testcase for this patch.

Change-Id: I1ad9d525fa070dfa0f7cbf374003a74c50de17b4
2018-08-10 07:49:37 +00:00
..
lib support sub provider 2018-08-10 07:49:37 +00:00
plugin.sh bug fix: devstack adds cyborg account and endpoint. 2018-02-08 10:57:42 +00:00
settings Add devstack plugin for Cyborg 2017-09-12 22:43:47 -06:00