pywbemtools icon indicating copy to clipboard operation
pywbemtools copied to clipboard

Investigation: Analyze cimcli and SBLIM's wbemcli against pywbemcli

Open andy-maier opened this issue 6 years ago • 3 comments

Purpose of this exercise is to figure out whether anything reasonable could be added to pywbemcli.

This issue is done when the investigation is complete. We would then open additional issues for implementing any identified functionality.

andy-maier avatar Nov 05 '19 17:11 andy-maier

We agreed that:

  • Karl will investigate OpenPegasus cimcli
  • Andy will investigate SBLIM wbemcli

andy-maier avatar May 07 '21 17:05 andy-maier

Here is my analysis of SBLIM wbemcli, version 1.6.3 (https://sourceforge.net/projects/sblim/):

  • CIM operation support:
    • It supports all CIM operations except pull operations and execquery.
    • It supports the deprecated GetProperty and SetProperty operations.
  • CIM-XML / HTTP Protocol support:
    • Supports http and https.
    • With https, it supports CA-certs for server certificate versification, and client cert/key file for mutual TLS.
  • Special options:
    • -dx: Display the CIM-XML response
    • -dr: Put curly braces around references to better see them in CIM-XML output
    • -nl: Start a new line for every property returned
    • -t: Append array ([]), reference (&) and key property (#) indicators to property names
    • -cte: Enable support for chunked responses from CIMOM

My summary is:

  • It supports a few options to help understanding responses, but that is mainly tied to the fact that it displays CIM-XML. No need to add support for any of that, IMO.
  • It supports chunked responses, but requires users to enable that. That is supported in pywbem automatically, at the level of the requests package.

Bottom line: Nothing to do.

Attached is the man output: wbemcli.1.txt

andy-maier avatar May 07 '21 17:05 andy-maier

We discussed this in our call today and decided to move this issue into the next release.

andy-maier avatar Jul 11 '21 13:07 andy-maier