MOON
Server: Apache
System: Linux server2.shieldcogroup.com 3.10.0-1160.119.1.el7.tuxcare.els12.x86_64 #1 SMP Fri Nov 8 05:49:38 UTC 2024 x86_64
User: jacom (1029)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //etc/leapp/repos.d/system_upgrade/el7toel8/models/sssd.py
from leapp.models import fields, Model
from leapp.topics import SystemInfoTopic


class SSSDDomainConfig(Model):
    """
    Facts found about an SSSD domain.
    """
    topic = SystemInfoTopic

    name = fields.String()
    """
    Domain name.
    """

    options = fields.List(fields.String(), default=list())
    """
    List of options related to this domain that affects the upgrade process.
    """


class SSSDConfig(Model):
    """
    List of SSSD domains and their configuration that is related to the
    upgrade process.
    """
    topic = SystemInfoTopic

    domains = fields.List(fields.Model(SSSDDomainConfig), default=list())
    """
    SSSD Domains configuration.
    """