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 <mishka8...@yahoo.com> wrote:
 


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 'help action attach ...' to see action parameters, cli scripting
wiki available here. 


 
also i'd suggest considering one of SDKs (python-sdk / java-sdk)
for this matter.

Michael Pasternak

 



On Sunday, October 5, 2014 1:26 PM, Vladimir Pakhomov 
<pakhomov.vladi...@gmail.com> 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 attach network to host using CLI/REST API?

Kind regards,
Vladimir Pakhomov
_______________________________________________
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

Reply via email to