[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] [virt-install PATCH v3] Support multiple seclabels



On 12/05/2012 06:11 AM, Martin Kletzander wrote:
> Until now, virt-install supported only one seclabel and it was the
> first one libvirt reported in capabilities.  This patch adds support
> for more of them and also adds a functionality to try to match the
> right one from the label given.  This is done by checking how many
> colons the label has (precisely said, to how many parts it is split
> by the colons).
> ---
> v3:
>  - Added support for testSecurity model in order to pass the test suite
>  - Made some code more readable and wrapped under 80 columns
> v2:
>  - Changed according to Cole's suggestions
> ---
>  virtinst/CapabilitiesParser.py | 10 +++++---
>  virtinst/Seclabel.py           | 52 ++++++++++++++++++++++++++++++++++++++----
>  virtinst/VirtualDisk.py        | 11 ++++-----
>  3 files changed, 60 insertions(+), 13 deletions(-)
> 

Thanks Martin, pushed now.

- Cole


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]