config/sysinv/sysinv/sysinv/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
..
agent Update sysinv flake8 to use python3 2020-01-16 17:21:12 -06:00
api Support multiple CA certificates installation 2020-03-20 10:32:43 -04:00
cmd Move incorrectly located stand-alone scripts 2019-12-19 12:01:50 -06:00
common Support multiple CA certificates installation 2020-03-20 10:32:43 -04:00
conductor Support multiple CA certificates installation 2020-03-20 10:32:43 -04:00
db Merge "PTP Configuration Enhancements" 2020-02-11 22:03:08 +00:00
helm Merge "Set elasticsearch pod java options according to ip config" 2020-02-24 17:12:19 +00:00
objects Merge "Hugepage percent allocation." 2019-12-17 17:56:39 +00:00
openstack Deprecate sysinv.openstack.common.db in favor of oslo_db 2020-02-07 11:55:49 -06:00
puppet Add platform network type for storage 2020-03-12 09:09:42 -04:00
tests Support multiple CA certificates installation 2020-03-20 10:32:43 -04:00
__init__.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
_i18n.py Deprecate sysinv.openstack.common.gettextutils 2019-11-04 10:04:20 -06:00
netconf.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
sanity_coverage.py Sysinv tox updates. Prepare for bandit reports and test reports 2018-06-29 13:25:09 -04:00
version.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00