This patch updates the `develsetup.rst` link in testing.rst which
is throwing 404 with the current link. And also updated the
develsetup document to link to the dmtf/README.rst for detailed
setup steps.
Change-Id: I3d27b0e06d7a236c9491333b580fcad665d56728
- Move previous simulator files into mockup_0.99.0a directory.
- Cleanup, adapt mockup_0.99.0a files.
- Add mockup_1.1.0 directory to host the new simulator files.
Note :
- First redfish-client tests against this new mockup work well.
- Of course, this is a first commit so it could be refined.
Change-Id: I88ac480e5b303922be5ec37e1a14a91f68d0bd92
The change on commit I319376f818b532a1511248a9f17ecd0a41540e88 is
reverse by Id13e94d75f85fec7d98f1fa005c37836c244e08a recently
Change-Id: Ibf8cd587bbbc2d01614e677721f5d80fce06e1fa
- Check if local docker is available, if not skip the tests.
So this should allow gerrit tests to pass.
- Stick to docker-py 1.x, because 2.0 has lot of naming changes.
- Use Fedora 25 instead of 23.
- Use Ubuntu 16.04 instead of 14.04.
- Use pip --pre parameter. Allowing to test dev release (pre).
- Rename Dockerfiles to get more consistency using a new naming
convention.
- Naming convention that I hope will make Bruno happy ! ;)
Change-Id: I3cbd51f201c4805ba58ebcabb023237624d4dfc8
- Packages can now be built with Docker containers and project-builder.org for
Mageia 5, Fedora 25, OpenSUSE 42.2 & CentOS 7
- Fix a bug in conf file path management in setup.py
- A script pbconf/mkctn is also availble to ease package building
- Status is documented in pbconf/README.rst
- Update install script to have a variable for doc installation path which is
different between Mageia/Fedora and OpenSUSE
Change-Id: Id34e885c5cba7b650adf1638147ffb089ad3c7c3
- usage files are now placed under /usr/share (PBSHAREPATH variable) and not
/usr/bin with the binary.
- PBTEMPLATEPATH replaced by PBSHAREPATH/templates
Change-Id: I757c679bf03e4e93028e019086ad665e2d43b35b
- Create a new python-redfish-data package in order to share common content
between python2 and python3 packages
- Fix python3 package by renaming binaries to allow joint installation of
python2 and python3 packages
- Adds encapsulation of tests
- Fix doc package build
Change-Id: I3579663e77dd55b7162a3d1346bf6cd00f73c0a5
Now that python-redfish is an OpenStack project, adapt references to
point to their git repository instead of project member.
Also precise instructions for contributions
Change-Id: I9367ac8664ffa075b74fed6b09f57b94e74d3539
- Fix bug in install on directory.
- Improve dependencies on RPMs.
- Adds support for redfish-check-cartridge in RPMs.
- Update pbconf content for new pb 0.14.x naming.
Change-Id: Ifd16e06660fe5945d88ca8f8ee6999e7c8a0d3b8
- Add redfish-check-cartridge to check cartridge changes into a HPE Moonshot
chassis.
- Fix for m510 cartridges with first revision of firmware that do not
have Manager and Chassis data.
- Various updates to be pep8 compliant.
Change-Id: Ie38cc5539e71aaf1041394fbbc6596c313f9bb47
- Add oem structure
- Add oem as a redfish submodule.
- Modify code and files to avoid circular imports :
- types.py contains the Base, BaseCollection and Device class on
which all standard and oem classes are inherited.
- standard.py will contain the redfish standard classes.
- oem/<oem_name> will contains specific classes for <oem_name>.
so oem/hpe will contains hpe specific classes.
Note: the goal of python-redfish is not to deal with oem part.
So oem will be kept as minimal as possible, however currently
some critical hardware characteristics are only available into the oem
part that's the reason why we are implementing it.
- Add oem class NetworkAdapter
- This is mainly to extract mac@ with function get_mac().
- Add classes SmartStorage, ArrayControllersCollection,
ArrayControllers, LogicalDrivesCollection, LogicalDrives.
- Add Logical drives methods get_capacity(), get_raid.
- Improve system template and add a couple of function.
- Add get_structured_name().
- Add get_uefi_path().
- However this 2 functions provide invalid content due to the firmware.
- Review and inherit from device instead of base for some components.
Change-Id: Id13e94d75f85fec7d98f1fa005c37836c244e08a
- Adds the new documents published in January 2017 by the DMTF
API spec 1.0.5 and 1.1.0
- Adds new schema 2016.3
- Adds new mockup 1.1.0
Change-Id: I19db748aaf0279fa74c49d2ceade605f2177184b
- Adds a macro to build for python3 (not activated for CentOS 7)
- Fix dependency list for CentoS7
- Limit VM list to reasonable distros
- This is again a test version.
- Build Test remains to be done for Fedora and Mageia
- Fix #45 with operational CentOS 7 build
Change-Id: I90fc6030a11932b7ef259100eb72aa629a19d1a6
- Update container creation process to patch the mockup.
- Also remove apache pid file if present. Happens if container is
brutally killed.
- This is a fix for the old mockup 0.99a waiting to create a new
process and container to use the 1.0.
Change-Id: I1be50a77b514d01e119be128b63a55180d2fa3fd
- Added 1.0.2
- Added 1.0.3 (2016-07-14)
- Added 1.0.4 (2016-08-30)
- Add the new mockup v1.0.0
- Add the new API schema 2016.2
- Add Moonshot Data Model ref in dmtf directory
Change-Id: I0a7cb127d5fb9324e50164eff786e54411c0e7aa
- Do not pass tests on redfish-client
Currently tests are using a local docker container. We remove them to
allow jenkins tests to pass.
- Move programme usage in a separate file to get rid of pep8 issue.
- Fix tox venv usage
- Add flake8 test dependency
Change-Id: I12f3a567f3ff83c34c3832a544ef547372857161
function geturl will rasie a TypeError if we specify a str url and
replace the scheme value with a unicode value. In order to work with
both string redfish url and unicode redfish url, we need to convert
the "https" to the scheme's type.
This bug canbe reproduced with:
from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
from builtins import object
import json
from urllib.parse import urlparse, urljoin, urlunparse
url=urlparse(unicode("http://127.0.0.1"))
url._replace(scheme="https").geturl()
url=urlparse(str("http://127.0.0.1"))
url._replace(scheme="https").geturl()
Change-Id: I1aa0f173a7b843c2bdf3eba8425ff794778b74da