# ironicclient.common.filecache module

`ironicclient.common.filecache.``retrieve_data`(host, port, expiry=None)

  Retrieve the version stored for an ironic ‘host’, if it’s not stale.

  Check to see if there is valid cached data for the host/port combination and return that if it isn’t stale.

  param host: The host that we need to retrieve data for param port: The port on the host that we need to retrieve data for param expiry: The age in seconds before cached data is deemed invalid

`ironicclient.common.filecache.``save_data`(host, port, data)

  Save ‘data’ for a particular ‘host’ in the appropriate cache dir.

  param host: The host that we need to save data for param port: The port on the host that we need to save data for param data: The data we want saved

this page last updated: 2020-04-10 14:03:55

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug questions?