The pysnmp-lextudio version is more recent and maintained, we should
keep using that for the time being to avoid conflicts of
installation with ironic, while using simple pyasn1.
Change-Id: Icb6e7779100b676685e227e225fde5c392141333
The pysnmp library is not maintained since 4 years now and it's
incompatible with recent libraries like pyasn1.
Its fork pysnmp-lextudio is regularly maintained, we should move
to that.
For more info see https://github.com/etingof/pysnmp/issues/429
Change-Id: Ic37805b39054b1d6a4a4c69a8faf57b512d920a0
Proliantutils has a pattern of testing internal calls inside of
the Sushy library. This has the unfortunate side effect of becoming
broken as bugs and related issues are fixed.
Fixes the check on a response which upstream sushy has discovered
has become sensitive on several vendors where eTags must be utilized
to ensure a reliable and correct response from the BMC.
Related-Bug: #1976555
Change-Id: I6b802fbb6a3f93f67269c141cad02b58ccd2d3ac
This patch fixes 'insert_virutal_media' api to through an error
when the url given is either invalid or unreachable.
Closes-Bug: 1958976
Change-Id: I1d49086e214fe86a5bf5bc3986e7e886ee28ff30
* Mappings used to be an implementation detail, and now they're gone.
The CPU architecture handling was wrong anyway, copy it from Redfish.
* Update some tests to rely on Sushy constants rather than their copies.
* Mock sleep() in tests that can take a lot of time to finish.
Change-Id: I681c829a806fdf2c69ad0af8bbba1b527bffb926
This patch fixes the test cases which are dependent on
changes in sushy library version 3.12.0.
Closes-Bug: 1950421
Change-Id: I485010c613b0e8d5d4c9bcb96959730bae42dc88
Currently while removing the CA certificates from the iLO, when certificate
file list is empty, all the CA certificates from the iLO are removed. In some
cases certain certificates are required to be retained on the iLO. This
patch fixes the issue by accepting the list of certificates to be retained on
the iLO.
Change-Id: I4898361527e5785e181cffaf294557db0078c93d
This commit adds support for generating Certificate
Signing Request and importing Signed Certificates to iLO5.
Change-Id: I116e685d4f1e190679c2faa8fa296202f2433759
Adds support to clear certificates when no certificates are provided. In
this case the certificates that currently exist on the ilo are removed.
Change-Id: I351554a0c65d60b63fb7bf57ed1a6bae89f2d71c
Enhances the TLS certificate removal logic so that it now accepts
the list of TLS certificate files instead of fingerprints. Also
enhances the logic of exporting TLS certificates if multiple
certificates are present in a single file.
Change-Id: Ida1f13c27cea1134a38f5f8465398c63272494fb
Following inband deploy steps are added:
1. 'apply_configuration' is added for 'raid' interface.
2. 'flash_firmware_sum' is added for 'management' interface.
Change-Id: I42e153aaa52befb13d0471a2a1f0a2401684aaea
Adds py3 and removes py27 from tox environment
Fixes testcases that were failing for py38 environment.
Depends-on: https://review.opendev.org/#/c/738168/
Change-Id: I1a5f88c06808449e906d9b8ad43d690136737800
The new version enables a lot of standard flake8 checks, so a few
fixes are required. W503 is disabled as it conflicts with W504
and the latter seems to be preferred nowadays.
Also excluding C901 and E731 that should be fixed in different
patches as they require code changes.
Change-Id: I8decccc4925f86e0b979b47e2920d6a782d991d7
Decodes bytes object of fru print to string, was failing
during an ilo inspection.
Change-Id: Ieed55ffca1e839ff5a5dfe523038ba03ea14d0d7
Closes-Bug: 1853210
The sushy method _op() in connector.py accepts new set of arguments.
Proliantutils needs to accept these arguments in its overridden
method.
Change-Id: If66e23209cfcae7c418d1e0dec34add5ed65dc6c
Closes-Bug: #1863236
When updating firmware, some devices return a cookie with a newline in.
This can result in the following error:
Invalid return character or leading space in header: Cookie
This is due to the header validation in the requests library, which
requires no newlines in headers.
This change fixes the issue by stripping whitespace from the cookie.
Change-Id: Ib2dab7beef0da415e8f2358b459ec1205bf688b4
Closes-Bug: #1859616
Currently the IloClient object cached uses iLO host as the key.
This can be issue if the iLO credentials are changed. The cached
node will not use new credentials leading to failure in
communication with iLO.
Change-Id: Ie1ea10aae78c4dab307d8a31996322597046ecb1
Closes-Bug: 1852688