
Adds a CLI to oslo_utils.imageutils which can be used to validate images. Example usages: $ python -m oslo_utils.imageutils -i ./gpt-image.raw -v SAFETY_CHECK_PASSED=True VIRTUAL_SIZE=262144 ACTUAL_SIZE=262144 IMAGE_FORMAT='gpt' OSLO_UTILS_VERSION='7.4.0.dev1' $ python -m oslo_utils.imageutils -i ./bad-qed.qed -v SAFETY_CHECK_PASSED=False VIRTUAL_SIZE=262144 ACTUAL_SIZE=262144 IMAGE_FORMAT='qed' OSLO_UTILS_VERSION='7.4.0.dev2' FAILURE_REASONS='banned: This file format is not allowed' Change-Id: Ia94fa0431a55ab599ffd7385f2be1b18cf4bb1c4
16 lines
518 B
Plaintext
16 lines
518 B
Plaintext
# NOTE(dhellmann): Because oslo.utils is used by the client libraries,
|
|
# we do not want to add a lot of dependencies to it. If you find that
|
|
# adding a new feature to oslo.utils means adding a new dependency,
|
|
# that is a likely indicator that the feature belongs somewhere else.
|
|
|
|
iso8601>=0.1.11 # MIT
|
|
oslo.i18n>=3.15.3 # Apache-2.0
|
|
netaddr>=0.10.0 # BSD
|
|
debtcollector>=1.2.0 # Apache-2.0
|
|
pyparsing>=2.1.0 # MIT
|
|
packaging>=20.4 # BSD
|
|
tzdata>=2022.4 # MIT
|
|
PyYAML>=3.13 # MIT
|
|
psutil>=3.2.2 # BST
|
|
pbr>=6.1.0 # Apache-2.0
|