2015-04-08 14:41:09 +00:00
# -*- coding: utf-8 -*-
2024-07-12 09:41:44 +00:00
# Generated by Django 1.10.5 on 2021-04-22 11:27
2015-04-08 14:41:09 +00:00
from __future__ import unicode_literals
2024-07-12 09:41:44 +00:00
from django . db import migrations , models
2021-04-22 12:18:01 +00:00
import django . db . models . deletion
2024-07-12 09:41:44 +00:00
import orchestra . core . validators
2015-04-08 14:41:09 +00:00
import orchestra . models . fields
class Migration ( migrations . Migration ) :
dependencies = [
( ' contenttypes ' , ' 0002_remove_content_type_name ' ) ,
]
operations = [
migrations . CreateModel (
name = ' BackendLog ' ,
fields = [
2024-07-12 09:41:44 +00:00
( ' id ' , models . AutoField ( auto_created = True , primary_key = True , serialize = False , verbose_name = ' ID ' ) ) ,
2015-04-29 13:55:22 +00:00
( ' backend ' , models . CharField ( max_length = 256 , verbose_name = ' backend ' ) ) ,
2015-04-29 14:32:38 +00:00
( ' state ' , models . CharField ( choices = [ ( ' RECEIVED ' , ' RECEIVED ' ) , ( ' TIMEOUT ' , ' TIMEOUT ' ) , ( ' STARTED ' , ' STARTED ' ) , ( ' SUCCESS ' , ' SUCCESS ' ) , ( ' FAILURE ' , ' FAILURE ' ) , ( ' ERROR ' , ' ERROR ' ) , ( ' ABORTED ' , ' ABORTED ' ) , ( ' REVOKED ' , ' REVOKED ' ) ] , default = ' RECEIVED ' , max_length = 16 , verbose_name = ' state ' ) ) ,
2015-04-08 14:41:09 +00:00
( ' script ' , models . TextField ( verbose_name = ' script ' ) ) ,
( ' stdout ' , models . TextField ( verbose_name = ' stdout ' ) ) ,
( ' stderr ' , models . TextField ( verbose_name = ' stdin ' ) ) ,
( ' traceback ' , models . TextField ( verbose_name = ' traceback ' ) ) ,
2024-07-12 09:41:44 +00:00
( ' exit_code ' , models . IntegerField ( null = True , verbose_name = ' exit code ' ) ) ,
( ' task_id ' , models . CharField ( help_text = ' Celery task ID when used as execution backend ' , max_length = 36 , null = True , unique = True , verbose_name = ' task ID ' ) ) ,
2015-04-29 13:55:22 +00:00
( ' created_at ' , models . DateTimeField ( auto_now_add = True , verbose_name = ' created ' ) ) ,
( ' updated_at ' , models . DateTimeField ( auto_now = True , verbose_name = ' updated ' ) ) ,
2015-04-08 14:41:09 +00:00
] ,
options = {
' get_latest_by ' : ' id ' ,
} ,
) ,
migrations . CreateModel (
name = ' BackendOperation ' ,
fields = [
2024-07-12 09:41:44 +00:00
( ' id ' , models . AutoField ( auto_created = True , primary_key = True , serialize = False , verbose_name = ' ID ' ) ) ,
2015-04-29 13:55:22 +00:00
( ' backend ' , models . CharField ( max_length = 256 , verbose_name = ' backend ' ) ) ,
( ' action ' , models . CharField ( max_length = 64 , verbose_name = ' action ' ) ) ,
2024-07-12 09:41:44 +00:00
( ' object_id ' , models . PositiveIntegerField ( null = True ) ) ,
2021-04-22 12:18:01 +00:00
( ' content_type ' , models . ForeignKey ( on_delete = django . db . models . deletion . CASCADE , to = ' contenttypes.ContentType ' ) ) ,
( ' log ' , models . ForeignKey ( on_delete = django . db . models . deletion . CASCADE , related_name = ' operations ' , to = ' orchestration.BackendLog ' ) ) ,
2024-07-12 09:41:44 +00:00
( ' instance_repr ' , models . CharField ( default = ' ' , max_length = 256 , verbose_name = ' instance representation ' ) ) ,
2015-04-08 14:41:09 +00:00
] ,
options = {
' verbose_name_plural ' : ' Operations ' ,
2015-04-29 13:55:22 +00:00
' verbose_name ' : ' Operation ' ,
2015-04-08 14:41:09 +00:00
} ,
) ,
migrations . CreateModel (
name = ' Route ' ,
fields = [
2024-07-12 09:41:44 +00:00
( ' id ' , models . AutoField ( auto_created = True , primary_key = True , serialize = False , verbose_name = ' ID ' ) ) ,
2016-03-08 10:16:49 +00:00
( ' backend ' , models . CharField ( choices = [ ( ' Apache2Traffic ' , ' [M] Apache 2 Traffic ' ) , ( ' DovecotMaildirDisk ' , ' [M] Dovecot Maildir size ' ) , ( ' Exim4Traffic ' , ' [M] Exim4 traffic ' ) , ( ' MailmanSubscribers ' , ' [M] Mailman subscribers ' ) , ( ' MailmanTraffic ' , ' [M] Mailman traffic ' ) , ( ' MysqlDisk ' , ' [M] MySQL disk ' ) , ( ' OpenVZTraffic ' , ' [M] OpenVZTraffic ' ) , ( ' PostfixMailscannerTraffic ' , ' [M] Postfix-Mailscanner traffic ' ) , ( ' UNIXUserDisk ' , ' [M] UNIX user disk ' ) , ( ' VsFTPdTraffic ' , ' [M] VsFTPd traffic ' ) , ( ' Apache2Controller ' , ' [S] Apache 2 ' ) , ( ' BSCWController ' , ' [S] BSCW SaaS ' ) , ( ' Bind9MasterDomainController ' , ' [S] Bind9 master domain ' ) , ( ' Bind9SlaveDomainController ' , ' [S] Bind9 slave domain ' ) , ( ' DokuWikiMuController ' , ' [S] DokuWiki multisite ' ) , ( ' DovecotPostfixPasswdVirtualUserController ' , ' [S] Dovecot-Postfix virtualuser ' ) , ( ' DrupalMuController ' , ' [S] Drupal multisite ' ) , ( ' GitLabSaaSController ' , ' [S] GitLab SaaS ' ) , ( ' AutoresponseController ' , ' [S] Mail autoresponse ' ) , ( ' MailmanController ' , ' [S] Mailman ' ) , ( ' MySQLController ' , ' [S] MySQL database ' ) , ( ' MySQLUserController ' , ' [S] MySQL user ' ) , ( ' PHPController ' , ' [S] PHP FPM/FCGID ' ) , ( ' PostfixAddressController ' , ' [S] Postfix address ' ) , ( ' uWSGIPythonController ' , ' [S] Python uWSGI ' ) , ( ' StaticController ' , ' [S] Static ' ) , ( ' SymbolicLinkController ' , ' [S] Symbolic link webapp ' ) , ( ' UNIXUserMaildirController ' , ' [S] UNIX maildir user ' ) , ( ' UNIXUserController ' , ' [S] UNIX user ' ) , ( ' WebalizerAppController ' , ' [S] Webalizer App ' ) , ( ' WebalizerController ' , ' [S] Webalizer Content ' ) , ( ' WordPressController ' , ' [S] Wordpress ' ) , ( ' WordpressMuController ' , ' [S] Wordpress multisite ' ) , ( ' PhpListSaaSController ' , ' [S] phpList SaaS ' ) ] , max_length = 256 , verbose_name = ' backend ' ) ) ,
2024-07-12 09:41:44 +00:00
( ' match ' , models . CharField ( blank = True , default = ' True ' , help_text = ' Python expression used for selecting the targe host, <em>instance</em> referes to the current object. ' , max_length = 256 , verbose_name = ' match ' ) ) ,
2015-04-29 13:55:22 +00:00
( ' is_active ' , models . BooleanField ( default = True , verbose_name = ' active ' ) ) ,
2015-04-08 14:41:09 +00:00
] ,
) ,
migrations . CreateModel (
name = ' Server ' ,
fields = [
2024-07-12 09:41:44 +00:00
( ' id ' , models . AutoField ( auto_created = True , primary_key = True , serialize = False , verbose_name = ' ID ' ) ) ,
( ' name ' , models . CharField ( help_text = ' Verbose name or hostname of this server. ' , max_length = 256 , unique = True , verbose_name = ' name ' ) ) ,
( ' address ' , orchestra . models . fields . NullableCharField ( blank = True , help_text = ' Optional IP address or domain name. If blank, name field will be used for address resolution.<br>If the IP address never changes you can set this field and save DNS requests. ' , max_length = 256 , null = True , unique = True , validators = [ orchestra . core . validators . OrValidator ( orchestra . core . validators . validate_ip_address , orchestra . core . validators . validate_hostname ) ] , verbose_name = ' address ' ) ) ,
2015-04-08 14:41:09 +00:00
( ' description ' , models . TextField ( blank = True , verbose_name = ' description ' ) ) ,
2015-04-29 14:32:38 +00:00
( ' os ' , models . CharField ( choices = [ ( ' LINUX ' , ' Linux ' ) ] , default = ' LINUX ' , max_length = 32 , verbose_name = ' operative system ' ) ) ,
2015-04-08 14:41:09 +00:00
] ,
) ,
migrations . AddField (
model_name = ' route ' ,
name = ' host ' ,
2021-04-22 12:18:01 +00:00
field = models . ForeignKey ( on_delete = django . db . models . deletion . CASCADE , to = ' orchestration.Server ' , verbose_name = ' host ' ) ,
2015-04-08 14:41:09 +00:00
) ,
migrations . AddField (
model_name = ' backendlog ' ,
name = ' server ' ,
2021-04-22 12:18:01 +00:00
field = models . ForeignKey ( on_delete = django . db . models . deletion . CASCADE , related_name = ' execution_logs ' , to = ' orchestration.Server ' , verbose_name = ' server ' ) ,
2015-04-08 14:41:09 +00:00
) ,
2024-07-12 09:41:44 +00:00
migrations . AddField (
model_name = ' route ' ,
name = ' run_async ' ,
field = models . BooleanField ( default = False , help_text = ' Whether or not block the request/response cycle waitting this backend to finish its execution. Usually you want slave servers to run asynchronously. ' ) ,
) ,
2015-04-08 14:41:09 +00:00
migrations . AlterUniqueTogether (
name = ' route ' ,
unique_together = set ( [ ( ' backend ' , ' host ' ) ] ) ,
) ,
2024-07-12 09:41:44 +00:00
migrations . AlterField (
model_name = ' backendlog ' ,
name = ' state ' ,
field = models . CharField ( choices = [ ( ' RECEIVED ' , ' RECEIVED ' ) , ( ' TIMEOUT ' , ' TIMEOUT ' ) , ( ' STARTED ' , ' STARTED ' ) , ( ' SUCCESS ' , ' SUCCESS ' ) , ( ' FAILURE ' , ' FAILURE ' ) , ( ' ERROR ' , ' ERROR ' ) , ( ' ABORTED ' , ' ABORTED ' ) , ( ' REVOKED ' , ' REVOKED ' ) , ( ' NOTHING ' , ' NOTHING ' ) ] , default = ' RECEIVED ' , max_length = 16 , verbose_name = ' state ' ) ,
) ,
migrations . AlterField (
model_name = ' backendlog ' ,
name = ' stderr ' ,
field = models . TextField ( verbose_name = ' stderr ' ) ,
) ,
migrations . AlterField (
model_name = ' route ' ,
name = ' backend ' ,
field = models . CharField ( choices = [ ( ' Apache2Traffic ' , ' [M] Apache 2 Traffic ' ) , ( ' DovecotMaildirDisk ' , ' [M] Dovecot Maildir size ' ) , ( ' Exim4Traffic ' , ' [M] Exim4 traffic ' ) , ( ' MailmanSubscribers ' , ' [M] Mailman subscribers ' ) , ( ' MailmanTraffic ' , ' [M] Mailman traffic ' ) , ( ' MysqlDisk ' , ' [M] MySQL disk ' ) , ( ' OpenVZTraffic ' , ' [M] OpenVZTraffic ' ) , ( ' PostfixMailscannerTraffic ' , ' [M] Postfix-Mailscanner traffic ' ) , ( ' UNIXUserDisk ' , ' [M] UNIX user disk ' ) , ( ' VsFTPdTraffic ' , ' [M] VsFTPd traffic ' ) , ( ' Apache2Controller ' , ' [S] Apache 2 ' ) , ( ' BSCWController ' , ' [S] BSCW SaaS ' ) , ( ' Bind9MasterDomainController ' , ' [S] Bind9 master domain ' ) , ( ' Bind9SlaveDomainController ' , ' [S] Bind9 slave domain ' ) , ( ' DokuWikiMuController ' , ' [S] DokuWiki multisite ' ) , ( ' DovecotPostfixPasswdVirtualUserController ' , ' [S] Dovecot-Postfix virtualuser ' ) , ( ' DrupalMuController ' , ' [S] Drupal multisite ' ) , ( ' GitLabSaaSController ' , ' [S] GitLab SaaS ' ) , ( ' AutoresponseController ' , ' [S] Mail autoresponse ' ) , ( ' MailmanController ' , ' [S] Mailman ' ) , ( ' MailmanVirtualDomainController ' , ' [S] Mailman virtdomain-only ' ) , ( ' MySQLController ' , ' [S] MySQL database ' ) , ( ' MySQLUserController ' , ' [S] MySQL user ' ) , ( ' PHPController ' , ' [S] PHP FPM/FCGID ' ) , ( ' PostfixAddressController ' , ' [S] Postfix address ' ) , ( ' PostfixAddressVirtualDomainController ' , ' [S] Postfix address virtdomain-only ' ) , ( ' uWSGIPythonController ' , ' [S] Python uWSGI ' ) , ( ' StaticController ' , ' [S] Static ' ) , ( ' SymbolicLinkController ' , ' [S] Symbolic link webapp ' ) , ( ' SyncBind9MasterDomainController ' , ' [S] Sync Bind9 master domain ' ) , ( ' SyncBind9SlaveDomainController ' , ' [S] Sync Bind9 slave domain ' ) , ( ' UNIXUserMaildirController ' , ' [S] UNIX maildir user ' ) , ( ' UNIXUserController ' , ' [S] UNIX user ' ) , ( ' WebalizerAppController ' , ' [S] Webalizer App ' ) , ( ' WebalizerController ' , ' [S] Webalizer Content ' ) , ( ' WordPressController ' , ' [S] Wordpress ' ) , ( ' WordpressMuController ' , ' [S] Wordpress multisite ' ) , ( ' PhpListSaaSController ' , ' [S] phpList SaaS ' ) ] , max_length = 256 , verbose_name = ' backend ' ) ,
) ,
migrations . AddField (
model_name = ' route ' ,
name = ' async_actions ' ,
field = orchestra . models . fields . MultiSelectField ( blank = True , help_text = ' Specify individual actions to be executed asynchronoulsy. ' , max_length = 256 ) ,
) ,
migrations . AlterField (
model_name = ' backendlog ' ,
name = ' created_at ' ,
field = models . DateTimeField ( auto_now_add = True , db_index = True , verbose_name = ' created ' ) ,
) ,
migrations . AlterField (
model_name = ' route ' ,
name = ' backend ' ,
field = models . CharField ( choices = [ ( ' Apache2Traffic ' , ' [M] Apache 2 Traffic ' ) , ( ' ApacheTrafficByName ' , ' [M] ApacheTrafficByName ' ) , ( ' DokuWikiMuTraffic ' , ' [M] DokuWiki MU Traffic ' ) , ( ' DovecotMaildirDisk ' , ' [M] Dovecot Maildir size ' ) , ( ' Exim4Traffic ' , ' [M] Exim4 traffic ' ) , ( ' MailmanSubscribers ' , ' [M] Mailman subscribers ' ) , ( ' MailmanTraffic ' , ' [M] Mailman traffic ' ) , ( ' MysqlDisk ' , ' [M] MySQL disk ' ) , ( ' OpenVZTraffic ' , ' [M] OpenVZTraffic ' ) , ( ' PostfixMailscannerTraffic ' , ' [M] Postfix-Mailscanner traffic ' ) , ( ' UNIXUserDisk ' , ' [M] UNIX user disk ' ) , ( ' VsFTPdTraffic ' , ' [M] VsFTPd traffic ' ) , ( ' WordpressMuTraffic ' , ' [M] Wordpress MU Traffic ' ) , ( ' OwnCloudDiskQuota ' , ' [M] ownCloud SaaS Disk Quota ' ) , ( ' OwncloudTraffic ' , ' [M] ownCloud SaaS Traffic ' ) , ( ' PhpListTraffic ' , ' [M] phpList SaaS Traffic ' ) , ( ' Apache2Controller ' , ' [S] Apache 2 ' ) , ( ' BSCWController ' , ' [S] BSCW SaaS ' ) , ( ' Bind9MasterDomainController ' , ' [S] Bind9 master domain ' ) , ( ' Bind9SlaveDomainController ' , ' [S] Bind9 slave domain ' ) , ( ' DokuWikiMuController ' , ' [S] DokuWiki multisite ' ) , ( ' DrupalMuController ' , ' [S] Drupal multisite ' ) , ( ' GitLabSaaSController ' , ' [S] GitLab SaaS ' ) , ( ' AutoresponseController ' , ' [S] Mail autoresponse ' ) , ( ' MailScannerSpamRuleController ' , ' [S] MailScanner ruleset ' ) , ( ' MailmanController ' , ' [S] Mailman ' ) , ( ' MailmanVirtualDomainController ' , ' [S] Mailman virtdomain-only ' ) , ( ' MoodleController ' , ' [S] Moodle ' ) , ( ' MoodleWWWRootController ' , ' [S] Moodle WWWRoot (required) ' ) , ( ' MoodleMuController ' , ' [S] Moodle multisite ' ) , ( ' MySQLController ' , ' [S] MySQL database ' ) , ( ' MySQLUserController ' , ' [S] MySQL user ' ) , ( ' PHPController ' , ' [S] PHP FPM/FCGID ' ) , ( ' PangeaProxmoxOVZ ' , ' [S] PangeaProxmoxOVZ ' ) , ( ' PostfixAddressController ' , ' [S] Postfix address ' ) , ( ' PostfixAddressVirtualDomainController ' , ' [S] Postfix address virtdomain-only ' ) , ( ' PostfixRecipientAccessController ' , ' [S] Postfix recipient access ' ) , ( ' ProxmoxOVZ ' , ' [S] ProxmoxOVZ ' ) , ( ' uWSGIPythonController ' , ' [S] Python uWSGI ' ) , ( ' StaticController ' , ' [S] Static ' ) , ( ' SymbolicLinkController ' , ' [S] Symbolic link webapp ' ) , ( ' SyncBind9MasterDomainController ' , ' [S] Sync Bind9 master domain ' ) , ( ' SyncBind9SlaveDomainController ' , ' [S] Sync Bind9 slave domain ' ) , ( ' UNIXUserMaildirController ' , ' [S] UNIX maildir user ' ) , ( ' UNIXUserController ' , ' [S] UNIX user ' ) , ( ' WebalizerAppController ' , ' [S] Webalizer App ' ) , ( ' WebalizerController ' , ' [S] Webalizer Content ' ) , ( ' WordPressURLController ' , ' [S] WordPress URL ' ) , ( ' WordPressController ' , ' [S] Wordpress ' ) , ( ' WordpressMuController ' , ' [S] Wordpress multisite ' ) , ( ' OwnCloudController ' , ' [S] ownCloud SaaS ' ) , ( ' PhpListSaaSController ' , ' [S] phpList SaaS ' ) ] , max_length = 256 , verbose_name = ' backend ' ) ,
) ,
migrations . AlterIndexTogether (
name = ' backendoperation ' ,
index_together = set ( [ ( ' content_type ' , ' object_id ' ) ] ) ,
) ,
migrations . AlterField (
model_name = ' route ' ,
name = ' backend ' ,
field = models . CharField ( choices = [ ( ' Apache2Traffic ' , ' [M] Apache 2 Traffic ' ) , ( ' ApacheTrafficByName ' , ' [M] ApacheTrafficByName ' ) , ( ' DokuWikiMuTraffic ' , ' [M] DokuWiki MU Traffic ' ) , ( ' DovecotMaildirDisk ' , ' [M] Dovecot Maildir size ' ) , ( ' Exim4Traffic ' , ' [M] Exim4 traffic ' ) , ( ' MailmanSubscribers ' , ' [M] Mailman subscribers ' ) , ( ' MailmanTraffic ' , ' [M] Mailman traffic ' ) , ( ' MysqlDisk ' , ' [M] MySQL disk ' ) , ( ' PostfixMailscannerTraffic ' , ' [M] Postfix-Mailscanner traffic ' ) , ( ' ProxmoxOpenVZTraffic ' , ' [M] ProxmoxOpenVZTraffic ' ) , ( ' UNIXUserDisk ' , ' [M] UNIX user disk ' ) , ( ' VsFTPdTraffic ' , ' [M] VsFTPd traffic ' ) , ( ' WordpressMuTraffic ' , ' [M] Wordpress MU Traffic ' ) , ( ' NextCloudDiskQuota ' , ' [M] nextCloud SaaS Disk Quota ' ) , ( ' NextcloudTraffic ' , ' [M] nextCloud SaaS Traffic ' ) , ( ' OwnCloudDiskQuota ' , ' [M] ownCloud SaaS Disk Quota ' ) , ( ' OwncloudTraffic ' , ' [M] ownCloud SaaS Traffic ' ) , ( ' PhpListTraffic ' , ' [M] phpList SaaS Traffic ' ) , ( ' Apache2Controller ' , ' [S] Apache 2 ' ) , ( ' BSCWController ' , ' [S] BSCW SaaS ' ) , ( ' Bind9MasterDomainController ' , ' [S] Bind9 master domain ' ) , ( ' Bind9SlaveDomainController ' , ' [S] Bind9 slave domain ' ) , ( ' DokuWikiMuController ' , ' [S] DokuWiki multisite ' ) , ( ' DrupalMuController ' , ' [S] Drupal multisite ' ) , ( ' GitLabSaaSController ' , ' [S] GitLab SaaS ' ) , ( ' LetsEncryptController ' , " [S] Let ' s encrypt! " ) , ( ' LxcController ' , ' [S] LxcController ' ) , ( ' AutoresponseController ' , ' [S] Mail autoresponse ' ) , ( ' MailScannerSpamRuleController ' , ' [S] MailScanner ruleset ' ) , ( ' MailmanController ' , ' [S] Mailman ' ) , ( ' MailmanVirtualDomainController ' , ' [S] Mailman virtdomain-only ' ) , ( ' MoodleController ' , ' [S] Moodle ' ) , ( ' MoodleWWWRootController ' , ' [S] Moodle WWWRoot (required) ' ) , ( ' MoodleMuController ' , ' [S] Moodle multisite ' ) , ( ' MySQLController ' , ' [S] MySQL database ' ) , ( ' MySQLUserController ' , ' [S] MySQL user ' ) , ( ' PHPController ' , ' [S] PHP FPM/FCGID ' ) , ( ' PangeaProxmoxOVZ ' , ' [S] PangeaProxmoxOVZ ' ) , ( ' PostfixAddressController ' , ' [S] Postfix address ' ) , ( ' PostfixAddressVirtualDomainController ' , ' [S] Postfix address virtdomain-only ' ) , ( ' PostfixRecipientAccessController ' , ' [S] Postfix recipient access ' ) , ( ' ProxmoxOVZ ' , ' [S] ProxmoxOVZ ' ) , ( ' uWSGIPythonController ' , ' [S] Python uWSGI ' ) , ( ' StaticController ' , ' [S] Static ' ) , ( ' SymbolicLinkController ' , ' [S] Symbolic link webapp ' ) , ( ' SyncBind9MasterDomainController ' , ' [S] Sync Bind9 master domain ' ) , ( ' SyncBind9SlaveDomainController ' , ' [S] Sync Bind9 slave domain ' ) , ( ' UNIXUserMaildirController ' , ' [S] UNIX maildir user ' ) , ( ' UNIXUserController ' , ' [S] UNIX user ' ) , ( ' WebalizerAppController ' , ' [S] Webalizer App ' ) , ( ' WebalizerController ' , ' [S] Webalizer Content ' ) , ( ' WordPressForceSSLController ' , ' [S] WordPress Force SSL ' ) , ( ' WordPressURLController ' , ' [S] WordPress URL ' ) , ( ' WordPressController ' , ' [S] Wordpress ' ) , ( ' WordpressMuController ' , ' [S] Wordpress multisite ' ) , ( ' NextCloudController ' , ' [S] nextCloud SaaS ' ) , ( ' OwnCloudController ' , ' [S] ownCloud SaaS ' ) , ( ' PhpListSaaSController ' , ' [S] phpList SaaS ' ) ] , max_length = 256 , verbose_name = ' backend ' ) ,
) ,
migrations . AlterField (
model_name = ' route ' ,
name = ' host ' ,
field = models . ForeignKey ( on_delete = django . db . models . deletion . CASCADE , related_name = ' routes ' , to = ' orchestration.Server ' , verbose_name = ' host ' ) ,
) ,
migrations . AlterField (
model_name = ' route ' ,
name = ' backend ' ,
field = models . CharField ( choices = [ ( ' Apache2Traffic ' , ' [M] Apache 2 Traffic ' ) , ( ' ApacheTrafficByName ' , ' [M] ApacheTrafficByName ' ) , ( ' DokuWikiMuTraffic ' , ' [M] DokuWiki MU Traffic ' ) , ( ' DovecotMaildirDisk ' , ' [M] Dovecot Maildir size ' ) , ( ' Exim4Traffic ' , ' [M] Exim4 traffic ' ) , ( ' MailmanSubscribers ' , ' [M] Mailman subscribers ' ) , ( ' MailmanTraffic ' , ' [M] Mailman traffic ' ) , ( ' MysqlDisk ' , ' [M] MySQL disk ' ) , ( ' PostfixMailscannerTraffic ' , ' [M] Postfix-Mailscanner traffic ' ) , ( ' ProxmoxOpenVZTraffic ' , ' [M] ProxmoxOpenVZTraffic ' ) , ( ' UNIXUserDisk ' , ' [M] UNIX user disk ' ) , ( ' VsFTPdTraffic ' , ' [M] VsFTPd traffic ' ) , ( ' WordpressMuTraffic ' , ' [M] Wordpress MU Traffic ' ) , ( ' NextCloudDiskQuota ' , ' [M] nextCloud SaaS Disk Quota ' ) , ( ' NextcloudTraffic ' , ' [M] nextCloud SaaS Traffic ' ) , ( ' OwnCloudDiskQuota ' , ' [M] ownCloud SaaS Disk Quota ' ) , ( ' OwncloudTraffic ' , ' [M] ownCloud SaaS Traffic ' ) , ( ' PhpListTraffic ' , ' [M] phpList SaaS Traffic ' ) , ( ' Apache2Controller ' , ' [S] Apache 2 ' ) , ( ' BSCWController ' , ' [S] BSCW SaaS ' ) , ( ' Bind9MasterDomainController ' , ' [S] Bind9 master domain ' ) , ( ' Bind9SlaveDomainController ' , ' [S] Bind9 slave domain ' ) , ( ' DokuWikiMuController ' , ' [S] DokuWiki multisite ' ) , ( ' DrupalMuController ' , ' [S] Drupal multisite ' ) , ( ' GitLabSaaSController ' , ' [S] GitLab SaaS ' ) , ( ' LetsEncryptController ' , " [S] Let ' s encrypt! " ) , ( ' LxcController ' , ' [S] LxcController ' ) , ( ' AutoresponseController ' , ' [S] Mail autoresponse ' ) , ( ' MailScannerSpamRuleController ' , ' [S] MailScanner ruleset ' ) , ( ' MailmanController ' , ' [S] Mailman ' ) , ( ' MailmanVirtualDomainController ' , ' [S] Mailman virtdomain-only ' ) , ( ' MoodleController ' , ' [S] Moodle ' ) , ( ' MoodleWWWRootController ' , ' [S] Moodle WWWRoot (required) ' ) , ( ' MoodleMuController ' , ' [S] Moodle multisite ' ) , ( ' MySQLController ' , ' [S] MySQL database ' ) , ( ' MySQLUserController ' , ' [S] MySQL user ' ) , ( ' PHPController ' , ' [S] PHP FPM/FCGID ' ) , ( ' PangeaProxmoxOVZ ' , ' [S] PangeaProxmoxOVZ ' ) , ( ' PostfixAddressController ' , ' [S] Postfix address ' ) , ( ' PostfixAddressVirtualDomainController ' , ' [S] Postfix address virtdomain-only ' ) , ( ' PostfixRecipientAccessController ' , ' [S] Postfix recipient access ' ) , ( ' ProxmoxOVZ ' , ' [S] ProxmoxOVZ ' ) , ( ' uWSGIPythonController ' , ' [S] Python uWSGI ' ) , ( ' RoundcubeIdentityController ' , ' [S] Roundcube Identity Controller ' ) , ( ' StaticController ' , ' [S] Static ' ) , ( ' SymbolicLinkController ' , ' [S] Symbolic link webapp ' ) , ( ' SyncBind9MasterDomainController ' , ' [S] Sync Bind9 master domain ' ) , ( ' SyncBind9SlaveDomainController ' , ' [S] Sync Bind9 slave domain ' ) , ( ' UNIXUserMaildirController ' , ' [S] UNIX maildir user ' ) , ( ' UNIXUserController ' , ' [S] UNIX user ' ) , ( ' WebalizerAppController ' , ' [S] Webalizer App ' ) , ( ' WebalizerController ' , ' [S] Webalizer Content ' ) , ( ' WordPressForceSSLController ' , ' [S] WordPress Force SSL ' ) , ( ' WordPressURLController ' , ' [S] WordPress URL ' ) , ( ' WordPressController ' , ' [S] Wordpress ' ) , ( ' WordpressMuController ' , ' [S] Wordpress multisite ' ) , ( ' NextCloudController ' , ' [S] nextCloud SaaS ' ) , ( ' OwnCloudController ' , ' [S] ownCloud SaaS ' ) , ( ' PhpListSaaSController ' , ' [S] phpList SaaS ' ) ] , max_length = 256 , verbose_name = ' backend ' ) ,
) ,
migrations . AlterField (
model_name = ' route ' ,
name = ' backend ' ,
field = models . CharField ( choices = [ ( ' Apache2Traffic ' , ' [M] Apache 2 Traffic ' ) , ( ' ApacheTrafficByName ' , ' [M] ApacheTrafficByName ' ) , ( ' DokuWikiMuTraffic ' , ' [M] DokuWiki MU Traffic ' ) , ( ' DovecotMaildirDisk ' , ' [M] Dovecot Maildir size ' ) , ( ' Exim4Traffic ' , ' [M] Exim4 traffic ' ) , ( ' MailmanSubscribers ' , ' [M] Mailman subscribers ' ) , ( ' MailmanTraffic ' , ' [M] Mailman traffic ' ) , ( ' MysqlDisk ' , ' [M] MySQL disk ' ) , ( ' PostfixMailscannerTraffic ' , ' [M] Postfix-Mailscanner traffic ' ) , ( ' ProxmoxOpenVZTraffic ' , ' [M] ProxmoxOpenVZTraffic ' ) , ( ' UNIXUserDisk ' , ' [M] UNIX user disk ' ) , ( ' VsFTPdTraffic ' , ' [M] VsFTPd traffic ' ) , ( ' WordpressMuTraffic ' , ' [M] Wordpress MU Traffic ' ) , ( ' NextCloudDiskQuota ' , ' [M] nextCloud SaaS Disk Quota ' ) , ( ' NextcloudTraffic ' , ' [M] nextCloud SaaS Traffic ' ) , ( ' OwnCloudDiskQuota ' , ' [M] ownCloud SaaS Disk Quota ' ) , ( ' OwncloudTraffic ' , ' [M] ownCloud SaaS Traffic ' ) , ( ' PhpListTraffic ' , ' [M] phpList SaaS Traffic ' ) , ( ' Apache2Controller ' , ' [S] Apache 2 ' ) , ( ' BSCWController ' , ' [S] BSCW SaaS ' ) , ( ' Bind9MasterDomainController ' , ' [S] Bind9 master domain ' ) , ( ' Bind9SlaveDomainController ' , ' [S] Bind9 slave domain ' ) , ( ' DokuWikiMuController ' , ' [S] DokuWiki multisite ' ) , ( ' DrupalMuController ' , ' [S] Drupal multisite ' ) , ( ' GitLabSaaSController ' , ' [S] GitLab SaaS ' ) , ( ' LetsEncryptController ' , " [S] Let ' s encrypt! " ) , ( ' LxcController ' , ' [S] LxcController ' ) , ( ' AutoresponseController ' , ' [S] Mail autoresponse ' ) , ( ' MailmanController ' , ' [S] Mailman ' ) , ( ' MailmanVirtualDomainController ' , ' [S] Mailman virtdomain-only ' ) , ( ' MoodleController ' , ' [S] Moodle ' ) , ( ' MoodleWWWRootController ' , ' [S] Moodle WWWRoot (required) ' ) , ( ' MoodleMuController ' , ' [S] Moodle multisite ' ) , ( ' MySQLController ' , ' [S] MySQL database ' ) , ( ' MySQLUserController ' , ' [S] MySQL user ' ) , ( ' PHPController ' , ' [S] PHP FPM/FCGID ' ) , ( ' PostfixAddressController ' , ' [S] Postfix address ' ) , ( ' PostfixAddressVirtualDomainController ' , ' [S] Postfix address virtdomain-only ' ) , ( ' ProxmoxOVZ ' , ' [S] ProxmoxOVZ ' ) , ( ' uWSGIPythonController ' , ' [S] Python uWSGI ' ) , ( ' RoundcubeIdentityController ' , ' [S] Roundcube Identity Controller ' ) , ( ' StaticController ' , ' [S] Static ' ) , ( ' SymbolicLinkController ' , ' [S] Symbolic link webapp ' ) , ( ' UNIXUserMaildirController ' , ' [S] UNIX maildir user ' ) , ( ' UNIXUserController ' , ' [S] UNIX user ' ) , ( ' WebalizerAppController ' , ' [S] Webalizer App ' ) , ( ' WebalizerController ' , ' [S] Webalizer Content ' ) , ( ' WordPressForceSSLController ' , ' [S] WordPress Force SSL ' ) , ( ' WordPressURLController ' , ' [S] WordPress URL ' ) , ( ' WordPressController ' , ' [S] Wordpress ' ) , ( ' WordpressMuController ' , ' [S] Wordpress multisite ' ) , ( ' NextCloudController ' , ' [S] nextCloud SaaS ' ) , ( ' OwnCloudController ' , ' [S] ownCloud SaaS ' ) , ( ' PhpListSaaSController ' , ' [S] phpList SaaS ' ) ] , max_length = 256 , verbose_name = ' backend ' ) ,
) ,
2015-04-08 14:41:09 +00:00
]