[ovirt-users] using ovirt-shell to attach defind network to hosts
Maikl P
mishka8520 at yahoo.com
Sun Oct 5 11:37:05 UTC 2014
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.vladimir at 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 at ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20141005/33b428b9/attachment-0001.html>
More information about the Users
mailing list