config/sysinv/sysinv/sysinv/sysinv/cmd
Manoel Benedito Neto 937ce744b0 Implement IPsec Cert-Renewal Operation
This commit adds IPsec Cert-Renewal implementation to work
properly when specified by "--opcode" parameter in IPsec
client execution.

This implementation adds to IPsec client a rekey step after
the generated keys and cert are stored and exchanged during
cert-renewal operation. The main goal of this implementation
is to provide new certificates and keys for an IPsec client
host that has already been authenticated by IPsec server host.

Test Plan:
PASS: Full build, system install, bootstrap and unlock DX system w/
      unlocked enabled available status.
PASS: Execute "ipsec-client pxecontroller --opcode 2" in controller-1.
      Observe the previously created CertificateRequest was deleted and
      generated a new one for controller-1's node. The new certificate
      is sent to IPsec Client and stored with the swanctl rekey command
      executed sucessfully.
PASS: In a DC system with available enabled active status with IPsec
      server being executed from controller-0. Change c0 and c1 dates
      to expire IPsec certificates. If needed, recover kubernetes
      certificates or pods. Execute "sudo ipsec-client pxecontroller
      -o 2" command from controller-0 and controller-1. Observe that
      certificates and keys were generated and stored in /etc/swanctl/
      directory. Observe new SAs have been created between controllers
      by executing "sudo swanctl --list-sas" command.

Story: 2010940
Task: 49656

Change-Id: I69383005c2e204fe0a6401b2efaf05e8754f2bc3
Signed-off-by: Manoel Benedito Neto <Manoel.BeneditoNeto@windriver.com>
2024-03-08 12:24:02 -03:00
..
__init__.py Deprecate sysinv.openstack.common.gettextutils 2019-11-04 10:04:20 -06:00
agent.py Replace openstack/service library with oslo_service 2023-02-23 15:04:11 -03:00
api.py Reraise exception and log error message 2019-07-10 09:19:05 +00:00
applications.py Command line method to validate app metadata. 2023-12-11 11:51:18 -07:00
cert_alarm.py update license statements 2022-06-28 13:56:11 +00:00
cert_mon.py update license statements 2022-06-28 13:56:11 +00:00
conductor.py Replace openstack/service library with oslo_service 2023-02-23 15:04:11 -03:00
dbsync.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
dnsmasq_lease_update.py Replace openstack/context library by oslo_context 2023-02-24 16:17:30 -03:00
helm.py Remove armada and helm v2 2023-03-23 17:19:33 -03:00
ipsec_client.py Implement IPsec Cert-Renewal Operation 2024-03-08 12:24:02 -03:00
ipsec_server.py Add log messages to IPSec Auth Server and Client 2024-02-02 14:58:03 -03:00
platform.py Add cli command to wrap platform upgrade playbook 2022-09-15 13:31:34 -04:00
puppet.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
reset_n3000_fpgas.py Merge sysinv_fpga_agent with sysinv_agent 2022-10-03 14:12:28 -04:00
upgrade.py Skip sysinv load update for a USM upgrade 2023-12-04 20:07:34 +00:00
utils.py Add error message to system registry-image-delete 2023-10-05 10:29:29 -03:00