config/sysinv/sysinv/sysinv/sysinv/api/controllers/v1
Carmen Rata ac2604e9a0 OpenLDAP certificate support in sysinv apis
A secure openldap server requires support for openldap certificates.
Internal sysinv rest api "cerificate_install" and system certificate
management CLIs "certificate-install" and "certificate-list" need to
have sysinv cert-mon support for openldap certificate.
This commit is the first step in making rest api "certificate-install"
and CLI "certificate-list" fully functional.
Subsequent "sysinv/conductor/manager.py" support code changes for
openldap certificate configuration will complete the sysinv cert-mon
implementation as they would need to be accompanied by openldap
schema updates for ssl certificate and key, updates done using puppet
configuration and part of a follow up commit.
New “mode=openldap” was added to internal sysinv rest api
"certificate_install" but it's usage is disallowed in the system CLI
"certificate-install".
The new secure endpoint for openldap/slapd is not yet being used.
In future next step, when SSSD (System Security Services Daemon)
client is introduced, security will be enhanced with use of LDAPS
for openldap/slapd.

Tests performed:
PASS: Add new mode=openldap to sysinv rest api "certificate_install".
Testing verifies the instrumentation of the rest api option
"m=openldap" in the sysinv cert-mon code and does not verifies the
full functionality of the option that is not enabled yet beyond
cert-mon. Testing shows in debug mode that the option is working and
cert-mon calls are logged. The option triggers cert-mon apis for
openldap as expected.
PASS: Disable mode-openldap in the system CLI "certificate-install".
PASS: Create new certificate and secret.
PASS: List all certificates. This test is to ensure installed
certificates are listed and CLI "certificate-list" is not broken.
The openldap certificate is expected not to be in the list.
PASS: Delete a certificate and secret.

Story: 2009834
Task: 44655

Change-Id: I01db5a7ea9848187655174b1b5451f73d9c5c220
Signed-off-by: Carmen Rata <carmen.rata@windriver.com>
2022-03-07 18:01:50 -05:00
..
__init__.py [PTP dual NIC config] Changes from new data model 2021-12-23 15:59:02 -03:00
address.py Merge "Fixed address interface foreign key inconsistency" 2020-03-30 16:44:34 +00:00
address_pool.py python3: Refactor dict for python2/python3 compat 2021-08-10 12:58:36 -04:00
base.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
ceph_mon.py Enable ceph-mon resize on AIO-DX 2022-02-17 17:39:59 +00:00
certificate.py OpenLDAP certificate support in sysinv apis 2022-03-07 18:01:50 -05:00
cluster.py python3: Refactor dict for python2/python3 compat 2021-08-10 12:58:36 -04:00
collection.py Fix calls in sysinv to non-existent methods and constants 2019-08-30 14:54:58 -05:00
controller_fs.py Fixed error responses in controller-fs 2020-02-19 15:06:02 -05:00
cpu.py Remove host hardware sysinv profile 2021-10-18 18:01:40 -03:00
cpu_utils.py Remove host hardware sysinv profile 2021-10-18 18:01:40 -03:00
datanetwork.py python3: Refactor dict for python2/python3 compat 2021-08-10 12:58:36 -04:00
device_image.py Preserve states for functional user and bmc image 2021-11-22 14:41:28 -05:00
device_image_state.py Sysinv extensions for FPGA support 2020-05-13 16:20:37 -04:00
device_label.py Allow applying device image with non-device label 2020-07-28 11:27:28 -04:00
disk.py python3: Refactor dict for python2/python3 compat 2021-08-10 12:58:36 -04:00
dns.py Forbid IPv4 DNS in an IPv6 OAM config 2020-02-06 10:27:04 -05:00
drbdconfig.py Deprecate sysinv.openstack.common.log 2019-11-05 15:29:20 -06:00
ethernet_port.py Re-enable important py3k checks for sysinv 2021-11-10 11:08:12 -03:00
fernet_repo.py Deprecate sysinv.openstack.common.log 2019-11-05 15:29:20 -06:00
health.py Add kubernetes health checks 2019-12-20 10:50:33 -06:00
helm_charts.py Fix helm charts tests for DebianOS 2021-08-17 07:39:31 +00:00
host.py Merge "[PTP dual NIC config] Manage parameter life-cycle" 2022-01-21 17:18:19 +00:00
host_fs.py Using general naming for app openstack 2021-11-24 17:59:48 -03:00
hwmon_api.py move rest_api to common code 2021-03-02 15:36:03 -06:00
interface.py [PTP dual NIC config] Manage parameter life-cycle 2022-01-19 13:18:24 -03:00
interface_datanetwork.py python3: Refactor dict for python2/python3 compat 2021-08-10 12:58:36 -04:00
interface_network.py Remove host hardware sysinv profile 2021-10-18 18:01:40 -03:00
kube_app.py Fixing app name when searching for apply modes 2022-02-21 18:39:36 -03:00
kube_cluster.py Config API for Kubernetes cluster access information 2021-03-01 07:29:12 -06:00
kube_cmd_version.py Add new kube_cmd_versions table and API endpoint 2021-08-04 16:31:25 +03:00
kube_host_upgrade.py Provide infrastructure for kubernetes upgrades 2019-11-22 15:13:52 -06:00
kube_rootca_update.py Remove force option for k8s rootca update complete/abort 2021-11-24 12:07:53 -05:00
kube_upgrade.py Fix erroneous networking upgrade error message 2021-11-23 11:34:01 -05:00
kube_version.py python3: Refactor dict for python2/python3 compat 2021-08-10 12:58:36 -04:00
label.py python3: Refactor dict for python2/python3 compat 2021-08-10 12:58:36 -04:00
license.py Deprecate sysinv.openstack.common.log 2019-11-05 15:29:20 -06:00
link.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
lldp_agent.py python3: Refactor dict for python2/python3 compat 2021-08-10 12:58:36 -04:00
lldp_neighbour.py python3: Refactor dict for python2/python3 compat 2021-08-10 12:58:36 -04:00
lldp_tlv.py python3: Refactor dict for python2/python3 compat 2021-08-10 12:58:36 -04:00
load.py Support application/json load-import request 2021-09-23 14:47:11 -04:00
lvg.py Remove host hardware sysinv profile 2021-10-18 18:01:40 -03:00
memory.py Modify OVS puppet plugin and host vswitch hugepages allocation logic 2021-12-14 14:23:32 -03:00
mtce_api.py move rest_api to common code 2021-03-02 15:36:03 -06:00
network.py python3: Refactor dict for python2/python3 compat 2021-08-10 12:58:36 -04:00
network_oam.py Add support for AIO-SX to DX migration on subcloud 2021-03-29 14:00:52 -04:00
node.py python3: Refactor dict for python2/python3 compat 2021-08-10 12:58:36 -04:00
ntp.py Deprecate sysinv.openstack.common.log 2019-11-05 15:29:20 -06:00
partition.py Re-enable important py3k checks for sysinv 2021-11-10 11:08:12 -03:00
patch_api.py move rest_api to common code 2021-03-02 15:36:03 -06:00
pci_device.py Display retimer version of the FPGA device 2021-10-13 16:29:27 -04:00
port.py python3: Refactor dict for python2/python3 compat 2021-08-10 12:58:36 -04:00
ptp.py [PTP dual NIC config] Patching PTP configuration 2022-02-10 11:51:08 -03:00
ptp_instance.py Fix PTP parameter deletion error messages 2022-02-22 07:04:01 -05:00
ptp_interface.py Fix PTP parameter deletion error messages 2022-02-22 07:04:01 -05:00
ptp_parameter.py [PTP dual NIC config] Changes from new data model 2021-12-23 15:59:02 -03:00
pv.py Remove host hardware sysinv profile 2021-10-18 18:01:40 -03:00
query.py Deprecate sysinv.openstack.common.log 2019-11-05 15:29:20 -06:00
registry_image.py Verify docker registry certificate with system trusted CAs 2020-05-29 17:46:18 -04:00
remotelogging.py Deprecate sysinv.openstack.common.log 2019-11-05 15:29:20 -06:00
restore.py Introduce CLI commands for system restore control 2020-10-09 16:54:04 +03:00
route.py python3: Refactor dict for python2/python3 compat 2021-08-10 12:58:36 -04:00
sdn_controller.py python3: Refactor dict for python2/python3 compat 2021-08-10 12:58:36 -04:00
sensor.py python3: Refactor dict for python2/python3 compat 2021-08-10 12:58:36 -04:00
sensorgroup.py Use oslo utils version of uuidutils. 2019-12-17 08:30:37 -06:00
service.py python3: Refactor dict for python2/python3 compat 2021-08-10 12:58:36 -04:00
service_parameter.py [PTP dual NIC config] Patching PTP configuration 2022-02-10 11:51:08 -03:00
servicegroup.py Deprecate sysinv.openstack.common.log 2019-11-05 15:29:20 -06:00
servicenode.py Deprecate sysinv.openstack.common.log 2019-11-05 15:29:20 -06:00
sm_api.py move rest_api to common code 2021-03-02 15:36:03 -06:00
state.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
storage.py Remove host hardware sysinv profile 2021-10-18 18:01:40 -03:00
storage_backend.py Expose ceph backend field over proxy endpoint 2021-05-24 11:00:19 +03:00
storage_ceph.py Clean unused ceph quota code 2022-02-15 14:12:19 -05:00
storage_ceph_external.py Allow configurable ceph storage backend network 2021-05-07 14:31:39 +03:00
storage_ceph_rook.py Allow configurable ceph storage backend network 2021-05-07 14:31:39 +03:00
storage_external.py Allow configurable ceph storage backend network 2021-05-07 14:31:39 +03:00
storage_file.py Allow configurable ceph storage backend network 2021-05-07 14:31:39 +03:00
storage_lvm.py Re-enable important py3k checks for sysinv 2021-11-10 11:08:12 -03:00
storage_tier.py Remove host hardware sysinv profile 2021-10-18 18:01:40 -03:00
system.py Add validation of special chars on system values 2022-01-26 11:06:37 -03:00
types.py Send the binary data instead of path 2021-05-08 05:52:48 -03:00
upgrade.py python3: Refactor dict for python2/python3 compat 2021-08-10 12:58:36 -04:00
user.py Deprecate sysinv.openstack.common.log 2019-11-05 15:29:20 -06:00
utils.py Address python3 string issues with subprocess 2021-08-11 10:59:49 -04:00
vim_api.py move rest_api to common code 2021-03-02 15:36:03 -06:00