Commit Graph

8 Commits (95f5a3550a9ea3ce6071943812cdf1da7d3c0b3a)

Author SHA1 Message Date
sxpert a82e991453 Virt net mods batch 1 (#1686)
* add a new modify command

for now, allows adding or modifying hosts in the dhcp subsystem

* fix some pep8 things that escaped

* add modify in the list in the doc

* added mention of adding modify in version 2.1

* handle the test mode case for modify

* modify the code for finer check mode support
9 years ago
Maciej Delmanowski 2af729944a Update author information in virt_net docs 9 years ago
Maciej Delmanowski 13e51060ec Remove unused parameter from method arguments 9 years ago
Maciej Delmanowski 2b15b0564c Add whitespace so diff with 'virt_pool' is easier 9 years ago
Maciej Delmanowski dc92f0af4c Rewrite method to not use try/except
Additional checks are not needed, because 'self.conn.get_entry(-1)'
returns all existing entries, each one should have state defined.
9 years ago
Maciej Delmanowski 00e7e225ce Rewrite for loops in a more Pythonic style 9 years ago
Maciej Delmanowski 8b2cc4f7bb Remove separate check for Xen
Module checked for Xen-based system, however since 'xen:///' URI support
exists in 'libvirt', we should use it explicitly instead.
9 years ago
Maciej Delmanowski 0da9254537 libvirt: virt_net module
This module manages network configuration in libvirt.
9 years ago