Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Overview

To better support more HPA capabilities without modifying the implementation code for Multi-cloud. so we need to extract the HPA discovery part of the code make it into a driver(HPA Discovery Driver). if we want to add new HPA feature or modify the implementation code for the currently feature, we just need to modify HPA Discovery Driver code.


Extract the original hpa discovery part code and make it into a driver.
we need to add hook in openstack, kubernetes and others plugin. then we develop driver for various languages.

We plan to develop python language and golang language(in R6 support python language).


Driver code Management

For python language driver, we put it into multi-cloud openstack plugin.

For golang language driver, we put it into multi-cloud kubernetes plugin.

Add New hardware

1.change the hpa discovery plugin

2.create new docker image based on the base image

  example:

  from multi-windriver:1.4.0

 add hpa-discovery-driver1(device vendor1)

 add hpa-discovery-driver2(device vendor2)


AR:

The first question: the first use case, if you have one HPA discovery plugin, how can you build artifact and package.

$ python gerrit.com/**/setup.py compile and install  # when docker build image time.

AR: add version control (branch name, commit id).

      plugin → hpa-discovery-driver


starlingx (intel nic, )

Usage

For python, run below command in openstack plugin

$ python setup.py

Test

Unit Tests with tox

  • No labels