These changes are required to support two upcoming decorators, where plugin authors will be allowed to define the ways for calculating the size of different sources [Direct Linked Source, Staged Linked Source, and Virtual Source]. That data can then be displayed in the UI/CLI and used as needed by users.
Solution:
Most of these changes are boilerplate to support the two upcoming decorators.
Problem:
These changes are required to support two upcoming decorators, where plugin authors will be allowed to define the ways for calculating the size of different sources [Direct Linked Source, Staged Linked Source, and Virtual Source]. That data can then be displayed in the UI/CLI and used as needed by users.
Solution:
Most of these changes are boilerplate to support the two upcoming decorators.
Testing
git blackbox -s appdata_python_samples --extra-params="-p virt-sdk-repo=https://github.com/vimleshmishra/virtualization-sdk.git -p virt-sdk-branch=develop"
git blackbox -s appdata_basic -c APPDATA_PYTHON_DIRECT_CENTOS73 --extra-params="-p virt-sdk-repo=https://github.com/vimleshmishra/virtualization-sdk.git -p virt-sdk-branch=develop"
git blackbox -s appdata_basic -c APPDATA_PYTHON_STAGED_CENTOS73 --extra-params="-p virt-sdk-repo=https://github.com/vimleshmishra/virtualization-sdk.git -p virt-sdk-branch=develop"