提交 4ad270b1 编写于 作者: C Chris Evich 提交者: Lucas Meneghel Rodrigues

virt-libvirt: Add create and "destroy" methods

* Added a create method which mostly wrapps virsh
  net-create command to adds and starts a _transient_
  (NOT persistent) host network.

* Added the compliment of new_all_networks_dict() which
  utterly and completely removes ALL defined host
  networks unconditionally.  The method name guards
  against foolish usage (You made a backup right?).
Signed-off-by: NChris Evich <cevich@redhat.com>
上级 1366b941
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册