[ovirt-users] using ovirt-shell to attach defind network to hosts
mishka8520 at yahoo.com
Sun Oct 5 11:37:05 UTC 2014
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.
On Sunday, October 5, 2014 1:26 PM, Vladimir Pakhomov <pakhomov.vladimir at gmail.com> wrote:
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?
Users mailing list
Users at ovirt.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users