config/sysinv
Andy Ning c1c18871d7 Support multiple CA certificates installation
This update enhanced sysinv certificate install API to be able to
install multiple CA certs from a file. The returns from the API call
indicates the certs actually installed in the call (ie, excluding these
that are already in the system). This is neccessary especially for DC to
support multiple CA certs synchronization.

This update also added sysinv certficate uninstall API. The API is to
be used to remove a particular CA certficate from the system, identified
by its uuid. The API returns a json body with information about the
certificate that has been removed. This is required by DC sysinv api
proxy for certificate deletion synchronization, since DC tracks subcloud
certificates resource by signature while the uninstall API request
contains only uuid.

The uninstall API only supports ssl_ca certificate.

cgtsclient and system CLI are also updated to align with the updated
and new APIs. User can use "system certificate-install ..." to install
one or multiple CA certificates, and "system certificate-uninstall ..."
to remove a particular CA certificate from the system.

When multiple CA certificates are installed in the system,
"system certificate-list" will display each of the individual
certificates.

THe sysinv certificate configuration API reference is updated with the
new uninstall API. Unit tests are added for CA certificate install and
delete APIs.

Change-Id: I7dba11e56792b7d198403c436c37f71d7b7193c9
Depends-On: https://review.opendev.org/#/c/711633/
Closes-Bug: 1861438
Closes-Bug: 1860995
Signed-off-by: Andy Ning <andy.ning@windriver.com>
2020-03-20 10:32:43 -04:00
..
cgts-client Support multiple CA certificates installation 2020-03-20 10:32:43 -04:00
sysinv Support multiple CA certificates installation 2020-03-20 10:32:43 -04:00
sysinv-agent Adding support for displaying kubernetes versions 2019-10-23 14:10:10 -05:00