class TwoFactorAuthModel(sa.Model): __tablename__ = 'system_twofactorauthentication' id = sa.Column(sa.Integer(), primary_key=True) otp_digits = sa.Column(sa.Integer(), default=6) secret = sa.Column(sa.String(16), nullable=True, default=None) window = sa.Column(sa.Integer(), default=0) interval = sa.Column(sa.Integer(), default=30) services = sa.Column(sa.JSON(), default={}) enabled = sa.Column(sa.Boolean(), default=False)
class TunableModel(sa.Model): __tablename__ = 'system_tunable' id = sa.Column(sa.Integer(), primary_key=True) tun_value = sa.Column(sa.String(512)) tun_orig_value = sa.Column(sa.String(512)) tun_type = sa.Column(sa.String(20)) tun_comment = sa.Column(sa.String(100)) tun_enabled = sa.Column(sa.Boolean(), default=True) tun_var = sa.Column(sa.String(128), unique=True)
class NTPModel(sa.Model): __tablename__ = 'system_ntpserver' id = sa.Column(sa.Integer(), primary_key=True) ntp_address = sa.Column(sa.String(120)) ntp_burst = sa.Column(sa.Boolean(), default=False) ntp_iburst = sa.Column(sa.Boolean(), default=True) ntp_prefer = sa.Column(sa.Boolean(), default=False) ntp_minpoll = sa.Column(sa.Integer(), default=6) ntp_maxpoll = sa.Column(sa.Integer(), default=10)
class WebDAVModel(sa.Model): __tablename__ = 'services_webdav' id = sa.Column(sa.Integer(), primary_key=True) webdav_protocol = sa.Column(sa.String(120), default="http") webdav_tcpport = sa.Column(sa.Integer(), default=8080) webdav_tcpportssl = sa.Column(sa.Integer(), default=8081) webdav_password = sa.Column(sa.String(120), default="davtest") webdav_htauth = sa.Column(sa.String(120), default='digest') webdav_certssl_id = sa.Column(sa.ForeignKey('system_certificate.id'), nullable=True)
class WebDAVSharingModel(sa.Model): __tablename__ = 'sharing_webdav_share' id = sa.Column(sa.Integer(), primary_key=True) webdav_name = sa.Column(sa.String(120)) webdav_comment = sa.Column(sa.String(120)) webdav_path = sa.Column(sa.String(255)) webdav_ro = sa.Column(sa.Boolean(), default=False) webdav_perm = sa.Column(sa.Boolean(), default=True) webdav_enabled = sa.Column(sa.Boolean(), default=True)
class SmartTestModel(sa.Model): __tablename__ = 'tasks_smarttest' id = sa.Column(sa.Integer(), primary_key=True) smarttest_type = sa.Column(sa.String(2)) smarttest_desc = sa.Column(sa.String(120)) smarttest_hour = sa.Column(sa.String(100), default='*') smarttest_daymonth = sa.Column(sa.String(100), default='*') smarttest_month = sa.Column(sa.String(100), default='*') smarttest_dayweek = sa.Column(sa.String(100), default='*') smarttest_all_disks = sa.Column(sa.Boolean(), default=False) smarttest_disks = sa.relationship( 'DiskModel', secondary=lambda: SmartTestDiskModel.__table__)
class IdmapDomainModel(sa.Model): __tablename__ = 'directoryservice_idmap_domain' id = sa.Column(sa.Integer(), primary_key=True) idmap_domain_name = sa.Column(sa.String(120), unique=True) idmap_domain_dns_domain_name = sa.Column(sa.String(255), nullable=True, unique=True) idmap_domain_range_low = sa.Column(sa.Integer()) idmap_domain_range_high = sa.Column(sa.Integer()) idmap_domain_idmap_backend = sa.Column(sa.String(120), default='rid') idmap_domain_options = sa.Column(sa.JSON(type=dict)) idmap_domain_certificate_id = sa.Column( sa.ForeignKey('system_certificate.id'), index=True, nullable=True)
class KMIPModel(sa.Model): __tablename__ = 'system_kmip' id = sa.Column(sa.Integer(), primary_key=True) server = sa.Column(sa.String(128), default=None, nullable=True) port = sa.Column(sa.SmallInteger(), default=5696) certificate_id = sa.Column(sa.ForeignKey('system_certificate.id'), index=True, nullable=True) certificate_authority_id = sa.Column( sa.ForeignKey('system_certificateauthority.id'), index=True, nullable=True) manage_sed_disks = sa.Column(sa.Boolean(), default=False) manage_zfs_keys = sa.Column(sa.Boolean(), default=False) enabled = sa.Column(sa.Boolean(), default=False)
class ReportingModel(sa.Model): __tablename__ = 'system_reporting' id = sa.Column(sa.Integer(), primary_key=True) cpu_in_percentage = sa.Column(sa.Boolean(), default=False) graphite = sa.Column(sa.String(120), default="") graph_age = sa.Column(sa.Integer(), default=12) graph_points = sa.Column(sa.Integer(), default=1200) graphite_separateinstances = sa.Column(sa.Boolean(), default=False)
class SmartModel(sa.Model): __tablename__ = 'services_smart' id = sa.Column(sa.Integer(), primary_key=True) smart_interval = sa.Column(sa.Integer(), default=30) smart_powermode = sa.Column(sa.String(60), default="never") smart_difference = sa.Column(sa.Integer(), default=0) smart_informational = sa.Column(sa.Integer(), default=0) smart_critical = sa.Column(sa.Integer(), default=0)
class GroupModel(sa.Model): __tablename__ = 'account_bsdgroups' id = sa.Column(sa.Integer(), primary_key=True) bsdgrp_gid = sa.Column(sa.Integer()) bsdgrp_group = sa.Column(sa.String(120)) bsdgrp_builtin = sa.Column(sa.Boolean(), default=False) bsdgrp_sudo = sa.Column(sa.Boolean(), default=False) bsdgrp_smb = sa.Column(sa.Boolean(), default=True)
class AlertServiceModel(sa.Model): __tablename__ = 'system_alertservice' id = sa.Column(sa.Integer(), primary_key=True) name = sa.Column(sa.String(120)) type = sa.Column(sa.String(20)) attributes = sa.Column(sa.JSON()) enabled = sa.Column(sa.Boolean()) level = sa.Column(sa.String(20))
class VMWareModel(sa.Model): __tablename__ = 'storage_vmwareplugin' id = sa.Column(sa.Integer(), primary_key=True) hostname = sa.Column(sa.String(200)) username = sa.Column(sa.String(200)) password = sa.Column(sa.EncryptedText()) filesystem = sa.Column(sa.String(200)) datastore = sa.Column(sa.String(200))
class NISModel(sa.Model): __tablename__ = 'directoryservice_nis' id = sa.Column(sa.Integer(), primary_key=True) nis_domain = sa.Column(sa.String(120)) nis_servers = sa.Column(sa.String(8192)) nis_secure_mode = sa.Column(sa.Boolean()) nis_manycast = sa.Column(sa.Boolean()) nis_enable = sa.Column(sa.Boolean(), default=False)
class RsyncModModel(sa.Model): __tablename__ = 'services_rsyncmod' id = sa.Column(sa.Integer(), primary_key=True) rsyncmod_name = sa.Column(sa.String(120)) rsyncmod_comment = sa.Column(sa.String(120)) rsyncmod_path = sa.Column(sa.String(255)) rsyncmod_mode = sa.Column(sa.String(120), default="rw") rsyncmod_maxconn = sa.Column(sa.Integer(), default=0) rsyncmod_user = sa.Column(sa.String(120), default="nobody") rsyncmod_group = sa.Column(sa.String(120), default="nobody") rsyncmod_hostsallow = sa.Column(sa.Text()) rsyncmod_hostsdeny = sa.Column(sa.Text()) rsyncmod_auxiliary = sa.Column(sa.Text())
class RsyncdModel(sa.Model): __tablename__ = 'services_rsyncd' id = sa.Column(sa.Integer(), primary_key=True) rsyncd_port = sa.Column(sa.Integer(), default=873) rsyncd_auxiliary = sa.Column(sa.Text())
class RsyncTaskModel(sa.Model): __tablename__ = 'tasks_rsync' id = sa.Column(sa.Integer(), primary_key=True) rsync_path = sa.Column(sa.String(255)) rsync_remotehost = sa.Column(sa.String(120)) rsync_remotemodule = sa.Column(sa.String(120)) rsync_desc = sa.Column(sa.String(120)) rsync_minute = sa.Column(sa.String(100), default="00") rsync_hour = sa.Column(sa.String(100), default="*") rsync_daymonth = sa.Column(sa.String(100), default="*") rsync_month = sa.Column(sa.String(100), default='*') rsync_dayweek = sa.Column(sa.String(100), default="*") rsync_user = sa.Column(sa.String(60)) rsync_recursive = sa.Column(sa.Boolean(), default=True) rsync_times = sa.Column(sa.Boolean(), default=True) rsync_compress = sa.Column(sa.Boolean(), default=True) rsync_archive = sa.Column(sa.Boolean(), default=False) rsync_delete = sa.Column(sa.Boolean(), default=False) rsync_quiet = sa.Column(sa.Boolean(), default=False) rsync_preserveperm = sa.Column(sa.Boolean(), default=False) rsync_preserveattr = sa.Column(sa.Boolean(), default=False) rsync_extra = sa.Column(sa.Text()) rsync_enabled = sa.Column(sa.Boolean(), default=True) rsync_mode = sa.Column(sa.String(20), default='module') rsync_remotepath = sa.Column(sa.String(255)) rsync_direction = sa.Column(sa.String(10), default='PUSH') rsync_remoteport = sa.Column(sa.SmallInteger(), default=22) rsync_delayupdates = sa.Column(sa.Boolean(), default=True)
class FTPModel(sa.Model): __tablename__ = 'services_ftp' id = sa.Column(sa.Integer(), primary_key=True) ftp_port = sa.Column(sa.Integer(), default=21) ftp_clients = sa.Column(sa.Integer(), default=32) ftp_ipconnections = sa.Column(sa.Integer(), default=0) ftp_loginattempt = sa.Column(sa.Integer(), default=3) ftp_timeout = sa.Column(sa.Integer(), default=120) ftp_rootlogin = sa.Column(sa.Boolean(), default=False) ftp_onlyanonymous = sa.Column(sa.Boolean(), default=False) ftp_anonpath = sa.Column(sa.String(255), nullable=True, default=False) ftp_onlylocal = sa.Column(sa.Boolean(), default=False) ftp_banner = sa.Column(sa.Text()) ftp_filemask = sa.Column(sa.String(3), default="077") ftp_dirmask = sa.Column(sa.String(3), default="077") ftp_fxp = sa.Column(sa.Boolean(), default=False) ftp_resume = sa.Column(sa.Boolean(), default=False) ftp_defaultroot = sa.Column(sa.Boolean(), default=False) ftp_ident = sa.Column(sa.Boolean(), default=False) ftp_reversedns = sa.Column(sa.Boolean(), default=False) ftp_masqaddress = sa.Column(sa.String(120)) ftp_passiveportsmin = sa.Column(sa.Integer(), default=0) ftp_passiveportsmax = sa.Column(sa.Integer(), default=0) ftp_localuserbw = sa.Column(sa.Integer(), default=0) ftp_localuserdlbw = sa.Column(sa.Integer(), default=0) ftp_anonuserbw = sa.Column(sa.Integer(), default=0) ftp_anonuserdlbw = sa.Column(sa.Integer(), default=0) ftp_tls = sa.Column(sa.Boolean(), default=False) ftp_tls_policy = sa.Column(sa.String(120), default="on") ftp_tls_opt_allow_client_renegotiations = sa.Column(sa.Boolean(), default=False) ftp_tls_opt_allow_dot_login = sa.Column(sa.Boolean(), default=False) ftp_tls_opt_allow_per_user = sa.Column(sa.Boolean(), default=False) ftp_tls_opt_common_name_required = sa.Column(sa.Boolean(), default=False) ftp_tls_opt_enable_diags = sa.Column(sa.Boolean(), default=False) ftp_tls_opt_export_cert_data = sa.Column(sa.Boolean(), default=False) ftp_tls_opt_no_cert_request = sa.Column(sa.Boolean(), default=False) ftp_tls_opt_no_empty_fragments = sa.Column(sa.Boolean(), default=False) ftp_tls_opt_no_session_reuse_required = sa.Column(sa.Boolean(), default=False) ftp_tls_opt_stdenvvars = sa.Column(sa.Boolean(), default=False) ftp_tls_opt_dns_name_required = sa.Column(sa.Boolean(), default=False) ftp_tls_opt_ip_address_required = sa.Column(sa.Boolean(), default=False) ftp_ssltls_certificate_id = sa.Column(sa.ForeignKey('system_certificate.id'), index=True, nullable=True) ftp_options = sa.Column(sa.Text())
class ReplicationModel(sa.Model): __tablename__ = 'storage_replication' id = sa.Column(sa.Integer(), primary_key=True) repl_target_dataset = sa.Column(sa.String(120)) repl_recursive = sa.Column(sa.Boolean(), default=False) repl_compression = sa.Column(sa.String(120), nullable=True, default="LZ4") repl_speed_limit = sa.Column(sa.Integer(), nullable=True, default=None) repl_schedule_begin = sa.Column(sa.Time(), nullable=True, default=time(hour=0)) repl_schedule_end = sa.Column(sa.Time(), nullable=True, default=time(hour=23, minute=45)) repl_enabled = sa.Column(sa.Boolean(), default=True) repl_direction = sa.Column(sa.String(120), default="PUSH") repl_transport = sa.Column(sa.String(120), default="SSH") repl_ssh_credentials_id = sa.Column( sa.ForeignKey('system_keychaincredential.id'), index=True, nullable=True) repl_netcat_active_side = sa.Column(sa.String(120), nullable=True, default=None) repl_netcat_active_side_port_min = sa.Column(sa.Integer(), nullable=True) repl_netcat_active_side_port_max = sa.Column(sa.Integer(), nullable=True) repl_source_datasets = sa.Column(sa.JSON(type=list)) repl_exclude = sa.Column(sa.JSON(type=list)) repl_naming_schema = sa.Column(sa.JSON(type=list)) repl_auto = sa.Column(sa.Boolean(), default=True) repl_schedule_minute = sa.Column(sa.String(100), nullable=True, default="00") repl_schedule_hour = sa.Column(sa.String(100), nullable=True, default="*") repl_schedule_daymonth = sa.Column(sa.String(100), nullable=True, default="*") repl_schedule_month = sa.Column(sa.String(100), nullable=True, default='*') repl_schedule_dayweek = sa.Column(sa.String(100), nullable=True, default="*") repl_only_matching_schedule = sa.Column(sa.Boolean()) repl_readonly = sa.Column(sa.String(120)) repl_allow_from_scratch = sa.Column(sa.Boolean()) repl_hold_pending_snapshots = sa.Column(sa.Boolean()) repl_retention_policy = sa.Column(sa.String(120), default="NONE") repl_lifetime_unit = sa.Column(sa.String(120), nullable=True, default='WEEK') repl_lifetime_value = sa.Column(sa.Integer(), nullable=True, default=2) repl_large_block = sa.Column(sa.Boolean(), default=True) repl_embed = sa.Column(sa.Boolean(), default=False) repl_compressed = sa.Column(sa.Boolean(), default=True) repl_retries = sa.Column(sa.Integer(), default=5) repl_restrict_schedule_minute = sa.Column(sa.String(100), nullable=True, default="00") repl_restrict_schedule_hour = sa.Column(sa.String(100), nullable=True, default="*") repl_restrict_schedule_daymonth = sa.Column(sa.String(100), nullable=True, default="*") repl_restrict_schedule_month = sa.Column(sa.String(100), nullable=True, default='*') repl_restrict_schedule_dayweek = sa.Column(sa.String(100), nullable=True, default="*") repl_restrict_schedule_begin = sa.Column(sa.Time(), nullable=True, default=time(hour=0)) repl_restrict_schedule_end = sa.Column(sa.Time(), nullable=True, default=time(hour=23, minute=45)) repl_netcat_active_side_listen_address = sa.Column(sa.String(120), nullable=True, default=None) repl_netcat_passive_side_connect_address = sa.Column(sa.String(120), nullable=True, default=None) repl_logging_level = sa.Column(sa.String(120), nullable=True, default=None) repl_name = sa.Column(sa.String(120)) repl_state = sa.Column(sa.Text(), default="{}") repl_properties = sa.Column(sa.Boolean(), default=True) repl_properties_exclude = sa.Column(sa.JSON(type=list)) repl_properties_override = sa.Column(sa.JSON()) repl_replicate = sa.Column(sa.Boolean()) repl_encryption = sa.Column(sa.Boolean()) repl_encryption_key = sa.Column(sa.EncryptedText(), nullable=True) repl_encryption_key_format = sa.Column(sa.String(120), nullable=True) repl_encryption_key_location = sa.Column(sa.Text(), nullable=True) repl_periodic_snapshot_tasks = sa.relationship( 'PeriodicSnapshotTaskModel', secondary=lambda: ReplicationPeriodicSnapshotTaskModel.__table__)
class AlertClassesModel(sa.Model): __tablename__ = 'system_alertclasses' id = sa.Column(sa.Integer(), primary_key=True) classes = sa.Column(sa.JSON())
class MigrationModel(sa.Model): __tablename__ = 'system_migration' id = sa.Column(sa.Integer(), primary_key=True) name = sa.Column(sa.String(255))
class OpenVPNServerModel(sa.Model): __tablename__ = 'services_openvpnserver' id = sa.Column(sa.Integer(), primary_key=True) port = sa.Column(sa.Integer(), default=1194) protocol = sa.Column(sa.String(4), default='UDP') device_type = sa.Column(sa.String(4), default='TUN') authentication_algorithm = sa.Column(sa.String(32), nullable=True) tls_crypt_auth = sa.Column(sa.Text(), nullable=True) cipher = sa.Column(sa.String(32), nullable=True) compression = sa.Column(sa.String(32), nullable=True) additional_parameters = sa.Column(sa.Text()) server_certificate_id = sa.Column(sa.ForeignKey('system_certificate.id'), index=True, nullable=True) root_ca_id = sa.Column(sa.ForeignKey('system_certificateauthority.id'), index=True, nullable=True) server = sa.Column(sa.String(45)) topology = sa.Column(sa.String(16), nullable=True) netmask = sa.Column(sa.Integer(), default=24)
class OpenVPNClientModel(sa.Model): __tablename__ = 'services_openvpnclient' id = sa.Column(sa.Integer(), primary_key=True) port = sa.Column(sa.Integer(), default=1194) protocol = sa.Column(sa.String(4), default='UDP') device_type = sa.Column(sa.String(4), default='TUN') nobind = sa.Column(sa.Boolean(), default=True) authentication_algorithm = sa.Column(sa.String(32), nullable=True) tls_crypt_auth = sa.Column(sa.Text(), nullable=True) cipher = sa.Column(sa.String(32), nullable=True) compression = sa.Column(sa.String(32), nullable=True) additional_parameters = sa.Column(sa.Text()) client_certificate_id = sa.Column(sa.ForeignKey('system_certificate.id'), index=True, nullable=True) root_ca_id = sa.Column(sa.ForeignKey('system_certificateauthority.id'), index=True, nullable=True) remote = sa.Column(sa.String(120))
class NFSShareModel(sa.Model): __tablename__ = 'sharing_nfs_share' id = sa.Column(sa.Integer(), primary_key=True) nfs_paths = sa.Column(sa.JSON(type=list)) nfs_aliases = sa.Column(sa.JSON(type=list)) nfs_comment = sa.Column(sa.String(120)) nfs_network = sa.Column(sa.Text()) nfs_hosts = sa.Column(sa.Text()) nfs_alldirs = sa.Column(sa.Boolean(), default=False) nfs_ro = sa.Column(sa.Boolean(), default=False) nfs_quiet = sa.Column(sa.Boolean(), default=False) nfs_maproot_user = sa.Column(sa.String(120), nullable=True, default='') nfs_maproot_group = sa.Column(sa.String(120), nullable=True, default='') nfs_mapall_user = sa.Column(sa.String(120), nullable=True, default='') nfs_mapall_group = sa.Column(sa.String(120), nullable=True, default='') nfs_security = sa.Column(sa.MultiSelectField()) nfs_enabled = sa.Column(sa.Boolean(), default=True)
class SSHModel(sa.Model): __tablename__ = 'services_ssh' id = sa.Column(sa.Integer(), primary_key=True) ssh_bindiface = sa.Column(sa.MultiSelectField(), default=[]) ssh_tcpport = sa.Column(sa.Integer(), default=22) ssh_rootlogin = sa.Column(sa.Boolean(), default=False) ssh_passwordauth = sa.Column(sa.Boolean(), default=False) ssh_kerberosauth = sa.Column(sa.Boolean(), default=False) ssh_tcpfwd = sa.Column(sa.Boolean(), default=False) ssh_compression = sa.Column(sa.Boolean(), default=False) ssh_privatekey = sa.Column(sa.EncryptedText()) ssh_sftp_log_level = sa.Column(sa.String(20)) ssh_sftp_log_facility = sa.Column(sa.String(20)) ssh_host_dsa_key = sa.Column(sa.EncryptedText(), nullable=True) ssh_host_dsa_key_pub = sa.Column(sa.Text(), nullable=True) ssh_host_dsa_key_cert_pub = sa.Column(sa.Text(), nullable=True) ssh_host_ecdsa_key = sa.Column(sa.EncryptedText(), nullable=True) ssh_host_ecdsa_key_pub = sa.Column(sa.Text(), nullable=True) ssh_host_ecdsa_key_cert_pub = sa.Column(sa.Text(), nullable=True) ssh_host_ed25519_key = sa.Column(sa.EncryptedText(), nullable=True) ssh_host_ed25519_key_pub = sa.Column(sa.Text(), nullable=True) ssh_host_ed25519_key_cert_pub = sa.Column(sa.Text(), nullable=True) ssh_host_key = sa.Column(sa.EncryptedText(), nullable=True) ssh_host_key_pub = sa.Column(sa.Text(), nullable=True) ssh_host_rsa_key = sa.Column(sa.EncryptedText(), nullable=True) ssh_host_rsa_key_pub = sa.Column(sa.Text(), nullable=True) ssh_host_rsa_key_cert_pub = sa.Column(sa.Text(), nullable=True) ssh_weak_ciphers = sa.Column(sa.JSON(type=list)) ssh_options = sa.Column(sa.Text())
class CloudSyncModel(sa.Model): __tablename__ = 'tasks_cloudsync' id = sa.Column(sa.Integer(), primary_key=True) description = sa.Column(sa.String(150)) direction = sa.Column(sa.String(10), default='PUSH') path = sa.Column(sa.String(255)) attributes = sa.Column(sa.JSON()) minute = sa.Column(sa.String(100), default="00") hour = sa.Column(sa.String(100), default="*") daymonth = sa.Column(sa.String(100), default="*") month = sa.Column(sa.String(100), default='*') dayweek = sa.Column(sa.String(100), default="*") enabled = sa.Column(sa.Boolean(), default=True) credential_id = sa.Column(sa.ForeignKey('system_cloudcredentials.id'), index=True) transfer_mode = sa.Column(sa.String(20), default='sync') encryption = sa.Column(sa.Boolean()) filename_encryption = sa.Column(sa.Boolean(), default=True) encryption_password = sa.Column(sa.EncryptedText()) encryption_salt = sa.Column(sa.EncryptedText()) args = sa.Column(sa.Text()) post_script = sa.Column(sa.Text()) pre_script = sa.Column(sa.Text()) snapshot = sa.Column(sa.Boolean()) bwlimit = sa.Column(sa.JSON(type=list)) exclude = sa.Column(sa.JSON(type=list)) transfers = sa.Column(sa.Integer(), nullable=True) follow_symlinks = sa.Column(sa.Boolean())
class AlertModel(sa.Model): __tablename__ = 'system_alert' id = sa.Column(sa.Integer(), primary_key=True) node = sa.Column(sa.String(100)) source = sa.Column(sa.Text()) key = sa.Column(sa.Text()) datetime = sa.Column(sa.DateTime()) last_occurrence = sa.Column(sa.DateTime()) text = sa.Column(sa.Text()) args = sa.Column(sa.JSON(type=None)) dismissed = sa.Column(sa.Boolean()) uuid = sa.Column(sa.Text()) klass = sa.Column(sa.Text())
class KerberosKeytabModel(sa.Model): __tablename__ = 'directoryservice_kerberoskeytab' id = sa.Column(sa.Integer(), primary_key=True) keytab_file = sa.Column(sa.EncryptedText()) keytab_name = sa.Column(sa.String(120), unique=True)
class VMModel(sa.Model): __tablename__ = 'vm_vm' id = sa.Column(sa.Integer(), primary_key=True) name = sa.Column(sa.String(150)) description = sa.Column(sa.String(250)) vcpus = sa.Column(sa.Integer(), default=1) memory = sa.Column(sa.Integer()) min_memory = sa.Column(sa.Integer(), nullable=True) autostart = sa.Column(sa.Boolean(), default=False) time = sa.Column(sa.String(5), default='LOCAL') bootloader = sa.Column(sa.String(50), default='UEFI') cores = sa.Column(sa.Integer(), default=1) threads = sa.Column(sa.Integer(), default=1) hyperv_enlightenments = sa.Column(sa.Boolean(), default=False) shutdown_timeout = sa.Column(sa.Integer(), default=90) cpu_mode = sa.Column(sa.Text()) cpu_model = sa.Column(sa.Text(), nullable=True) cpuset = sa.Column(sa.Text(), default=None, nullable=True) nodeset = sa.Column(sa.Text(), default=None, nullable=True) pin_vcpus = sa.Column(sa.Boolean(), default=False) hide_from_msr = sa.Column(sa.Boolean(), default=False) ensure_display_device = sa.Column(sa.Boolean(), default=True) arch_type = sa.Column(sa.String(255), default=None, nullable=True) machine_type = sa.Column(sa.String(255), default=None, nullable=True) uuid = sa.Column(sa.String(255))
class KerberosModel(sa.Model): __tablename__ = 'directoryservice_kerberossettings' id = sa.Column(sa.Integer(), primary_key=True) ks_appdefaults_aux = sa.Column(sa.Text()) ks_libdefaults_aux = sa.Column(sa.Text())