pywbem Ver 0.7 [LSARC/2009/258 FastTrack timeout 05/05/2009]

Vivek Titarmare Vivek.Titarmare at Sun.COM
Mon May 4 03:36:45 PDT 2009


Hi Margot,

Yes, it's an utility which kind of gets imported to python and access the
CIM server.
The man pages should be going to section 1 in place of 3. I have made the
corrections and changed it to section 1.
However, I am not sure how do I change the SYNOPSIS to be more like running
python first and then importing pywbem.
$python -c "import pywbem" may not work.

Pl. suggest.

Thanks,
~Vivek R. Titarmare


-----Original Message-----
From: Margot Miller [mailto:Margot.Miller at Sun.COM] 
Sent: Thursday, April 30, 2009 10:21 PM
To: Vivek Titarmare
Cc: John.Fischer at Sun.COM; lsarc-ext at sun.com
Subject: Re: pywbem Ver 0.7 [LSARC/2009/258 FastTrack timeout 05/05/2009]

Hey Vivek,

Looking at some of the documentation, it looks like
you import pywbem when running python. 

http://pywbem.sourceforge.net/docs/tutorial.shtml:

To test that PyWBEM is sucessfully installed, start up a Python 
interpreter and try to import the pywbem module.

    $ python
    Python 2.3.5 (#2, Mar 26 2005, 17:32:32)
    [GCC 3.3.5 (Debian 1:3.3.5-12)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import pywbem

In the man page in the case materials, it states:

SYNOPSIS

     import pywbem

If it can be run as a script, the man page is unclear
how to do so and would need to be updated, and the man page 
would need to be section 1 if it really is a utility.

Thanks
Margot



Vivek Titarmare wrote:
> Hi John,
>
> Yes, pywbem would be executed from command line.
>
> Regards,
> ~Vivek R. Titarmare
>
>
> -----Original Message-----
> From: John.Fischer at Sun.COM [mailto:John.Fischer at Sun.COM] 
> Sent: Wednesday, April 29, 2009 7:27 PM
> To: Vivek Titarmare
> Cc: LSARC-ext at sun.com
> Subject: Re: pywbem Ver 0.7 [LSARC/2009/258 FastTrack timeout 05/05/2009]
>
> Vivek,
>
> Is pywbem something that the user will execute at the command line
> prompt?
>
> Thanks,
>
> John
>
> Vivek Titarmare wrote:
>   
>> Hi John,
>>
>> Since the pywbem is an utility, I thought this should go in share folder.

>> Let me know if I need to move this to /usr/bin folder.
>>
>> Pl. suggest.
>>
>>
>> Thanks,
>> ~Vivek R. Titarmare
>>
>>
>> -----Original Message-----
>> From: John.Fischer at Sun.COM [mailto:John.Fischer at Sun.COM] 
>> Sent: Tuesday, April 28, 2009 9:07 PM
>> To: Vivek.Titarmare at Sun.COM
>> Cc: LSARC-ext at sun.com
>> Subject: Re: pywbem Ver 0.7 [LSARC/2009/258 FastTrack timeout 05/05/2009]
>>
>> Vivek,
>>
>> Just a couple of questions.  What is the interface taxonomy for pyweb?
>> Why is the pyweb script being installed into /usr/share/pyweb instead
>> of /usr/bin?
>>
>> Thanks,
>>
>> John
>>
>> Mark Carlson wrote:
>>     
>>> I am sponsoring this familiarity case for Vivek Titarmare. It requests
>>>       
>> minor binding and times out 05/05/2009.
>>     
>>> -- mark
>>>
>>> Template Version: @(#)sac_nextcase 1.68 02/23/09 SMI
>>> This information is Copyright 2009 Sun Microsystems
>>> 1. Introduction
>>>     1.1. Project/Component Working Name:
>>> 	 pywbem Ver 0.7
>>>     1.2. Name of Document Author/Supplier:
>>> 	 Author:  Vivek Titarmare
>>>     1.3  Date of This Document:
>>> 	28 April, 2009
>>>
>>> 2. Project Summary
>>>    2.1 Project Description
>>>
>>> 	Python WBEM Client and Provider Interface
>>> 	
>>> 4. Technical Description:
>>>
>>> 	PyWBEM is a Python library for making CIM operations over HTTP using
>>>       
>> the WBEM CIM-XML protocol. It is based on the idea that a good WBEM
client
>> should be easy to use and not necessarily require a large amount of
>> programming knowlege. PyWBEM is suitable for a large range of tasks from
>> simply poking around to writing web and GUI applications.
>>     
>>> 5. Interfaces 
>>>
>>> 	The script file "pywbem" contains following interface.
>>>
>>>    Exported interface                   Classification
>>>       
>> Interface type
>>     
>>>    =============================        ==============
>>>       
>> ==============
>>     
>>> Instance Provider			Uncommitted		CIM
>>>       
>> Operation Calls
>>     
>>> 	EnumerateInstanceNames() 
>>> 	EnumerateInstances() 
>>> 	GetInstance() 
>>> 	ModifyInstance() 
>>> 	DeleteInstance() 
>>> 	CreateInstance() 
>>> Method Provider				Uncommitted		CIM
>>>       
>> Operation Calls
>>     
>>> 	InvokeMethod() 
>>> Association Provider			Uncommitted		CIM
>>>       
>> Operation Calls
>>     
>>> 	Associators() 
>>> 	AssociatorNames() 
>>> 	References() 
>>> 	ReferenceNames()() 
>>> Schema Management			Uncommitted		CIM
>>>       
>> Operation Calls
>>     
>>> 	EnumerateClassNames() 
>>> 	EnumerateClasses() 
>>> 	GetClass() 
>>>
>>> 	
>>>    Imported interface        Classification   Comments
>>>    =======================   ==============
>>>       
>> =================================== 
>>     
>>> 	python			committed	To sun the pywbem scripts
>>>
>>>    The script file would go in "usr/share/pywbem/"
>>>
>>>
>>> 6. Resources and Schedule
>>>     6.4. Steering Committee requested information
>>>    	6.4.1. Consolidation C-team Name:
>>> 		SFW
>>>     6.5. ARC review type: FastTrack
>>>     6.6. ARC Exposure: open
>>>
>>>       
>
>   





More information about the opensolaris-arc mailing list