ironic/ironic/tests/unit/drivers
Julia Kreger bb3b2349f9 Pre-shared agent token
In order to improve security of the lookup/heartbeat
endpoints, we need to generate and provide temporary tokens
to the initial callers, if supported, to facilitate the
verification of commands.

This is the first patch in an entire series which utimately
enables the endpoint communication to be better secured.

The idea behind this started in private story 2006634 which
is locked as a security related filing covering multiple
aspects of ironic/ironic-python-agent interaction centered
around miss-use and generally exposed endpoints. That story
will remain marked as a private bug because it has several
different items covered, some of which did not prove to be
actually exploitable, but spawned stories 2006777, 2006773,
2007025, and is ultimately similar to Story 1526748.

Operationally this is a minimally invasive security
enhancement to lay the foundation to harden interactions
with the agent. This will take place over a series of
patches to both Ironic and the Ironic-Python-Agent.

Also see "Security of /heartbeat and /lookup endpoints"
in http://lists.openstack.org/pipermail/openstack-discuss/2019-November/010789.html

Story: 2007025
Task: 37818

Change-Id: I0118007cac3d6548e9d41c5e615a819150b6ef1a
2020-02-20 14:33:32 -08:00
..
modules Pre-shared agent token 2020-02-20 14:33:32 -08:00
__init__.py Prepare for functional testing 2015-09-28 21:27:01 +00:00
boot.ipxe Convert iPXE boot script to Jinja template 2016-11-21 18:44:38 +02:00
ipxe_config.template Correct handling of ramdisk_params in (i)PXE boot 2019-10-28 10:03:25 +01:00
ipxe_config_boot_from_volume_extra_volume.template Correct handling of ramdisk_params in (i)PXE boot 2019-10-28 10:03:25 +01:00
ipxe_config_boot_from_volume_no_extra_volumes.template Correct handling of ramdisk_params in (i)PXE boot 2019-10-28 10:03:25 +01:00
ipxe_config_timeout.template Correct handling of ramdisk_params in (i)PXE boot 2019-10-28 10:03:25 +01:00
pxe_config.template Correct handling of ramdisk_params in (i)PXE boot 2019-10-28 10:03:25 +01:00
pxe_grub_config.template Correct handling of ramdisk_params in (i)PXE boot 2019-10-28 10:03:25 +01:00
test_base.py Add indicator management harness to ManagementInterface 2019-08-26 12:05:29 +02:00
test_drac.py Add Redfish vmedia boot interface to idrac HW type 2019-10-11 20:01:09 -04:00
test_fake_hardware.py Add indicator management harness to ManagementInterface 2019-08-26 12:05:29 +02:00
test_generic.py Use openstacksdk for accessing ironic-inspector 2019-07-31 15:23:39 +02:00
test_ibmc.py Add Huawei iBMC driver support 2019-03-14 11:04:29 +08:00
test_ilo.py Out-of-band `erase_devices` clean step for Proliant Servers 2019-08-23 08:09:20 +00:00
test_ipmi.py Add "noop" management and use it in the "ipmi" hardware type 2018-08-07 13:25:50 +00:00
test_irmc.py Deal with iPXE boot interface incompatibility in Train 2019-07-03 04:06:54 +00:00
test_redfish.py Add Redfish Virtual Media Boot support 2019-08-14 14:19:03 +02:00
test_snmp.py Switch the "snmp" hardware type to "noop" management 2018-08-07 15:40:29 +00:00
test_utils.py Completely stop using the "fake" classic driver in unit tests 2018-06-06 16:10:43 +02:00
test_xclarity.py tox.ini: flake8: Remove I202 from ignore list 2018-02-26 09:00:42 -08:00
third_party_driver_mock_specs.py Add indicator management to redfish hw type 2019-11-21 12:35:24 +01:00
third_party_driver_mocks.py Stop using six library 2019-12-23 09:38:25 +01:00