[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] session.login_with_password: version argument?


  • To: xen-api@xxxxxxxxxxxxx
  • From: Ringo De Smet <ringo@xxxxxxxxxxxx>
  • Date: Thu, 22 Mar 2018 23:28:24 +0100
  • Delivery-date: Thu, 22 Mar 2018 22:28:44 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xenproject.org>

Hello,

I would like to get some extra insights in the third argument, named `version`, to the call session.login_with_password.

The docs state this is the client API version. But how does this have an influence on the client to server interaction. Here are some scenarios:

Scenario 1:
Client is generated based on version 7.2. I don't pass a version to session.login_with_password and connect to a 7.1 server. 
Should this work?

Scenario 2:
Client is generated based on version 7.2. I pass in version 7.1 to session.login_with_password against a 7.2 server. 
Should the server speak 7.1 protocol?

Scenario 3:
Client is generated based on version 7.2. I don't pass a version to session.login_with_password against a 7.4 server. 
Should the server speak 7.2 protocol?

Thanks for elaborating.

Ringo
_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.