|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-api
Re: [Xen-API] Help with python binding. my simple example
 
| 
Did you change your API port to use 8006?  I typically use https://localhost 
 
 cw On Mon, Aug 31, 2009 at 9:25 AM, Joni Lee  <webcokies@xxxxxxxxx> wrote:
 Hi list,
  I install xen 3.3 from apt-get xen-server install 
on Ubuntu and this is my small Python script: ------------------------------------------------------------- import sys sys.path.append('/usr/lib/python2.6/site-packages') from xen.xm.XenAPI import Session 
session = Session('http://localhost:8006/') session.login_with_password('root', '') ------------------------------------------------------------- 
and it returns  "xen.xm.XenAPI.Failure: The method session.login_with_password is unsupported" ------------------------------------------------------------- Please help me with the first step into binding. I only want to get the information about the resource assumption such as CPU, RAM of the doms. 
 Thank you very much
  |  
  
       _______________________________________________ 
xen-api mailing list 
xen-api@xxxxxxxxxxxxxxxxxxx 
http://lists.xensource.com/mailman/listinfo/xen-api 
 
 --  Christopher Winslett christopherwinslett@xxxxxxxxx
 
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
 
 |   
 
 | 
    | 
  
  
    |   | 
    |