pywbem
stable_1.1
  • 1. Introduction
    • 1.1. Functionality
    • 1.2. Supported environments
    • 1.3. Installation
      • 1.3.1. Installing into a different Python environment
      • 1.3.2. Installing a different version of pywbem
      • 1.3.3. Verifying the installation
      • 1.3.4. Prerequisite operating system packages for install
    • 1.4. Package version
    • 1.5. Version dependent features
    • 1.6. Standards conformance
    • 1.7. Deprecation and compatibility policy
    • 1.8. Python namespaces
    • 1.9. Configuration variables
    • 1.10. WBEM servers
      • 1.10.1. Server-specific features
      • 1.10.2. WBEM server testing
  • 2. Concepts
    • 2.1. The CIM/WBEM architecture
    • 2.2. The CIM model and CIM objects
    • 2.3. WBEM Operations: Communicating with the WBEM Server
      • 2.3.1. WBEM operations overview
      • 2.3.2. Traditional operations
      • 2.3.3. Pull operations
        • 2.3.3.1. Relation to traditional operations
        • 2.3.3.2. Pull operation responses
        • 2.3.3.3. Pull enumeration sequence code pattern
        • 2.3.3.4. Common Pull Operation Request Input Arguments
        • 2.3.3.5. Differences from traditional operations
      • 2.3.4. Iter operations
        • 2.3.4.1. Why the iter operations exist
        • 2.3.4.2. Comparison table
        • 2.3.4.3. Internal processing in the iter operations
      • 2.3.5. Forcing pull vs. traditional operations
      • 2.3.6. Differences between iter operations and pull operations
        • 2.3.6.1. Use of FilterQuery
        • 2.3.6.2. Paths in returned instances
        • 2.3.6.3. Use of MaxObjectCount argument
        • 2.3.6.4. Receiving returned objects before an exception
        • 2.3.6.5. Closing an Iter operation before it is complete
    • 2.4. WBEM indications and subscriptions
    • 2.5. WBEM Management Profiles
  • 3. Tutorial
    • 3.1. Table of Jupyter tutorials
    • 3.2. Executing code in the tutorials
  • 4. WBEM client library
    • 4.1. WBEM operations
      • 4.1.1. WBEMConnection
    • 4.2. CIM objects
      • 4.2.1. Putting CIM objects in sets
      • 4.2.2. Order of CIM child objects
      • 4.2.3. NocaseDict
      • 4.2.4. CIMInstanceName
      • 4.2.5. CIMInstance
      • 4.2.6. CIMClassName
      • 4.2.7. CIMClass
      • 4.2.8. CIMProperty
      • 4.2.9. CIMMethod
      • 4.2.10. CIMParameter
      • 4.2.11. CIMQualifier
      • 4.2.12. CIMQualifierDeclaration
    • 4.3. CIM data types
    • 4.4. Conversion functions
    • 4.5. CIM status codes
    • 4.6. Exceptions
    • 4.7. Warnings
    • 4.8. WBEM operation statistics
    • 4.9. WBEM operation logging
      • 4.9.1. Pywbem logging overview
      • 4.9.2. Logging configuration functions
      • 4.9.3. Logging configuration examples
      • 4.9.4. Log records
      • 4.9.5. Logging related constants and functions
    • 4.10. WBEM operation recording
      • 4.10.1. WBEM operation recorders
    • 4.11. Mapping between ValueMap and Values qualifiers
    • 4.12. Support for PUnit and Units qualifiers
    • 4.13. Security considerations
      • 4.13.1. Authentication types
      • 4.13.2. Verification of the X.509 server certificate
      • 4.13.3. Use of X.509 client certificates
      • 4.13.4. Authentication errors
    • 4.14. Proxy support
  • 5. WBEM server library
    • 5.1. Example
    • 5.2. WBEMServer
  • 6. WBEM indication listener
    • 6.1. WBEMListener
      • 6.1.1. Examples
      • 6.1.2. Logging in the listener
      • 6.1.3. WBEMListener class
  • 7. WBEM subscription manager
    • 7.1. WBEMSubscriptionManager
      • 7.1.1. Examples
  • 8. MOF compiler
    • 8.1. MOFCompiler Class
    • 8.2. Repository connections
    • 8.3. Exceptions
  • 9. Mock WBEM server
    • 9.1. Overview
    • 9.2. WBEM operations of a mock WBEM server
      • 9.2.1. Faked instance operations
      • 9.2.2. Faked association operations
      • 9.2.3. Faked method invocation operation
      • 9.2.4. Faked pull operations
      • 9.2.5. Faked iter operations
      • 9.2.6. Faked class operations
      • 9.2.7. Faked qualifier declaration operations
    • 9.3. FakedWBEMConnection class
    • 9.4. Building a mocked CIM repository
      • 9.4.1. Example: Set up qualifier types and classes in DMTF CIM schema
      • 9.4.2. Example: Set up qualifier types and classes from MOF
      • 9.4.3. Example: Set up instances from single CIM objects
      • 9.4.4. DMTF CIM schema download support
      • 9.4.5. In-memory CIM repository classes
    • 9.5. Mocking multiple CIM namespaces
    • 9.6. User-defined providers
      • 9.6.1. Creating user-defined providers
      • 9.6.2. Python operation methods in user-defined providers
      • 9.6.3. User-defined instance write providers
      • 9.6.4. User-defined method providers
    • 9.7. Registry for provider dependent files
    • 9.8. Configuration of mocked behavior
    • 9.9. Mocker base classes
  • 10. WBEM utility commands
    • 10.1. mof_compiler
  • 11. Development
    • 11.1. Repository
    • 11.2. Setting up the development environment
    • 11.3. Building the documentation
    • 11.4. Testing
    • 11.5. Testing from the source archives on Pypi or GitHub
    • 11.6. Testing installed versions of pywbem
    • 11.7. Updating the DMTF MOF Test Schema
    • 11.8. Developing PyWBEM Ipython Documentation Notebooks
    • 11.9. Contributing
    • 11.10. Core Development Team
  • 12. Appendix
    • 12.1. Special type names
    • 12.2. Profile advertisement methodologies
    • 12.3. Troubleshooting
      • 12.3.1. Installation fails with “invalid command ‘bdist_wheel’”
      • 12.3.2. Installation of lxml misses include files on Python 3.4 on native Windows
      • 12.3.3. ConnectionError raised with [SSL: UNSUPPORTED_PROTOCOL]
      • 12.3.4. ConnectionError raised with [SSL] EC lib
    • 12.4. Glossary
    • 12.5. References
  • 13. Change log
    • 13.1. Version 1.1.4.dev1
      • 13.1.1. pywbem 1.1.3
      • 13.1.2. pywbem 1.1.2
      • 13.1.3. pywbem 1.1.1
      • 13.1.4. pywbem 1.1.0
      • 13.1.5. pywbem 1.0.0
      • 13.1.6. pywbem 1.0.0b4
      • 13.1.7. pywbem 1.0.0b3
      • 13.1.8. pywbem 1.0.0b2
      • 13.1.9. pywbem 1.0.0b1
      • 13.1.10. pywbem 0.17.2
      • 13.1.11. pywbem 0.17.1
      • 13.1.12. pywbem 0.17.0
      • 13.1.13. pywbem 0.16.0
      • 13.1.14. pywbem 0.15.0
      • 13.1.15. pywbem 0.14.6
      • 13.1.16. pywbem 0.14.5
      • 13.1.17. pywbem 0.14.4
      • 13.1.18. pywbem 0.14.3
      • 13.1.19. pywbem 0.14.2
      • 13.1.20. pywbem 0.14.1
      • 13.1.21. pywbem 0.14.0
      • 13.1.22. pywbem 0.13.0
      • 13.1.23. pywbem 0.12.0
      • 13.1.24. pywbem 0.11.0
      • 13.1.25. pywbem 0.10.0
      • 13.1.26. pywbem 0.9.0
      • 13.1.27. pywbem 0.8.4
      • 13.1.28. pywbem 0.8.3
      • 13.1.29. pywbem 0.8.2
      • 13.1.30. pywbem 0.8.1
      • 13.1.31. pywbem 0.7.0
      • 13.1.32. pywbem 0.6
      • 13.1.33. pywbem 0.5
      • 13.1.34. pywbem 0.4
pywbem
  • »
  • Pywbem - A WBEM client and related utilities, written in pure Python
  • Edit on GitHub

Pywbem - A WBEM client and related utilities, written in pure Python¶

Pywbem is a WBEM client and WBEM indication listener and provides related WBEM client-side functionality. It is written in pure Python and runs on Python 2 and Python 3.

WBEM is a standardized approach for systems management defined by the DMTF that is used in the industry for a wide variety of systems management tasks. See WBEM Standards for more information. An important use of this approach is the SMI-S standard defined by SNIA for managing storage.

Pywbem is based on the idea that a good WBEM client should be easy to use and not necessarily require a large amount of programming knowledge. It is suitable for a large range of tasks from simply poking around to writing web and GUI applications.

The general web site for all projects of the pywbem family is: https://pywbem.github.io/.

  • 1. Introduction
    • 1.1. Functionality
    • 1.2. Supported environments
    • 1.3. Installation
    • 1.4. Package version
    • 1.5. Version dependent features
    • 1.6. Standards conformance
    • 1.7. Deprecation and compatibility policy
    • 1.8. Python namespaces
    • 1.9. Configuration variables
    • 1.10. WBEM servers
  • 2. Concepts
    • 2.1. The CIM/WBEM architecture
    • 2.2. The CIM model and CIM objects
    • 2.3. WBEM Operations: Communicating with the WBEM Server
    • 2.4. WBEM indications and subscriptions
    • 2.5. WBEM Management Profiles
  • 3. Tutorial
    • 3.1. Table of Jupyter tutorials
    • 3.2. Executing code in the tutorials
  • 4. WBEM client library
    • 4.1. WBEM operations
    • 4.2. CIM objects
    • 4.3. CIM data types
    • 4.4. Conversion functions
    • 4.5. CIM status codes
    • 4.6. Exceptions
    • 4.7. Warnings
    • 4.8. WBEM operation statistics
    • 4.9. WBEM operation logging
    • 4.10. WBEM operation recording
    • 4.11. Mapping between ValueMap and Values qualifiers
    • 4.12. Support for PUnit and Units qualifiers
    • 4.13. Security considerations
    • 4.14. Proxy support
  • 5. WBEM server library
    • 5.1. Example
    • 5.2. WBEMServer
  • 6. WBEM indication listener
    • 6.1. WBEMListener
  • 7. WBEM subscription manager
    • 7.1. WBEMSubscriptionManager
  • 8. MOF compiler
    • 8.1. MOFCompiler Class
    • 8.2. Repository connections
    • 8.3. Exceptions
  • 9. Mock WBEM server
    • 9.1. Overview
    • 9.2. WBEM operations of a mock WBEM server
    • 9.3. FakedWBEMConnection class
    • 9.4. Building a mocked CIM repository
    • 9.5. Mocking multiple CIM namespaces
    • 9.6. User-defined providers
    • 9.7. Registry for provider dependent files
    • 9.8. Configuration of mocked behavior
    • 9.9. Mocker base classes
  • 10. WBEM utility commands
    • 10.1. mof_compiler
  • 11. Development
    • 11.1. Repository
    • 11.2. Setting up the development environment
    • 11.3. Building the documentation
    • 11.4. Testing
    • 11.5. Testing from the source archives on Pypi or GitHub
    • 11.6. Testing installed versions of pywbem
    • 11.7. Updating the DMTF MOF Test Schema
    • 11.8. Developing PyWBEM Ipython Documentation Notebooks
    • 11.9. Contributing
    • 11.10. Core Development Team
  • 12. Appendix
    • 12.1. Special type names
    • 12.2. Profile advertisement methodologies
    • 12.3. Troubleshooting
    • 12.4. Glossary
    • 12.5. References
  • 13. Change log
    • 13.1. Version 1.1.4.dev1
Next

© Copyright . Revision 10195879.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: stable_1.1
Versions
latest
stable
stable_1.1
stable_1.0
stable_0.9
stable_0.17
stable_0.16
stable_0.15
stable_0.14
stable_0.13
stable_0.12
stable_0.11
stable_0.10
Downloads
html
On Read the Docs
Project Home
Builds