Get registry - HewlettPackard/python-ilorest-library GitHub Wiki

It is assumed that a rest/redfish object has been created and a login session has been initiated as mentioned in Quick Start section.

Example 26: Get registry

The method ex26_get_registry takes an instance of rest object , iLO host/ip address, iLO login user name, iLO login password and registry prefix as arguments.

:

The collection method is a generator function that returns collection members. In this example, the collection uri passed as an argument to collection() method is '/rest/v1/Registries' and it yields the inline items if present else yields the member links for each schema in the systems collection at /rest/v1/Registries.

:

Expected schema file type is verified against version 0 and 1.

:

For each registries in the collection find the link for the registry prefix that is requested. Please note that this is an extref rather than an href because the actual registries lie outside the data model.

:

Get the schema with the requested registry prefix through GET request.

:

⚠️ **GitHub.com Fallback** ⚠️