metalsmith/metalsmith
Harald Jensås 9c2252ea88 Use a network cache in Instance
When listing NICs for an instance populate a class global
cache of networks by network_id. When listing nodes with VIFs
on the same network this reduces the amount of calls to the
network service.

250 Nodes without patch: real    6m29.342s
250 Nodes with patch:    real    5m26.544s

Story: 2010571
Task: 47301
Change-Id: I99a2d8ecab657c8e4c852c73e816a5a8f2856471
2023-02-07 15:15:28 +01:00
..
test Do a precise node lookup for unprovision 2022-07-12 08:55:39 +00:00
__init__.py Remove deprecations from 0.13 2019-08-02 14:24:33 +02:00
_cmd.py Bring formatting in line with other OpenStack CLI 2019-07-22 15:01:15 +02:00
_format.py No need to import print function anymore 2020-04-21 13:23:46 +02:00
_instance.py Use a network cache in Instance 2023-02-07 15:15:28 +01:00
_network_metadata.py Write network_data.json metadata to config-dirve 2021-09-22 14:50:02 +02:00
_nics.py Allow both 'network' and 'subnet' in NIC 2022-02-01 09:50:41 +01:00
_provisioner.py Deprecate instance network boot 2022-08-24 13:19:52 +02:00
_scheduler.py Stop using six library 2019-12-03 15:15:20 +01:00
_utils.py Stop using six library 2019-12-03 15:15:20 +01:00
exceptions.py Write network_data.json metadata to config-dirve 2021-09-22 14:50:02 +02:00
instance_config.py Write network_data.json metadata to config-dirve 2021-09-22 14:50:02 +02:00
sources.py Set image_disk_format from file extension for HTTP images 2021-07-06 14:58:59 +12:00
version.py Add docs generation (+ clean up) 2018-05-18 13:12:29 +02:00