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.
33 lines
696 B
33 lines
696 B
9 months ago
|
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.
|
||
|
"""
|