Re: [PATCH 3/5] Add DMRaidArrayDevice description and model properties (#558440)

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

 



OK. Martin

----- "Hans de Goede" <hdegoede@xxxxxxxxxx> wrote:

> ---
>  storage/devices.py |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)
> 
> diff --git a/storage/devices.py b/storage/devices.py
> index f0884ce..36f0675 100644
> --- a/storage/devices.py
> +++ b/storage/devices.py
> @@ -2940,6 +2940,14 @@ class DMRaidArrayDevice(DMDevice):
>  
>          log.debug("not tearing down dmraid device %s" % self.name)
>  
> +    @property
> +    def description(self):
> +        return "BIOS RAID set (%s)" % self._raidSet.rs.set_type
> +
> +    @property
> +    def model(self):
> +        return self.description
> +
>      def dracutSetupString(self):
>          return "rd_DM_UUID=%s" % self.name
>  
> -- 
> 1.6.5.2
> 
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux