SR635/SR655 presents a distinct interface for getting support
information bundle. Implement that interface.
Change-Id: I38b2196b743a50f02702a6ffb3e538ddf0587984
If the session is dead, have the wc property function discard and
re-establish the connection, rather than passing the useless
stale session to the caller.
Change-Id: I701c396ac9eedc1749b13c196e19fb1c4e996001
Python 2.6 is dead since a while and we should move out from
Python 3.5 in favor of Python 3.6 and Python 3.7
Change-Id: I36ff0e1bc1db018bb7cce00a741682125aca4ac4
Some implementations require etag to set the identify light.
Some implementations do not provide the allowable reset values up
front and require chasing yet another url.
Fix an issue where a temperature sensor
without available reading caused an error.
Change-Id: Ie0b3c880b311438938d016857e4466c55447f7a3
Some redfish implementations do not handle such a request
gracefully. Avoid sending the command if the command allegedly
would have no effect.
Change-Id: I21b3ce18bb37747b71a67cbd0268d227ade6aad9
If a session is doing a best-effort 'logout' due
to a mark_broken scenario, do not activate the
timeout logic, which will cause it to endlessly
recurse into itself.
Change-Id: I9b84d3138f161cc982dd1107586d31be68523108
If we have an sol_handler, request SOL deactivation
on the way out. This works around issues on select
codebases where IPMI stack state gets corrupt if a
payload is active during ipmi logout.
Change-Id: Ie1bcada6206c340bb954e5d5c8a99678e1d3162c
Error on unrecognized and also check
for a longer list of possible actions
that we wouldn't mind using.
Change-Id: I947ce7e76d28fe1e9a296c5c2a1e5a99a1a285ec
TSM may be in a state that cannot
provide firmware information, raise
an exception in such an event.
Change-Id: I8706624f4b46e12b470a78949ea429469e2d9640
Since the autosuffix function can change the filename,
return the modified name so that the caller knows the
changed name.
Change-Id: I751d32d70f0d2c1813b1af081ee61b07a8faab90
Newer TSM requires JSON rather than form encoded auth.
Try the newer method and fallback to form for compatibility.
Change-Id: Ic0fd8fe949eb0bc328c57038e998d8c9570e7054
For one, improve the 'default' nic finding behaviors. This
allows a simplified view of even a somewhat complicated manager.
Additionally, add parameters so that multi-homed BMCs can actually
be managed.
Change-Id: I6b8f842a382cc32c80b7609e9ad574bcacf15b7a
DCMI uses ord on a buffer/memoryview. In python2 this
makes sense but in python3 it does not work. Switch to
use of bytearray which acts same under both.
Change-Id: I83ad3ec087db820a44e09edf0376b6237af9ca87
Accomodate python 2 and 3 names for urlencode and
consistently use binary bytes in processing the hpm
contents.
Change-Id: Id733e09c317135a04526e307d850d7c6bc399955
First normalize to bytes and then use byte to null
pad and finally use bytearray to normalize the
2 and 3 to behave the same on indexing and use that
for extending the command.
Change-Id: I9e3e89f5f8ac411c770f1a6371f9b365868e8c87
Normalize as possible to str type, whether that is bytes or unicode.
Fix internal consumers of xraw_command that have bytes expectation that
get broken by memoryview being more bytearray like.
Use io.BytesIO as python3 stdlib doesn't like it's own StringIO.
Change-Id: I0140c8c19421786949a52b0e1fa4b392684a78de
The main spec file can be a challenge for some
to build. Provide a simplistic spec file with
reduced function.
Change-Id: Idc295f3eda7b708f0258f8d0934e3fed6a2950d8
This gives common access to TSM OEM function to redfish
and IPMI (which really is using https here). Should any
function come up which absolutely suggests IPMI use in the
TSM module, it will be conoditionally enabled by ipmi side
and ignored redfish side.
Change-Id: I635e3a1cb2f333930a5b8f2e0dc90c08e4ec72d0
The SMM has a number of account policies. Provide these using
the same vocabulary as XCC account policies.
Change-Id: I0fa12f252468aaab8952763b6824a97aea666e19
Since the expiration warning can block expiration, always
set warning when expiration set.
Aim for 8% of the interval.
Change-Id: Iecffb9c26822a21632b22170607bb2019fb52e29
Rather than passing a value through, cast to int
if the registry is available and instructs us to do
so.
Change-Id: I1b057f15278ba0cd0e98d23b073e3333fb896589
In much the same way system_configuration permits a system to
extensibly describe UEFI/BIOS type configuration, offer OEM modules
a mechanism to do the same for BMC specific settings.
Change-Id: Ic6be1b90247afe9b43af498e90e4d139343a5124