Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
PyWBEM Rapid Overview
1. PyWBEM
Python WBEM CIM/XML client
Rapid Overview
k.schopmeyer@opengroup.org
Pywbem Overview 1
Version 0.9, 1 Dec 2016
Version 1.0, 5 Dec 2016
2. What is PyWBEM
• Python client for the DMTF CIM/XML Protocol
• Compliant with the DMTF WBEM specifications
• Provides WBEM infrastructure for WBEM
requests and indications and APIs for client
applications to communicate with WBEM servers
• Base for developing client applications for WBEM
Servers.
• Open source and available as a python package
Pywbem Overview 2
3. PyWBEM Client: Overview
• Pure Python code:
• Python versions 2.6, 2.7, 3.4, 3.5
• Supports DMTF CIM-XML protocol
• WBEM Client library with a pythonic API
• Indication listener/subscription manager
• Well tested, well documented
• Utilities:
• MOF compiler
• Command line interface utility (wbemcli)
• Open source, LGPL 2.1 license
• Available on github and python PyPi:
• https://github.com/pywbem/pywbem
Pywbem Overview 3
4. PyWBEM Client
CIM/WBEM Architecture
WBEM Server
WBEM
Client
WBEM
Listener
WBEM
Requests
Responses
WBEM
Indications
Providers
Providers
Providers
Profile
Specification
CIM
MetaModel
CIM
Model
Specifying Behavior in
CIM/WBEM
Components of the WBEM Architecture
Client Application
(ex. Python app)
PyWBEM API
Pywbem Overview 4
5. Status
• Active Development
– Two releases this year
• Extensively tested:
– Mock server implementations in continuous
integration
– OpenPegasus WEB server before each release
– A variety of SMI servers as part of SNI SMI
laboratory/Plugfests
Pywbem Overview 5
6. Possible Usage
• Developing WBEM/ SMI based client applications
that communicate with WBEM servers to manage
SMI or other CIM based environments
• Test tool for other client developers because this
tool is widely tested, open source
• Test tool for WBEM Server development and
testing. It is becoming part of OpenPegasus
internal testing.
• Script based apps/tools for WBEM server
interface
Pywbem Overview 6
8. PyWBEM Version 0.9.0
WBEM Server
WBEM
Requests
Responses
WBEM
Indications
PyWBEM Client
Version 0.9.0
CIM/XML
Protocol (DSP0200)
WBEM
Listener Class
WBEM
Server Class
Subscription
Manager Class
WBEMConnection
Class & operations PyWBEM Client
Pywbem Overview 8
9. WBEMConnection, Client API
• Defines connection and request/response
operations on CIM Objects
• CIMObjects are
– CIMClasses
– CIMInstances
– CIMQualifierDeclarations
– CIMMethods
• Operations are generally
– Get, enumerate, create, delete, modify CIMObjects in
WBEM server
Pywbem Overview 9
10. PyWBEM Future
Moving upwards
PyWBEM Client - PyWBEM WBEMConnection
PyWBEM Server
Class
PyWBEM Subscription
Manager Class
PyWBEM Connect/Request helper functions.
Job Control
ClassGenerics
SMI ProfilesAutonomous
Profiles
. . .
. . .
Client Tools
- Walker
- Cmd Line Client
- Graphical Client
- ValidationTools
V 0.8.0
V 0.9.0
Next Releases
Pywbem Overview 10
11. Resources and more information
• PyWBEM
– PyWBEM https://github.com/pywbem/pywbem
– PyWBEM Documentation
• http://pywbem/github.io
• Other Resources
– OpenPegasus
• https://collaboration.opengroup.org/pegasus/
– DMTF
• http://www.dmtf.org/standards/cim
– SNIA
• http://www.snia.org/forums/smi
Pywbem Overview 11