Tony Asleson
2014-09-24 21:56:52 UTC
Code re-factoring to enable us to move capability checking
code to separate file.
Created a new constants file and moved more constants to
dmtf file.
V2:
- Updated copyrights on new files
- Renamed file to smis_cap.py instead of smis_capabilities.py
- Changed from class to functions
Tested clean on 3Par provider.
Tony Asleson (3):
smis.py: Move more functions to utility
smis.py: Move constants
smis.py: Move capability code to separate file
packaging/libstoragemgmt.spec.in | 2 +
plugin/Makefile.am | 4 +-
plugin/smispy/dmtf.py | 70 +++
plugin/smispy/smis.py | 962 ++++++---------------------------------
plugin/smispy/smis_cap.py | 398 ++++++++++++++++
plugin/smispy/smis_common.py | 61 +++
plugin/smispy/smis_constants.py | 132 ++++++
plugin/smispy/utils.py | 49 ++
8 files changed, 865 insertions(+), 813 deletions(-)
create mode 100644 plugin/smispy/smis_cap.py
create mode 100644 plugin/smispy/smis_constants.py
code to separate file.
Created a new constants file and moved more constants to
dmtf file.
V2:
- Updated copyrights on new files
- Renamed file to smis_cap.py instead of smis_capabilities.py
- Changed from class to functions
Tested clean on 3Par provider.
Tony Asleson (3):
smis.py: Move more functions to utility
smis.py: Move constants
smis.py: Move capability code to separate file
packaging/libstoragemgmt.spec.in | 2 +
plugin/Makefile.am | 4 +-
plugin/smispy/dmtf.py | 70 +++
plugin/smispy/smis.py | 962 ++++++---------------------------------
plugin/smispy/smis_cap.py | 398 ++++++++++++++++
plugin/smispy/smis_common.py | 61 +++
plugin/smispy/smis_constants.py | 132 ++++++
plugin/smispy/utils.py | 49 ++
8 files changed, 865 insertions(+), 813 deletions(-)
create mode 100644 plugin/smispy/smis_cap.py
create mode 100644 plugin/smispy/smis_constants.py
--
1.8.2.1
1.8.2.1