The supported wheezy platform we are now adding
pyca to. Additionally, the options were wrong for
such old debian build utilites.
Change-Id: If92de1356cd45c5f4a260b6df72144dbbfe70c3d
XCC convention is to zero-pad the minor number
if less than ten. Support this and make it look less odd.
Change-Id: I093019d68d5c47ffe73d49eba736da5c1bd9ce32
The effort to restore pep8 made mistakes and mangled some
data. Additionally correct a python2/3 incompatibility.
Change-Id: I247d00c3214c30d135c2c131d7ab7bd411dfb476
Some implementations use 'Other' since none of the specified
categories are technically Power.
For such a case, when it is in W, Ws, Wm, or Wh, correctly
flag them as power or energy category.
Change-Id: I515f74af6fc0cf3c2d14c6f94b74a295929cf082
If the caller uses bytes, then try
to decode to string using utf-8.
This fixes compatibility with some
scenarios, particularly involving python
2/3 compatibility.
Change-Id: I78692db4f9e8abb885567eaf0e5500908e71a5a0
Keep extended configuration utterly separate to ease confusion
by calling code as to what belongs to which category.
Change-Id: Ic97ad79fa796f63b8825db48059450a4c78f75c9
The use of ord against a bytes object is not supported
in python 3. Change to a bytearray for compatibility
with both python 2 and 3.
Change-Id: I583c83d88c063aac2c085ac6dac8a23211a2f3eb
The pycodestyle fixes that were submitted broke a few things.
One it removed the utf8 declaration for code that had utf8 in it, breaking python2.
It also introduced a circular import by moving an import to
unconditionally import rather than conditionally import.
Fix these two issues.
Change-Id: Ibfeccd5b649bd597b7f879bb6124d8bbcbc3ec69
There are evidently scenarios where an orphaned object could
be stuck in logging indefinitely. Place a cap and automatically
mark the object if it suffers from this.
Change-Id: I60733c1eabb56494ad848595b46240af82c186d3
Under Python3, indexing a bytes gets a number instead of a str,
adjust to bytearray which is number in both 2 and 3.
Change-Id: I249729c2287bb58dd764a627c298c74e5ebb50cc
With change I1b5ad99c89d8dec0abd18b1f794dabdb0aed13c3, parse module
has started using python-dateutil, but it's not been added to
requirements.
Change-Id: I779f654f4529e863b8feeaebc20ee7467176ad75
Closes-bug: #1855983
When given custom headers, webclient was persistently leaving
the Content-Length modified. Fix by making a private
copy before potentially modifying it.
Change-Id: I2de5268ffc35a725e7b9d360214eab498d2ac788
The 109 error code means the file was not
recognized, which can mean the file is incorrect
or that the update provided is not one that
supports remote update.
Change-Id: I4437916b5812b9cb0dfb9e92460a2f8a7c850849
tsma is shared between IPMI plugin and redfish.
Since IPMI doesn't provide fishclient and tsma doesn't use
it anyway, make it optional argument.
Change-Id: I0bd9e72c0aae713b96a8ef28244e7182dcc1e1a7
There were a couple of issues that are inadequately
explained and also a chance of failing during report
on the download.
Change-Id: Iac358f6f6b96925aa823d49fb94a320a99a90c23
If the fetch does not have 'Systems', it seems to
mean the redfish subsystem is not ready yet
on the target BMC.
Change-Id: I6935ab31d090185e1bcc43364e8fc306f5635975
The code no longer uses tmplist for anything. It has been observed
that select.select may return something other than a 3 member
tuple, so become apathetic about the nature of the return.
The fact this can happen is in all likelihood a bug in the select
implementation, however it's hard to nail down and easy enough
to tolerate.
Change-Id: Ib13a6dcce0809f9c2c4d9f02e19adc9de818f3fb
SR635/SR655 presents a distinct interface for getting support
information bundle. Implement that interface.
Change-Id: I38b2196b743a50f02702a6ffb3e538ddf0587984