You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
553 B

from leapp.models import fields, Model
from leapp.topics import SystemFactsTopic
class KernelModuleParameter(Model):
topic = SystemFactsTopic
name = fields.String()
value = fields.String()
class ActiveKernelModule(Model):
topic = SystemFactsTopic
filename = fields.String()
parameters = fields.List(fields.Model(KernelModuleParameter))
signature = fields.Nullable(fields.String())
class ActiveKernelModulesFacts(Model):
topic = SystemFactsTopic
kernel_modules = fields.List(fields.Model(ActiveKernelModule))