A particular BMC had it's wires crossed and sent a stray SOL packet
with the wrong payload type. We can't do anything to correctly process
said packet without making a pretty wild assumption about it, so drop
it with prejudice.
Change-Id: I96e68a49f55d955cc57c3e52ce70b5932e29680e
The iSCSI attempts require special consideration that is
not currently implemented. Mask it out for now.
Change-Id: I07de1ddce7474cd53755681d1d9e7ecf0bcbf56f
The numeric_data type was not handled, handle it.
boolean and cmd_data are not currently supported, mask them for now.
Change-Id: I11bad320237fbcf7fd630f7b55cb30cff66d2845
In addition to enumerate and list data types, there are also text_data
types, particularly for configuring 'IMM' items.
Change-Id: I290e731df5cfd46d00410fa5d0bd445b6d9654c3
For attributes that are list format, take the given value and
use ',' to transform to a list. This fixes the problem where only the
first option survived the candidate evaluation.
Change-Id: I92b921a2e72759c1b45ee7c5bf874a7ad2bc7c6c
The referer can confuse the XCC with different Host headers
as presented by python httplib of different flavors.
Change-Id: I85eb09ec86cc597adf6a5f42b1f8edb3b943bce7
URLs do not come naturally out of the XCC. Do some fixup to provide
symmetry in the pyghmi api for non-http remote media.
Change-Id: I0bf982eb64d39e90e4ef56d753fbc0a4d6fa562d
On a broderline case, a file can be accepted for upload,
but denied on add, but not denied at add time, but after.
Retrieve the list after the fact to pick up on this situation.
Change-Id: I90656d70d7f0006a08c04d6f0686d65afaa65c2b
When two contexts call into make identical sessions to the same BMC,
there is a period where it can rudely overwrite itself. Cover this
interval with a more early stage set of waiting sessions.
Change-Id: I94a81b19b2c522448f372b06990e1fdb801e0546
The fast path may be sufficient for certain queries,
enable a way to opt into faster, but less thorough firmware
enumeration.
Change-Id: If33db84a3ce965d5e528c65f3db4f190867b0b92
Do 100% upload, then do complete after the mount call.
This avoids software erroneously stopping the
upload/mount process.
Change-Id: I72af325c9796ceab2ba257f3bed0e42d4814c28d
The absolute import path is already specified in config.py.
Change-Id: Icd0fa12342a6597a30302a95077f52a63a246567
Signed-off-by: Tim Rozet <trozet@redhat.com>
Some settings are logically grouped in a totally implicit way.
Preserve the implicit ordering cue as needed.
Change-Id: If0378549f16ede92e873920c0a751737fc3be68f
Support the complex rules for hiding and readonly, providing more
useful error messages as possible to expalin why.
Change-Id: I29b11deff29fcc80702bb81e4e354c9ec8c78106
There are a few error codes that pretty much mean the same thing.
Provide a better text message to match that error code.
Change-Id: Ic673b8dff3f11296ddd99631600c7b45eb8dab76
The XCC requires an active web client session, or else it will unmount
the image automatically. The intent is to keep a user or software from
leaving around a media mount unintentionally. Signal our intention
by keeping a web session alive.
Change-Id: I709ed1d671787b97b863ec3112969428c95d8157
The 'request' method was overriding provided 'Cookies' header if
previous requests had captured other cookies.
Change-Id: I51e24e6095fa5955504b767a77fa5f2fb85448f7
Some depressing platforms don't support this. The intent is to work
around incorrect MTU settings for a network, which is hopefully rare,
so being opportunistic without being fatalistic seems a wise course.
Change-Id: I2108f335bdf623f6fc0a1723a8b5988c253a76b3