Commit Graph

9 Commits (e9fd5ad5dc5a72ae9255fcff0c65f3653462d13a)

Author SHA1 Message Date
Shinichi TAMURA 5fbb0de36f Allow value to be bool where 'yes'/'no' are in choices (#2593)
* Changed type of 'details' argument to bool on ecs_service_facts module.

* Changed type of 'autostart' argument to bool on virt_* modules.

* Changed types of 'autoconnect' and 'stp' argument to bool on nmcli module.
('create_connection_bridge(self)' and 'modify_connection_bridge(self)' are not implemented yet?)

* Added conversion of 'value' argument when 'vtype' is boolean on debconf module.
8 years ago
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