Re: [ovirt-users] using ovirt-shell to attach defind network to hosts

2014-10-05 Thread Vladimir Pakhomov
> From: "Vladimir Pakhomov" > > To: users@ovirt.org > > Sent: Sunday, October 5, 2014 1:26:12 PM > > Subject: [ovirt-users] using ovirt-shell to attach defind network to > hosts > > > > Hi, > > > > I would like to implement a script that wo

Re: [ovirt-users] using ovirt-shell to attach defind network to hosts

2014-10-05 Thread Moti Asayag
- Original Message - > From: "Vladimir Pakhomov" > To: users@ovirt.org > Sent: Sunday, October 5, 2014 1:26:12 PM > Subject: [ovirt-users] using ovirt-shell to attach defind network to hosts > > Hi, > > I would like to implement a script that would a

Re: [ovirt-users] using ovirt-shell to attach defind network to hosts

2014-10-05 Thread Sven Kieske
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05.10.2014 12:26, Vladimir Pakhomov wrote: > Hi, > > I would like to implement a script that would attach a newly > created network to all hosts in cluster. Unfortunately I cannot > find anything about that in documentation. Is it possible to attac

Re: [ovirt-users] using ovirt-shell to attach defind network to hosts

2014-10-05 Thread Maikl P
probably using xml tags not such a good idea for ML archives/PT clients, [1] http://www.ovirt.org/CLI#Scripting [2] http://www.ovirt.org/Python-sdk [3] http://www.ovirt.org/Java-sdk On Sunday, October 5, 2014 2:37 PM, Maikl P wrote: Hey Vladimir, Though there is no explicit documentat

Re: [ovirt-users] using ovirt-shell to attach defind network to hosts

2014-10-05 Thread Maikl P
Hey Vladimir, Though there is no explicit documentation for the $subject, the concept is the same in api/cli/sdk, i.e: 1. fetch the host 2. access host's nics collection 3. get the nic 4. use attach() method to attach your network, in CLI you can use auto-completion for constructing commands and

[ovirt-users] using ovirt-shell to attach defind network to hosts

2014-10-05 Thread Vladimir Pakhomov
Hi, I would like to implement a script that would attach a newly created network to all hosts in cluster. Unfortunately I cannot find anything about that in documentation. Is it possible to attach network to host using CLI/REST API? Kind regards, Vladimir Pakhomov