redfish-interop-validator 2.3.3__tar.gz → 2.3.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5}/LICENSE.md +1 -1
  2. {redfish_interop_validator-2.3.3/redfish_interop_validator.egg-info → redfish_interop_validator-2.3.5}/PKG-INFO +2 -2
  3. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5}/README.md +1 -1
  4. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5}/redfish_interop_validator/RedfishInteropValidator.py +44 -13
  5. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5}/redfish_interop_validator/RedfishLogo.py +1 -1
  6. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5}/redfish_interop_validator/config.py +1 -1
  7. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5}/redfish_interop_validator/helper.py +1 -1
  8. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5}/redfish_interop_validator/interop.py +1 -1
  9. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5}/redfish_interop_validator/logger.py +1 -1
  10. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5}/redfish_interop_validator/profile.py +1 -1
  11. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5}/redfish_interop_validator/session.py +1 -1
  12. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5}/redfish_interop_validator/tohtml.py +1 -1
  13. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5}/redfish_interop_validator/traverseInterop.py +1 -1
  14. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5}/redfish_interop_validator/validateResource.py +1 -1
  15. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5/redfish_interop_validator.egg-info}/PKG-INFO +2 -2
  16. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5}/setup.py +2 -2
  17. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5}/AUTHORS.md +0 -0
  18. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5}/redfish_interop_validator/__init__.py +0 -0
  19. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5}/redfish_interop_validator.egg-info/SOURCES.txt +0 -0
  20. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5}/redfish_interop_validator.egg-info/dependency_links.txt +0 -0
  21. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5}/redfish_interop_validator.egg-info/entry_points.txt +0 -0
  22. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5}/redfish_interop_validator.egg-info/requires.txt +0 -0
  23. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5}/redfish_interop_validator.egg-info/top_level.txt +0 -0
  24. {redfish_interop_validator-2.3.3 → redfish_interop_validator-2.3.5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  BSD 3-Clause License
2
2
 
3
- Copyright (c) 2017-2025, Contributing Member(s) of Distributed Management Task
3
+ Copyright (c) 2017-2026, Contributing Member(s) of Distributed Management Task
4
4
  Force, Inc.. All rights reserved.
5
5
 
6
6
  Redistribution and use in source and binary forms, with or without modification,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: redfish_interop_validator
3
- Version: 2.3.3
3
+ Version: 2.3.5
4
4
  Summary: Redfish Interop Validator
5
5
  Home-page: https://github.com/DMTF/Redfish-Interop-Validator
6
6
  Author: DMTF, https://www.dmtf.org/standards/feedback
@@ -28,7 +28,7 @@ Dynamic: license-file
28
28
  Dynamic: requires-dist
29
29
  Dynamic: summary
30
30
 
31
- Copyright 2017-2025 DMTF. All rights reserved.
31
+ Copyright 2017-2026 DMTF. All rights reserved.
32
32
 
33
33
  # Redfish Interop Validator
34
34
 
@@ -1,4 +1,4 @@
1
- Copyright 2017-2025 DMTF. All rights reserved.
1
+ Copyright 2017-2026 DMTF. All rights reserved.
2
2
 
3
3
  # Redfish Interop Validator
4
4
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  # Copyright Notice:
3
- # Copyright 2017-2025 DMTF. All rights reserved.
3
+ # Copyright 2017-2026 DMTF. All rights reserved.
4
4
  # License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/Redfish-Interop-Validator/blob/master/LICENSE.md
5
5
 
6
6
  import os
@@ -19,7 +19,7 @@ from redfish_interop_validator.validateResource import validateSingleURI, valida
19
19
  from redfish_interop_validator.interop import testResultEnum
20
20
  from redfish_interop_validator import logger
21
21
 
22
- tool_version = '2.3.3'
22
+ tool_version = '2.3.5'
23
23
 
24
24
  def main(argslist=None, configfile=None):
25
25
  """Main command
@@ -76,6 +76,7 @@ def main(argslist=None, configfile=None):
76
76
 
77
77
  log_level = logger.Level.INFO if not args.debugging else logger.Level.DEBUG
78
78
  file_name = datetime.strftime(start_tick, os.path.join(logpath, "ConformanceLog_%m_%d_%Y_%H%M%S.txt"))
79
+ text_log_file = file_name
79
80
 
80
81
  logger.create_logging_file_handler(log_level, file_name)
81
82
 
@@ -290,22 +291,52 @@ def main(argslist=None, configfile=None):
290
291
 
291
292
  tohtml.writeHtml(html_str, lastResultsPage)
292
293
 
293
- my_logger.info("\nResults Summary:")
294
- my_logger.info(", ".join([
295
- 'Pass: {}'.format(final_counts['pass']),
296
- 'Fail: {}'.format(final_counts['error']),
297
- 'Warning: {}'.format(final_counts['warning']),
298
- 'Not Tested: {}'.format(final_counts['nottested']),
299
- ]))
300
-
301
294
  success = final_counts['error'] == 0
302
295
 
296
+ # Results Summary table
297
+ summary_rows = [
298
+ ('Pass', final_counts['pass']),
299
+ ('Fail', final_counts['error']),
300
+ ('Warning', final_counts['warning']),
301
+ ('Not Tested', final_counts['not_tested']),
302
+ ]
303
+ col1_w = max(len(r[0]) for r in summary_rows)
304
+ col2_w = max(len(str(r[1])) for r in summary_rows)
305
+ col1_w = max(col1_w, len('Result'))
306
+ col2_w = max(col2_w, len('Count'))
307
+ sep = '+{}+{}+'.format('-' * (col1_w + 2), '-' * (col2_w + 2))
308
+ header = '| {:<{}} | {:>{}} |'.format('Result', col1_w, 'Count', col2_w)
309
+ summary_lines = [
310
+ '',
311
+ 'Results Summary:',
312
+ '',
313
+ sep,
314
+ header,
315
+ sep,
316
+ ]
317
+ for label, count in summary_rows:
318
+ summary_lines.append('| {:<{}} | {:>{}} |'.format(label, col1_w, count, col2_w))
319
+ summary_lines += [sep, '']
320
+
303
321
  if not success:
304
- my_logger.error("Validation has failed: {} problems found".format(final_counts['error']))
322
+ summary_lines.append('Validation has FAILED: {} problems found'.format(final_counts['error']))
305
323
  else:
306
- my_logger.info("Validation has succeeded.")
324
+ summary_lines.append('Validation has SUCCEEDED.')
307
325
  status_code = 0
308
-
326
+
327
+ summary_lines += [
328
+ '',
329
+ 'Log Files:',
330
+ '',
331
+ ' Text report : {}'.format(text_log_file),
332
+ '',
333
+ ' HTML report : {}'.format(lastResultsPage),
334
+ '',
335
+ ]
336
+
337
+ summary_text = '\n'.join(summary_lines)
338
+ print(summary_text)
339
+
309
340
  return status_code, lastResultsPage, 'Validation done'
310
341
 
311
342
 
@@ -1,5 +1,5 @@
1
1
  # Copyright Notice:
2
- # Copyright 2017-2025 DMTF. All rights reserved.
2
+ # Copyright 2017-2026 DMTF. All rights reserved.
3
3
  # License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/Redfish-Service-Validator/blob/master/LICENSE.md
4
4
 
5
5
  """
@@ -1,5 +1,5 @@
1
1
  # Copyright Notice:
2
- # Copyright 2017-2025 DMTF. All rights reserved.
2
+ # Copyright 2017-2026 DMTF. All rights reserved.
3
3
  # License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/Redfish-Service-Validator/blob/master/LICENSE.md
4
4
 
5
5
  import configparser
@@ -1,5 +1,5 @@
1
1
  # Copyright Notice:
2
- # Copyright 2017-2025 DMTF. All rights reserved.
2
+ # Copyright 2017-2026 DMTF. All rights reserved.
3
3
  # License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/Redfish-Service-Validator/blob/master/LICENSE.md
4
4
 
5
5
  import re
@@ -1,6 +1,6 @@
1
1
 
2
2
  # Copyright Notice:
3
- # Copyright 2017-2025 DMTF. All rights reserved.
3
+ # Copyright 2017-2026 DMTF. All rights reserved.
4
4
  # License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/Redfish-Interop-Validator/blob/master/LICENSE.md
5
5
 
6
6
  import re
@@ -1,5 +1,5 @@
1
1
  # Copyright Notice:
2
- # Copyright 2017-2025 DMTF. All rights reserved.
2
+ # Copyright 2017-2026 DMTF. All rights reserved.
3
3
  # License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/Redfish-Interop-Validator/blob/main/LICENSE.md
4
4
 
5
5
  import logging
@@ -1,6 +1,6 @@
1
1
 
2
2
  # Copyright Notice:
3
- # Copyright 2017-2025 DMTF. All rights reserved.
3
+ # Copyright 2017-2026 DMTF. All rights reserved.
4
4
  # License: BSD 3-Clause License. For full text see link:
5
5
  # https://github.com/DMTF/Redfish-Service-Validator/LICENSE.md
6
6
 
@@ -1,5 +1,5 @@
1
1
  # Copyright Notice:
2
- # Copyright 2017-2025 DMTF. All rights reserved.
2
+ # Copyright 2017-2026 DMTF. All rights reserved.
3
3
  # License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/Redfish-Service-Validator/blob/master/LICENSE.md
4
4
 
5
5
  from datetime import datetime, timedelta
@@ -1,6 +1,6 @@
1
1
 
2
2
  # Copyright Notice:
3
- # Copyright 2017-2025 DMTF. All rights reserved.
3
+ # Copyright 2017-2026 DMTF. All rights reserved.
4
4
  # License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/Redfish-Interop-Validator/blob/master/LICENSE.md
5
5
 
6
6
 
@@ -1,5 +1,5 @@
1
1
  # Copyright Notice:
2
- # Copyright 2017-2025 DMTF. All rights reserved.
2
+ # Copyright 2017-2026 DMTF. All rights reserved.
3
3
  # License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/Redfish-Service-Validator/blob/master/LICENSE.md
4
4
 
5
5
  import re
@@ -1,5 +1,5 @@
1
1
  # Copyright Notice:
2
- # Copyright 2017-2025 DMTF. All rights reserved.
2
+ # Copyright 2017-2026 DMTF. All rights reserved.
3
3
  # License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/Redfish-Service-Validator/blob/master/LICENSE.md
4
4
 
5
5
  import logging
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: redfish_interop_validator
3
- Version: 2.3.3
3
+ Version: 2.3.5
4
4
  Summary: Redfish Interop Validator
5
5
  Home-page: https://github.com/DMTF/Redfish-Interop-Validator
6
6
  Author: DMTF, https://www.dmtf.org/standards/feedback
@@ -28,7 +28,7 @@ Dynamic: license-file
28
28
  Dynamic: requires-dist
29
29
  Dynamic: summary
30
30
 
31
- Copyright 2017-2025 DMTF. All rights reserved.
31
+ Copyright 2017-2026 DMTF. All rights reserved.
32
32
 
33
33
  # Redfish Interop Validator
34
34
 
@@ -1,5 +1,5 @@
1
1
  # Copyright Notice:
2
- # Copyright 2017-2025 DMTF. All rights reserved.
2
+ # Copyright 2017-2026 DMTF. All rights reserved.
3
3
  # License: BSD 3-Clause License. For full text see link:
4
4
  # https://github.com/DMTF/Redfish-Interop-Validator/blob/main/LICENSE.md
5
5
 
@@ -11,7 +11,7 @@ with open("README.md", "r", "utf-8") as f:
11
11
 
12
12
  setup(
13
13
  name="redfish_interop_validator",
14
- version="2.3.3",
14
+ version="2.3.5",
15
15
  description="Redfish Interop Validator",
16
16
  long_description=long_description,
17
17
  long_description_content_type="text/markdown",