- FUTURE WORK
- SEE ALSO
- SOURCE REPOSITORY
- COPYRIGHT AND LICENSE
Mojo::Redfish::Client - A Redfish client with a Mojo flair
my $client = Mojo::Redfish::Client->new(host => '192.168.0.1'); my $system = $client->root->get('/Systems')->get('/Members')->first; my $name = $system->value('/Name'); say "Name: $name";
Redfish is a modern standards-based system for querying computer systems for information. It replaces the existing IPMI "standard", such as it was, both in standardization and in using JSON over HTTP rather than binary protocols.
Mojo::Redfish::Client is, as the name suggests, a client for Redfish. It works to smooth out some of the common pain points of working with Redfish, especially the task of walking the data structure to find relevant information.
This is still a work-in-progress, however the author uses it in work application so every effort will be made to keep the api reasonably stable while improving where possible.
The per-operation concurrency limit. This is not a global concurrency, it only limits concurrency when a single operation would make several concurrent requests within it. For example (and the only current case), "get_p" in Mojo::Redfish::Client on an array. If zero (or otherwise falsey), no concurrency limit will be applied. Default is
The Redfish host.
If true, the default "ua" will establish the connection using SSL/TLS by setting the request scheme to
https. If false, the request scheme will be
http. If not defined, the url scheme will not be set. Default is true.
my $result = $client->get('/redfish/v1/Systems');
my $result = $client->root;
# same as (except for the caching) my $result = $client->get('/redfish/v1');
This module is still in early development. Future work will include
This module's development was sponsored by ServerCentral Turing Group.
Joel Berger, <firstname.lastname@example.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.