Re: [Users] Rest API for vmanager 3.0 (set VM ip address)

2012-03-16 Thread Ohad Levy
On Wed, Mar 14, 2012 at 6:17 PM, Oved Ourfalli ov...@redhat.com wrote:


 - Original Message -
 From: Messaoud Benantar mbena...@us.ibm.com
 To: Andrew Cathrow acath...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, March 13, 2012 10:15:39 PM
 Subject: Re: [Users] Rest API for vmanager 3.0 (set VM ip address)


 Andrew -
 Unfortunately in our case we assign ip-addresses from a static pool.
 So i understand the VMPayload feature will include setting up
 gues_info ip-address, right?
 Sorry that i have not read any info regarding this functionality --
 when will it be available? Thanks.

 Details on the VMPayload feature can be found in 
 http://www.ovirt.org/wiki/Features/VMPayload
 Basically, the purpose of the feature is to allow passing a payload to a 
 guest upon startup, exposed as either a CD or Floppy device.
 So, you can use this in order to pass configuration information to the guest.

Would you consider exposing it via rest service as well? similar to
how amazon allows to consume user data?
This would allow a more structured data, and less requirement on the
guest it self.

thanks,
Ohad

 Regards,
 Oved


 Regards,
 Messaoud Benantar




 From: Andrew Cathrow acath...@redhat.com
 To: Messaoud Benantar/Austin/IBM@IBMUS
 Cc: users@ovirt.org
 Date: 03/13/2012 03:12 PM
 Subject: Re: [Users] Rest API for vmanager 3.0 (set VM ip address)




 Not today, the guest would usually just pickup from DHCP
 But that's the purpose of the VMPayload feature that's being
 discussed - a way to pass arbitrary data/config to the VM

 - Original Message -
  From: Messaoud Benantar mbena...@us.ibm.com
  To: Andrew Cathrow acath...@redhat.com
  Cc: users@ovirt.org
  Sent: Tuesday, March 13, 2012 4:02:46 PM
  Subject: Re: [Users] Rest API for vmanager 3.0 (set VM ip address)
 
  Andrew -- thanks for the reply.
  Since guest_info of a vm is not modifiable, is there a way to
  set
  a VM's IP address.
  This seems like a really needed functionality when provisioning VMs
  through the Rest API.
 
  Regards,
  Messaoud Benantar
 
 
 
 
  From: Andrew Cathrow acath...@redhat.com
  To: Messaoud Benantar/Austin/IBM@IBMUS
  Cc: users@ovirt.org
  Date: 03/13/2012 01:30 PM
  Subject: Re: [Users] Rest API for vmanager 3.0 (set VM ip address)
 
 
 
 
 
 
  - Original Message -
   From: Messaoud Benantar mbena...@us.ibm.com
   To: users@ovirt.org
   Sent: Tuesday, March 13, 2012 12:13:25 PM
   Subject: [Users] Rest API for vmanager 3.0 (set VM ip address)
  
  
   Hi everyone,
   i am using the vmanager's 3.0 Rest API.
   have created a VM from an existing template (using http POST) and
   been trying to find a way to set the VMs ip address
   with no success. I tried supplying the ip address in the
   guest_info
   element during VM creation as in:
   guest_info
   ips
   ip address=x.x.x.x/
   /ips
   /guest_info
 
  That's a read only property that shows the IP address of the
  virtual
  machine reported by the in-guest agent.
 
  There's discussion going on about how we pass a payload to a VM
  that
  can handle things like in-guest configuration
 
  http://www.ovirt.org/wiki/Features/VMPayload
 
  
   But the created VM ends up with the same ip address as that in
   the
   template.
  
   Anyone attempted to do something similar ? Is there another way
   of
   doing it. I tried the nics API but there seem to be no interface
   to modify a nic's ip address.
  
   Thank you.
  
  
   Regards,
   Messaoud Benantar
  
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
  
 
 
 



 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Rest API for vmanager 3.0 (set VM ip address)

2012-03-16 Thread Itamar Heim

On 03/16/2012 11:55 AM, Ohad Levy wrote:

On Wed, Mar 14, 2012 at 6:17 PM, Oved Ourfalliov...@redhat.com  wrote:



- Original Message -

From: Messaoud Benantarmbena...@us.ibm.com
To: Andrew Cathrowacath...@redhat.com
Cc: users@ovirt.org
Sent: Tuesday, March 13, 2012 10:15:39 PM
Subject: Re: [Users] Rest API for vmanager 3.0 (set VM ip address)


Andrew -
Unfortunately in our case we assign ip-addresses from a static pool.
So i understand the VMPayload feature will include setting up
gues_info  ip-address, right?
Sorry that i have not read any info regarding this functionality --
when will it be available? Thanks.


Details on the VMPayload feature can be found in 
http://www.ovirt.org/wiki/Features/VMPayload
Basically, the purpose of the feature is to allow passing a payload to a guest 
upon startup, exposed as either a CD or Floppy device.
So, you can use this in order to pass configuration information to the guest.


Would you consider exposing it via rest service as well? similar to
how amazon allows to consume user data?
This would allow a more structured data, and less requirement on the
guest it self.


yes, that's what the following sentence tries to hint at... In the 
future also injection and payload via private IP

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Rest API for vmanager 3.0 (set VM ip address)

2012-03-14 Thread Oved Ourfalli


- Original Message -
 From: Messaoud Benantar mbena...@us.ibm.com
 To: Andrew Cathrow acath...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, March 13, 2012 10:15:39 PM
 Subject: Re: [Users] Rest API for vmanager 3.0 (set VM ip address)
 
 
 Andrew -
 Unfortunately in our case we assign ip-addresses from a static pool.
 So i understand the VMPayload feature will include setting up
 gues_info ip-address, right?
 Sorry that i have not read any info regarding this functionality --
 when will it be available? Thanks.
 
Details on the VMPayload feature can be found in 
http://www.ovirt.org/wiki/Features/VMPayload
Basically, the purpose of the feature is to allow passing a payload to a guest 
upon startup, exposed as either a CD or Floppy device.
So, you can use this in order to pass configuration information to the guest.

Regards,
Oved

 
 Regards,
 Messaoud Benantar
 
 
 
 
 From: Andrew Cathrow acath...@redhat.com
 To: Messaoud Benantar/Austin/IBM@IBMUS
 Cc: users@ovirt.org
 Date: 03/13/2012 03:12 PM
 Subject: Re: [Users] Rest API for vmanager 3.0 (set VM ip address)
 
 
 
 
 Not today, the guest would usually just pickup from DHCP
 But that's the purpose of the VMPayload feature that's being
 discussed - a way to pass arbitrary data/config to the VM
 
 - Original Message -
  From: Messaoud Benantar mbena...@us.ibm.com
  To: Andrew Cathrow acath...@redhat.com
  Cc: users@ovirt.org
  Sent: Tuesday, March 13, 2012 4:02:46 PM
  Subject: Re: [Users] Rest API for vmanager 3.0 (set VM ip address)
  
  Andrew -- thanks for the reply.
  Since guest_info of a vm is not modifiable, is there a way to
  set
  a VM's IP address.
  This seems like a really needed functionality when provisioning VMs
  through the Rest API.
  
  Regards,
  Messaoud Benantar
  
  
  
  
  From: Andrew Cathrow acath...@redhat.com
  To: Messaoud Benantar/Austin/IBM@IBMUS
  Cc: users@ovirt.org
  Date: 03/13/2012 01:30 PM
  Subject: Re: [Users] Rest API for vmanager 3.0 (set VM ip address)
  
  
  
  
  
  
  - Original Message -
   From: Messaoud Benantar mbena...@us.ibm.com
   To: users@ovirt.org
   Sent: Tuesday, March 13, 2012 12:13:25 PM
   Subject: [Users] Rest API for vmanager 3.0 (set VM ip address)
   
   
   Hi everyone,
   i am using the vmanager's 3.0 Rest API.
   have created a VM from an existing template (using http POST) and
   been trying to find a way to set the VMs ip address
   with no success. I tried supplying the ip address in the
   guest_info
   element during VM creation as in:
   guest_info
   ips
   ip address=x.x.x.x/
   /ips
   /guest_info
  
  That's a read only property that shows the IP address of the
  virtual
  machine reported by the in-guest agent.
  
  There's discussion going on about how we pass a payload to a VM
  that
  can handle things like in-guest configuration
  
  http://www.ovirt.org/wiki/Features/VMPayload
  
   
   But the created VM ends up with the same ip address as that in
   the
   template.
   
   Anyone attempted to do something similar ? Is there another way
   of
   doing it. I tried the nics API but there seem to be no interface
   to modify a nic's ip address.
   
   Thank you.
   
   
   Regards,
   Messaoud Benantar
   
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
   
  
  
  
 
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Rest API for vmanager 3.0 (set VM ip address)

2012-03-13 Thread Messaoud Benantar
Hi everyone,
   i am using the vmanager's 3.0 Rest API.
 have created a VM from an existing template (using http POST) and been 
trying to find a way to set the VMs ip address
with no success. I tried supplying the ip address in the guest_info 
element during VM creation as in:
  guest_info
ips
ip address=x.x.x.x/
/ips
/guest_info

But the created VM ends up with the same ip address as that in the 
template. 

Anyone attempted to do something similar ? Is there another way of doing 
it. I tried the nics API but there seem to be no interface
to modify a nic's ip address.

Thank you.


Regards,
Messaoud Benantar
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Rest API for vmanager 3.0 (set VM ip address)

2012-03-13 Thread Andrew Cathrow


- Original Message -
 From: Messaoud Benantar mbena...@us.ibm.com
 To: users@ovirt.org
 Sent: Tuesday, March 13, 2012 12:13:25 PM
 Subject: [Users] Rest API for vmanager 3.0 (set VM ip address)
 
 
 Hi everyone,
 i am using the vmanager's 3.0 Rest API.
 have created a VM from an existing template (using http POST) and
 been trying to find a way to set the VMs ip address
 with no success. I tried supplying the ip address in the guest_info
 element during VM creation as in:
 guest_info
 ips
 ip address=x.x.x.x/
 /ips
 /guest_info

That's a read only property that shows the IP address of the virtual machine 
reported by the in-guest agent.

There's discussion going on about how we pass a payload to a VM that can handle 
things like in-guest configuration

http://www.ovirt.org/wiki/Features/VMPayload

 
 But the created VM ends up with the same ip address as that in the
 template.
 
 Anyone attempted to do something similar ? Is there another way of
 doing it. I tried the nics API but there seem to be no interface
 to modify a nic's ip address.
 
 Thank you.
 
 
 Regards,
 Messaoud Benantar
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Rest API for vmanager 3.0 (set VM ip address)

2012-03-13 Thread Andrew Cathrow
Not today, the guest would usually just pickup from DHCP
But that's the purpose of the VMPayload feature that's being discussed - a way 
to pass arbitrary data/config to the VM

- Original Message -
 From: Messaoud Benantar mbena...@us.ibm.com
 To: Andrew Cathrow acath...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, March 13, 2012 4:02:46 PM
 Subject: Re: [Users] Rest API for vmanager 3.0 (set VM ip address)
 
 Andrew -- thanks for the reply.
 Since guest_info of a vm is not modifiable, is there a way to set
 a VM's IP address.
 This seems like a really needed functionality when provisioning VMs
 through the Rest API.
 
 Regards,
 Messaoud Benantar
 
 
 
 
 From: Andrew Cathrow acath...@redhat.com
 To: Messaoud Benantar/Austin/IBM@IBMUS
 Cc: users@ovirt.org
 Date: 03/13/2012 01:30 PM
 Subject: Re: [Users] Rest API for vmanager 3.0 (set VM ip address)
 
 
 
 
 
 
 - Original Message -
  From: Messaoud Benantar mbena...@us.ibm.com
  To: users@ovirt.org
  Sent: Tuesday, March 13, 2012 12:13:25 PM
  Subject: [Users] Rest API for vmanager 3.0 (set VM ip address)
  
  
  Hi everyone,
  i am using the vmanager's 3.0 Rest API.
  have created a VM from an existing template (using http POST) and
  been trying to find a way to set the VMs ip address
  with no success. I tried supplying the ip address in the
  guest_info
  element during VM creation as in:
  guest_info
  ips
  ip address=x.x.x.x/
  /ips
  /guest_info
 
 That's a read only property that shows the IP address of the virtual
 machine reported by the in-guest agent.
 
 There's discussion going on about how we pass a payload to a VM that
 can handle things like in-guest configuration
 
 http://www.ovirt.org/wiki/Features/VMPayload
 
  
  But the created VM ends up with the same ip address as that in the
  template.
  
  Anyone attempted to do something similar ? Is there another way of
  doing it. I tried the nics API but there seem to be no interface
  to modify a nic's ip address.
  
  Thank you.
  
  
  Regards,
  Messaoud Benantar
  
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
  
 
 
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Rest API for vmanager 3.0 (set VM ip address)

2012-03-13 Thread Messaoud Benantar
Andrew -
  Unfortunately in our case we assign ip-addresses from a static 
pool.
So i understand the VMPayload feature will include setting up gues_info 
ip-address, right?
Sorry that i have not read any info regarding this functionality -- when 
will it be available? Thanks.


Regards,
Messaoud Benantar




From:   Andrew Cathrow acath...@redhat.com
To: Messaoud Benantar/Austin/IBM@IBMUS
Cc: users@ovirt.org
Date:   03/13/2012 03:12 PM
Subject:Re: [Users] Rest API for vmanager 3.0 (set VM ip address)



Not today, the guest would usually just pickup from DHCP
But that's the purpose of the VMPayload feature that's being discussed - a 
way to pass arbitrary data/config to the VM

- Original Message -
 From: Messaoud Benantar mbena...@us.ibm.com
 To: Andrew Cathrow acath...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, March 13, 2012 4:02:46 PM
 Subject: Re: [Users] Rest API for vmanager 3.0 (set VM ip address)
 
 Andrew -- thanks for the reply.
 Since guest_info of a vm is not modifiable, is there a way to set
 a VM's IP address.
 This seems like a really needed functionality when provisioning VMs
 through the Rest API.
 
 Regards,
 Messaoud Benantar
 
 
 
 
 From: Andrew Cathrow acath...@redhat.com
 To: Messaoud Benantar/Austin/IBM@IBMUS
 Cc: users@ovirt.org
 Date: 03/13/2012 01:30 PM
 Subject: Re: [Users] Rest API for vmanager 3.0 (set VM ip address)
 
 
 
 
 
 
 - Original Message -
  From: Messaoud Benantar mbena...@us.ibm.com
  To: users@ovirt.org
  Sent: Tuesday, March 13, 2012 12:13:25 PM
  Subject: [Users] Rest API for vmanager 3.0 (set VM ip address)
  
  
  Hi everyone,
  i am using the vmanager's 3.0 Rest API.
  have created a VM from an existing template (using http POST) and
  been trying to find a way to set the VMs ip address
  with no success. I tried supplying the ip address in the
  guest_info
  element during VM creation as in:
  guest_info
  ips
  ip address=x.x.x.x/
  /ips
  /guest_info
 
 That's a read only property that shows the IP address of the virtual
 machine reported by the in-guest agent.
 
 There's discussion going on about how we pass a payload to a VM that
 can handle things like in-guest configuration
 
 http://www.ovirt.org/wiki/Features/VMPayload
 
  
  But the created VM ends up with the same ip address as that in the
  template.
  
  Anyone attempted to do something similar ? Is there another way of
  doing it. I tried the nics API but there seem to be no interface
  to modify a nic's ip address.
  
  Thank you.
  
  
  Regards,
  Messaoud Benantar
  
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
  
 
 
 


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users