blob: de0de8a9669aad4d39122bd967a3a94efb7f0670 [file] [log] [blame]
Tony Macka8242c72014-12-25 19:17:54 -05001# -*- coding: utf-8 -*-
2from __future__ import unicode_literals
3
4from django.db import models, migrations
5import timezones.fields
6import core.models.sliver
7import core.models.network
8import geoposition.fields
9import encrypted_fields.fields
10import core.models.serviceclass
11import django.utils.timezone
12from django.conf import settings
13
14
15class Migration(migrations.Migration):
16
17 dependencies = [
18 ('contenttypes', '0001_initial'),
19 ]
20
21 operations = [
22 migrations.CreateModel(
23 name='User',
24 fields=[
25 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
26 ('password', models.CharField(max_length=128, verbose_name='password')),
27 ('last_login', models.DateTimeField(default=django.utils.timezone.now, verbose_name='last login')),
28 ('email', models.EmailField(unique=True, max_length=255, verbose_name=b'email address', db_index=True)),
29 ('username', models.CharField(default=b'Something', max_length=255)),
30 ('firstname', models.CharField(help_text=b"person's given name", max_length=200)),
31 ('lastname', models.CharField(help_text=b"person's surname", max_length=200)),
32 ('phone', models.CharField(help_text=b'phone number contact', max_length=100, null=True, blank=True)),
33 ('user_url', models.URLField(null=True, blank=True)),
34 ('public_key', models.TextField(help_text=b'Public key string', max_length=1024, null=True, blank=True)),
35 ('is_active', models.BooleanField(default=True)),
36 ('is_admin', models.BooleanField(default=True)),
37 ('is_staff', models.BooleanField(default=True)),
38 ('is_readonly', models.BooleanField(default=False)),
39 ('created', models.DateTimeField(auto_now_add=True)),
40 ('updated', models.DateTimeField(auto_now=True)),
41 ('enacted', models.DateTimeField(default=None, null=True)),
42 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
43 ('deleted', models.BooleanField(default=False)),
44 ('timezone', timezones.fields.TimeZoneField(default=b'America/New_York', max_length=100, choices=[(b'Pacific/Midway', b'(GMT-1100) Pacific/Midway'), (b'Pacific/Niue', b'(GMT-1100) Pacific/Niue'), (b'Pacific/Pago_Pago', b'(GMT-1100) Pacific/Pago_Pago'), (b'America/Adak', b'(GMT-1000) America/Adak'), (b'Pacific/Honolulu', b'(GMT-1000) Pacific/Honolulu'), (b'Pacific/Johnston', b'(GMT-1000) Pacific/Johnston'), (b'Pacific/Rarotonga', b'(GMT-1000) Pacific/Rarotonga'), (b'Pacific/Tahiti', b'(GMT-1000) Pacific/Tahiti'), (b'US/Hawaii', b'(GMT-1000) US/Hawaii'), (b'Pacific/Marquesas', b'(GMT-0930) Pacific/Marquesas'), (b'America/Anchorage', b'(GMT-0900) America/Anchorage'), (b'America/Juneau', b'(GMT-0900) America/Juneau'), (b'America/Nome', b'(GMT-0900) America/Nome'), (b'America/Sitka', b'(GMT-0900) America/Sitka'), (b'America/Yakutat', b'(GMT-0900) America/Yakutat'), (b'Pacific/Gambier', b'(GMT-0900) Pacific/Gambier'), (b'US/Alaska', b'(GMT-0900) US/Alaska'), (b'America/Dawson', b'(GMT-0800) America/Dawson'), (b'America/Los_Angeles', b'(GMT-0800) America/Los_Angeles'), (b'America/Metlakatla', b'(GMT-0800) America/Metlakatla'), (b'America/Santa_Isabel', b'(GMT-0800) America/Santa_Isabel'), (b'America/Tijuana', b'(GMT-0800) America/Tijuana'), (b'America/Vancouver', b'(GMT-0800) America/Vancouver'), (b'America/Whitehorse', b'(GMT-0800) America/Whitehorse'), (b'Canada/Pacific', b'(GMT-0800) Canada/Pacific'), (b'Pacific/Pitcairn', b'(GMT-0800) Pacific/Pitcairn'), (b'US/Pacific', b'(GMT-0800) US/Pacific'), (b'America/Boise', b'(GMT-0700) America/Boise'), (b'America/Cambridge_Bay', b'(GMT-0700) America/Cambridge_Bay'), (b'America/Chihuahua', b'(GMT-0700) America/Chihuahua'), (b'America/Creston', b'(GMT-0700) America/Creston'), (b'America/Dawson_Creek', b'(GMT-0700) America/Dawson_Creek'), (b'America/Denver', b'(GMT-0700) America/Denver'), (b'America/Edmonton', b'(GMT-0700) America/Edmonton'), (b'America/Hermosillo', b'(GMT-0700) America/Hermosillo'), (b'America/Inuvik', b'(GMT-0700) America/Inuvik'), (b'America/Mazatlan', b'(GMT-0700) America/Mazatlan'), (b'America/Ojinaga', b'(GMT-0700) America/Ojinaga'), (b'America/Phoenix', b'(GMT-0700) America/Phoenix'), (b'America/Yellowknife', b'(GMT-0700) America/Yellowknife'), (b'Canada/Mountain', b'(GMT-0700) Canada/Mountain'), (b'US/Arizona', b'(GMT-0700) US/Arizona'), (b'US/Mountain', b'(GMT-0700) US/Mountain'), (b'America/Bahia_Banderas', b'(GMT-0600) America/Bahia_Banderas'), (b'America/Belize', b'(GMT-0600) America/Belize'), (b'America/Cancun', b'(GMT-0600) America/Cancun'), (b'America/Chicago', b'(GMT-0600) America/Chicago'), (b'America/Costa_Rica', b'(GMT-0600) America/Costa_Rica'), (b'America/El_Salvador', b'(GMT-0600) America/El_Salvador'), (b'America/Guatemala', b'(GMT-0600) America/Guatemala'), (b'America/Indiana/Knox', b'(GMT-0600) America/Indiana/Knox'), (b'America/Indiana/Tell_City', b'(GMT-0600) America/Indiana/Tell_City'), (b'America/Managua', b'(GMT-0600) America/Managua'), (b'America/Matamoros', b'(GMT-0600) America/Matamoros'), (b'America/Menominee', b'(GMT-0600) America/Menominee'), (b'America/Merida', b'(GMT-0600) America/Merida'), (b'America/Mexico_City', b'(GMT-0600) America/Mexico_City'), (b'America/Monterrey', b'(GMT-0600) America/Monterrey'), (b'America/North_Dakota/Beulah', b'(GMT-0600) America/North_Dakota/Beulah'), (b'America/North_Dakota/Center', b'(GMT-0600) America/North_Dakota/Center'), (b'America/North_Dakota/New_Salem', b'(GMT-0600) America/North_Dakota/New_Salem'), (b'America/Rainy_River', b'(GMT-0600) America/Rainy_River'), (b'America/Rankin_Inlet', b'(GMT-0600) America/Rankin_Inlet'), (b'America/Regina', b'(GMT-0600) America/Regina'), (b'America/Resolute', b'(GMT-0600) America/Resolute'), (b'America/Swift_Current', b'(GMT-0600) America/Swift_Current'), (b'America/Tegucigalpa', b'(GMT-0600) America/Tegucigalpa'), (b'America/Winnipeg', b'(GMT-0600) America/Winnipeg'), (b'Canada/Central', b'(GMT-0600) Canada/Central'), (b'Pacific/Galapagos', b'(GMT-0600) Pacific/Galapagos'), (b'US/Central', b'(GMT-0600) US/Central'), (b'America/Atikokan', b'(GMT-0500) America/Atikokan'), (b'America/Bogota', b'(GMT-0500) America/Bogota'), (b'America/Cayman', b'(GMT-0500) America/Cayman'), (b'America/Detroit', b'(GMT-0500) America/Detroit'), (b'America/Eirunepe', b'(GMT-0500) America/Eirunepe'), (b'America/Guayaquil', b'(GMT-0500) America/Guayaquil'), (b'America/Havana', b'(GMT-0500) America/Havana'), (b'America/Indiana/Indianapolis', b'(GMT-0500) America/Indiana/Indianapolis'), (b'America/Indiana/Marengo', b'(GMT-0500) America/Indiana/Marengo'), (b'America/Indiana/Petersburg', b'(GMT-0500) America/Indiana/Petersburg'), (b'America/Indiana/Vevay', b'(GMT-0500) America/Indiana/Vevay'), (b'America/Indiana/Vincennes', b'(GMT-0500) America/Indiana/Vincennes'), (b'America/Indiana/Winamac', b'(GMT-0500) America/Indiana/Winamac'), (b'America/Iqaluit', b'(GMT-0500) America/Iqaluit'), (b'America/Jamaica', b'(GMT-0500) America/Jamaica'), (b'America/Kentucky/Louisville', b'(GMT-0500) America/Kentucky/Louisville'), (b'America/Kentucky/Monticello', b'(GMT-0500) America/Kentucky/Monticello'), (b'America/Lima', b'(GMT-0500) America/Lima'), (b'America/Montreal', b'(GMT-0500) America/Montreal'), (b'America/Nassau', b'(GMT-0500) America/Nassau'), (b'America/New_York', b'(GMT-0500) America/New_York'), (b'America/Nipigon', b'(GMT-0500) America/Nipigon'), (b'America/Panama', b'(GMT-0500) America/Panama'), (b'America/Pangnirtung', b'(GMT-0500) America/Pangnirtung'), (b'America/Port-au-Prince', b'(GMT-0500) America/Port-au-Prince'), (b'America/Rio_Branco', b'(GMT-0500) America/Rio_Branco'), (b'America/Thunder_Bay', b'(GMT-0500) America/Thunder_Bay'), (b'America/Toronto', b'(GMT-0500) America/Toronto'), (b'Canada/Eastern', b'(GMT-0500) Canada/Eastern'), (b'Pacific/Easter', b'(GMT-0500) Pacific/Easter'), (b'US/Eastern', b'(GMT-0500) US/Eastern'), (b'America/Caracas', b'(GMT-0430) America/Caracas'), (b'America/Anguilla', b'(GMT-0400) America/Anguilla'), (b'America/Antigua', b'(GMT-0400) America/Antigua'), (b'America/Aruba', b'(GMT-0400) America/Aruba'), (b'America/Barbados', b'(GMT-0400) America/Barbados'), (b'America/Blanc-Sablon', b'(GMT-0400) America/Blanc-Sablon'), (b'America/Boa_Vista', b'(GMT-0400) America/Boa_Vista'), (b'America/Curacao', b'(GMT-0400) America/Curacao'), (b'America/Dominica', b'(GMT-0400) America/Dominica'), (b'America/Glace_Bay', b'(GMT-0400) America/Glace_Bay'), (b'America/Goose_Bay', b'(GMT-0400) America/Goose_Bay'), (b'America/Grand_Turk', b'(GMT-0400) America/Grand_Turk'), (b'America/Grenada', b'(GMT-0400) America/Grenada'), (b'America/Guadeloupe', b'(GMT-0400) America/Guadeloupe'), (b'America/Guyana', b'(GMT-0400) America/Guyana'), (b'America/Halifax', b'(GMT-0400) America/Halifax'), (b'America/Kralendijk', b'(GMT-0400) America/Kralendijk'), (b'America/La_Paz', b'(GMT-0400) America/La_Paz'), (b'America/Lower_Princes', b'(GMT-0400) America/Lower_Princes'), (b'America/Manaus', b'(GMT-0400) America/Manaus'), (b'America/Marigot', b'(GMT-0400) America/Marigot'), (b'America/Martinique', b'(GMT-0400) America/Martinique'), (b'America/Moncton', b'(GMT-0400) America/Moncton'), (b'America/Montserrat', b'(GMT-0400) America/Montserrat'), (b'America/Port_of_Spain', b'(GMT-0400) America/Port_of_Spain'), (b'America/Porto_Velho', b'(GMT-0400) America/Porto_Velho'), (b'America/Puerto_Rico', b'(GMT-0400) America/Puerto_Rico'), (b'America/Santo_Domingo', b'(GMT-0400) America/Santo_Domingo'), (b'America/St_Barthelemy', b'(GMT-0400) America/St_Barthelemy'), (b'America/St_Kitts', b'(GMT-0400) America/St_Kitts'), (b'America/St_Lucia', b'(GMT-0400) America/St_Lucia'), (b'America/St_Thomas', b'(GMT-0400) America/St_Thomas'), (b'America/St_Vincent', b'(GMT-0400) America/St_Vincent'), (b'America/Thule', b'(GMT-0400) America/Thule'), (b'America/Tortola', b'(GMT-0400) America/Tortola'), (b'Atlantic/Bermuda', b'(GMT-0400) Atlantic/Bermuda'), (b'Canada/Atlantic', b'(GMT-0400) Canada/Atlantic'), (b'America/St_Johns', b'(GMT-0330) America/St_Johns'), (b'Canada/Newfoundland', b'(GMT-0330) Canada/Newfoundland'), (b'America/Araguaina', b'(GMT-0300) America/Araguaina'), (b'America/Argentina/Buenos_Aires', b'(GMT-0300) America/Argentina/Buenos_Aires'), (b'America/Argentina/Catamarca', b'(GMT-0300) America/Argentina/Catamarca'), (b'America/Argentina/Cordoba', b'(GMT-0300) America/Argentina/Cordoba'), (b'America/Argentina/Jujuy', b'(GMT-0300) America/Argentina/Jujuy'), (b'America/Argentina/La_Rioja', b'(GMT-0300) America/Argentina/La_Rioja'), (b'America/Argentina/Mendoza', b'(GMT-0300) America/Argentina/Mendoza'), (b'America/Argentina/Rio_Gallegos', b'(GMT-0300) America/Argentina/Rio_Gallegos'), (b'America/Argentina/Salta', b'(GMT-0300) America/Argentina/Salta'), (b'America/Argentina/San_Juan', b'(GMT-0300) America/Argentina/San_Juan'), (b'America/Argentina/San_Luis', b'(GMT-0300) America/Argentina/San_Luis'), (b'America/Argentina/Tucuman', b'(GMT-0300) America/Argentina/Tucuman'), (b'America/Argentina/Ushuaia', b'(GMT-0300) America/Argentina/Ushuaia'), (b'America/Asuncion', b'(GMT-0300) America/Asuncion'), (b'America/Bahia', b'(GMT-0300) America/Bahia'), (b'America/Belem', b'(GMT-0300) America/Belem'), (b'America/Campo_Grande', b'(GMT-0300) America/Campo_Grande'), (b'America/Cayenne', b'(GMT-0300) America/Cayenne'), (b'America/Cuiaba', b'(GMT-0300) America/Cuiaba'), (b'America/Fortaleza', b'(GMT-0300) America/Fortaleza'), (b'America/Godthab', b'(GMT-0300) America/Godthab'), (b'America/Maceio', b'(GMT-0300) America/Maceio'), (b'America/Miquelon', b'(GMT-0300) America/Miquelon'), (b'America/Paramaribo', b'(GMT-0300) America/Paramaribo'), (b'America/Recife', b'(GMT-0300) America/Recife'), (b'America/Santarem', b'(GMT-0300) America/Santarem'), (b'America/Santiago', b'(GMT-0300) America/Santiago'), (b'Antarctica/Palmer', b'(GMT-0300) Antarctica/Palmer'), (b'Antarctica/Rothera', b'(GMT-0300) Antarctica/Rothera'), (b'Atlantic/Stanley', b'(GMT-0300) Atlantic/Stanley'), (b'America/Montevideo', b'(GMT-0200) America/Montevideo'), (b'America/Noronha', b'(GMT-0200) America/Noronha'), (b'America/Sao_Paulo', b'(GMT-0200) America/Sao_Paulo'), (b'Atlantic/South_Georgia', b'(GMT-0200) Atlantic/South_Georgia'), (b'America/Scoresbysund', b'(GMT-0100) America/Scoresbysund'), (b'Atlantic/Azores', b'(GMT-0100) Atlantic/Azores'), (b'Atlantic/Cape_Verde', b'(GMT-0100) Atlantic/Cape_Verde'), (b'Africa/Abidjan', b'(GMT+0000) Africa/Abidjan'), (b'Africa/Accra', b'(GMT+0000) Africa/Accra'), (b'Africa/Bamako', b'(GMT+0000) Africa/Bamako'), (b'Africa/Banjul', b'(GMT+0000) Africa/Banjul'), (b'Africa/Bissau', b'(GMT+0000) Africa/Bissau'), (b'Africa/Casablanca', b'(GMT+0000) Africa/Casablanca'), (b'Africa/Conakry', b'(GMT+0000) Africa/Conakry'), (b'Africa/Dakar', b'(GMT+0000) Africa/Dakar'), (b'Africa/El_Aaiun', b'(GMT+0000) Africa/El_Aaiun'), (b'Africa/Freetown', b'(GMT+0000) Africa/Freetown'), (b'Africa/Lome', b'(GMT+0000) Africa/Lome'), (b'Africa/Monrovia', b'(GMT+0000) Africa/Monrovia'), (b'Africa/Nouakchott', b'(GMT+0000) Africa/Nouakchott'), (b'Africa/Ouagadougou', b'(GMT+0000) Africa/Ouagadougou'), (b'Africa/Sao_Tome', b'(GMT+0000) Africa/Sao_Tome'), (b'America/Danmarkshavn', b'(GMT+0000) America/Danmarkshavn'), (b'Antarctica/Troll', b'(GMT+0000) Antarctica/Troll'), (b'Atlantic/Canary', b'(GMT+0000) Atlantic/Canary'), (b'Atlantic/Faroe', b'(GMT+0000) Atlantic/Faroe'), (b'Atlantic/Madeira', b'(GMT+0000) Atlantic/Madeira'), (b'Atlantic/Reykjavik', b'(GMT+0000) Atlantic/Reykjavik'), (b'Atlantic/St_Helena', b'(GMT+0000) Atlantic/St_Helena'), (b'Europe/Dublin', b'(GMT+0000) Europe/Dublin'), (b'Europe/Guernsey', b'(GMT+0000) Europe/Guernsey'), (b'Europe/Isle_of_Man', b'(GMT+0000) Europe/Isle_of_Man'), (b'Europe/Jersey', b'(GMT+0000) Europe/Jersey'), (b'Europe/Lisbon', b'(GMT+0000) Europe/Lisbon'), (b'Europe/London', b'(GMT+0000) Europe/London'), (b'GMT', b'(GMT+0000) GMT'), (b'UTC', b'(GMT+0000) UTC'), (b'Africa/Algiers', b'(GMT+0100) Africa/Algiers'), (b'Africa/Bangui', b'(GMT+0100) Africa/Bangui'), (b'Africa/Brazzaville', b'(GMT+0100) Africa/Brazzaville'), (b'Africa/Ceuta', b'(GMT+0100) Africa/Ceuta'), (b'Africa/Douala', b'(GMT+0100) Africa/Douala'), (b'Africa/Kinshasa', b'(GMT+0100) Africa/Kinshasa'), (b'Africa/Lagos', b'(GMT+0100) Africa/Lagos'), (b'Africa/Libreville', b'(GMT+0100) Africa/Libreville'), (b'Africa/Luanda', b'(GMT+0100) Africa/Luanda'), (b'Africa/Malabo', b'(GMT+0100) Africa/Malabo'), (b'Africa/Ndjamena', b'(GMT+0100) Africa/Ndjamena'), (b'Africa/Niamey', b'(GMT+0100) Africa/Niamey'), (b'Africa/Porto-Novo', b'(GMT+0100) Africa/Porto-Novo'), (b'Africa/Tunis', b'(GMT+0100) Africa/Tunis'), (b'Arctic/Longyearbyen', b'(GMT+0100) Arctic/Longyearbyen'), (b'Europe/Amsterdam', b'(GMT+0100) Europe/Amsterdam'), (b'Europe/Andorra', b'(GMT+0100) Europe/Andorra'), (b'Europe/Belgrade', b'(GMT+0100) Europe/Belgrade'), (b'Europe/Berlin', b'(GMT+0100) Europe/Berlin'), (b'Europe/Bratislava', b'(GMT+0100) Europe/Bratislava'), (b'Europe/Brussels', b'(GMT+0100) Europe/Brussels'), (b'Europe/Budapest', b'(GMT+0100) Europe/Budapest'), (b'Europe/Busingen', b'(GMT+0100) Europe/Busingen'), (b'Europe/Copenhagen', b'(GMT+0100) Europe/Copenhagen'), (b'Europe/Gibraltar', b'(GMT+0100) Europe/Gibraltar'), (b'Europe/Ljubljana', b'(GMT+0100) Europe/Ljubljana'), (b'Europe/Luxembourg', b'(GMT+0100) Europe/Luxembourg'), (b'Europe/Madrid', b'(GMT+0100) Europe/Madrid'), (b'Europe/Malta', b'(GMT+0100) Europe/Malta'), (b'Europe/Monaco', b'(GMT+0100) Europe/Monaco'), (b'Europe/Oslo', b'(GMT+0100) Europe/Oslo'), (b'Europe/Paris', b'(GMT+0100) Europe/Paris'), (b'Europe/Podgorica', b'(GMT+0100) Europe/Podgorica'), (b'Europe/Prague', b'(GMT+0100) Europe/Prague'), (b'Europe/Rome', b'(GMT+0100) Europe/Rome'), (b'Europe/San_Marino', b'(GMT+0100) Europe/San_Marino'), (b'Europe/Sarajevo', b'(GMT+0100) Europe/Sarajevo'), (b'Europe/Skopje', b'(GMT+0100) Europe/Skopje'), (b'Europe/Stockholm', b'(GMT+0100) Europe/Stockholm'), (b'Europe/Tirane', b'(GMT+0100) Europe/Tirane'), (b'Europe/Vaduz', b'(GMT+0100) Europe/Vaduz'), (b'Europe/Vatican', b'(GMT+0100) Europe/Vatican'), (b'Europe/Vienna', b'(GMT+0100) Europe/Vienna'), (b'Europe/Warsaw', b'(GMT+0100) Europe/Warsaw'), (b'Europe/Zagreb', b'(GMT+0100) Europe/Zagreb'), (b'Europe/Zurich', b'(GMT+0100) Europe/Zurich'), (b'Africa/Blantyre', b'(GMT+0200) Africa/Blantyre'), (b'Africa/Bujumbura', b'(GMT+0200) Africa/Bujumbura'), (b'Africa/Cairo', b'(GMT+0200) Africa/Cairo'), (b'Africa/Gaborone', b'(GMT+0200) Africa/Gaborone'), (b'Africa/Harare', b'(GMT+0200) Africa/Harare'), (b'Africa/Johannesburg', b'(GMT+0200) Africa/Johannesburg'), (b'Africa/Kigali', b'(GMT+0200) Africa/Kigali'), (b'Africa/Lubumbashi', b'(GMT+0200) Africa/Lubumbashi'), (b'Africa/Lusaka', b'(GMT+0200) Africa/Lusaka'), (b'Africa/Maputo', b'(GMT+0200) Africa/Maputo'), (b'Africa/Maseru', b'(GMT+0200) Africa/Maseru'), (b'Africa/Mbabane', b'(GMT+0200) Africa/Mbabane'), (b'Africa/Tripoli', b'(GMT+0200) Africa/Tripoli'), (b'Africa/Windhoek', b'(GMT+0200) Africa/Windhoek'), (b'Asia/Amman', b'(GMT+0200) Asia/Amman'), (b'Asia/Beirut', b'(GMT+0200) Asia/Beirut'), (b'Asia/Damascus', b'(GMT+0200) Asia/Damascus'), (b'Asia/Gaza', b'(GMT+0200) Asia/Gaza'), (b'Asia/Hebron', b'(GMT+0200) Asia/Hebron'), (b'Asia/Jerusalem', b'(GMT+0200) Asia/Jerusalem'), (b'Asia/Nicosia', b'(GMT+0200) Asia/Nicosia'), (b'Europe/Athens', b'(GMT+0200) Europe/Athens'), (b'Europe/Bucharest', b'(GMT+0200) Europe/Bucharest'), (b'Europe/Chisinau', b'(GMT+0200) Europe/Chisinau'), (b'Europe/Helsinki', b'(GMT+0200) Europe/Helsinki'), (b'Europe/Istanbul', b'(GMT+0200) Europe/Istanbul'), (b'Europe/Kaliningrad', b'(GMT+0200) Europe/Kaliningrad'), (b'Europe/Kiev', b'(GMT+0200) Europe/Kiev'), (b'Europe/Mariehamn', b'(GMT+0200) Europe/Mariehamn'), (b'Europe/Riga', b'(GMT+0200) Europe/Riga'), (b'Europe/Sofia', b'(GMT+0200) Europe/Sofia'), (b'Europe/Tallinn', b'(GMT+0200) Europe/Tallinn'), (b'Europe/Uzhgorod', b'(GMT+0200) Europe/Uzhgorod'), (b'Europe/Vilnius', b'(GMT+0200) Europe/Vilnius'), (b'Europe/Zaporozhye', b'(GMT+0200) Europe/Zaporozhye'), (b'Africa/Addis_Ababa', b'(GMT+0300) Africa/Addis_Ababa'), (b'Africa/Asmara', b'(GMT+0300) Africa/Asmara'), (b'Africa/Dar_es_Salaam', b'(GMT+0300) Africa/Dar_es_Salaam'), (b'Africa/Djibouti', b'(GMT+0300) Africa/Djibouti'), (b'Africa/Juba', b'(GMT+0300) Africa/Juba'), (b'Africa/Kampala', b'(GMT+0300) Africa/Kampala'), (b'Africa/Khartoum', b'(GMT+0300) Africa/Khartoum'), (b'Africa/Mogadishu', b'(GMT+0300) Africa/Mogadishu'), (b'Africa/Nairobi', b'(GMT+0300) Africa/Nairobi'), (b'Antarctica/Syowa', b'(GMT+0300) Antarctica/Syowa'), (b'Asia/Aden', b'(GMT+0300) Asia/Aden'), (b'Asia/Baghdad', b'(GMT+0300) Asia/Baghdad'), (b'Asia/Bahrain', b'(GMT+0300) Asia/Bahrain'), (b'Asia/Kuwait', b'(GMT+0300) Asia/Kuwait'), (b'Asia/Qatar', b'(GMT+0300) Asia/Qatar'), (b'Asia/Riyadh', b'(GMT+0300) Asia/Riyadh'), (b'Europe/Minsk', b'(GMT+0300) Europe/Minsk'), (b'Europe/Moscow', b'(GMT+0300) Europe/Moscow'), (b'Europe/Simferopol', b'(GMT+0300) Europe/Simferopol'), (b'Europe/Volgograd', b'(GMT+0300) Europe/Volgograd'), (b'Indian/Antananarivo', b'(GMT+0300) Indian/Antananarivo'), (b'Indian/Comoro', b'(GMT+0300) Indian/Comoro'), (b'Indian/Mayotte', b'(GMT+0300) Indian/Mayotte'), (b'Asia/Tehran', b'(GMT+0330) Asia/Tehran'), (b'Asia/Baku', b'(GMT+0400) Asia/Baku'), (b'Asia/Dubai', b'(GMT+0400) Asia/Dubai'), (b'Asia/Muscat', b'(GMT+0400) Asia/Muscat'), (b'Asia/Tbilisi', b'(GMT+0400) Asia/Tbilisi'), (b'Asia/Yerevan', b'(GMT+0400) Asia/Yerevan'), (b'Europe/Samara', b'(GMT+0400) Europe/Samara'), (b'Indian/Mahe', b'(GMT+0400) Indian/Mahe'), (b'Indian/Mauritius', b'(GMT+0400) Indian/Mauritius'), (b'Indian/Reunion', b'(GMT+0400) Indian/Reunion'), (b'Asia/Kabul', b'(GMT+0430) Asia/Kabul'), (b'Antarctica/Mawson', b'(GMT+0500) Antarctica/Mawson'), (b'Asia/Aqtau', b'(GMT+0500) Asia/Aqtau'), (b'Asia/Aqtobe', b'(GMT+0500) Asia/Aqtobe'), (b'Asia/Ashgabat', b'(GMT+0500) Asia/Ashgabat'), (b'Asia/Dushanbe', b'(GMT+0500) Asia/Dushanbe'), (b'Asia/Karachi', b'(GMT+0500) Asia/Karachi'), (b'Asia/Oral', b'(GMT+0500) Asia/Oral'), (b'Asia/Samarkand', b'(GMT+0500) Asia/Samarkand'), (b'Asia/Tashkent', b'(GMT+0500) Asia/Tashkent'), (b'Asia/Yekaterinburg', b'(GMT+0500) Asia/Yekaterinburg'), (b'Indian/Kerguelen', b'(GMT+0500) Indian/Kerguelen'), (b'Indian/Maldives', b'(GMT+0500) Indian/Maldives'), (b'Asia/Colombo', b'(GMT+0530) Asia/Colombo'), (b'Asia/Kolkata', b'(GMT+0530) Asia/Kolkata'), (b'Asia/Kathmandu', b'(GMT+0545) Asia/Kathmandu'), (b'Antarctica/Vostok', b'(GMT+0600) Antarctica/Vostok'), (b'Asia/Almaty', b'(GMT+0600) Asia/Almaty'), (b'Asia/Bishkek', b'(GMT+0600) Asia/Bishkek'), (b'Asia/Dhaka', b'(GMT+0600) Asia/Dhaka'), (b'Asia/Novosibirsk', b'(GMT+0600) Asia/Novosibirsk'), (b'Asia/Omsk', b'(GMT+0600) Asia/Omsk'), (b'Asia/Qyzylorda', b'(GMT+0600) Asia/Qyzylorda'), (b'Asia/Thimphu', b'(GMT+0600) Asia/Thimphu'), (b'Asia/Urumqi', b'(GMT+0600) Asia/Urumqi'), (b'Indian/Chagos', b'(GMT+0600) Indian/Chagos'), (b'Asia/Rangoon', b'(GMT+0630) Asia/Rangoon'), (b'Indian/Cocos', b'(GMT+0630) Indian/Cocos'), (b'Antarctica/Davis', b'(GMT+0700) Antarctica/Davis'), (b'Asia/Bangkok', b'(GMT+0700) Asia/Bangkok'), (b'Asia/Ho_Chi_Minh', b'(GMT+0700) Asia/Ho_Chi_Minh'), (b'Asia/Hovd', b'(GMT+0700) Asia/Hovd'), (b'Asia/Jakarta', b'(GMT+0700) Asia/Jakarta'), (b'Asia/Krasnoyarsk', b'(GMT+0700) Asia/Krasnoyarsk'), (b'Asia/Novokuznetsk', b'(GMT+0700) Asia/Novokuznetsk'), (b'Asia/Phnom_Penh', b'(GMT+0700) Asia/Phnom_Penh'), (b'Asia/Pontianak', b'(GMT+0700) Asia/Pontianak'), (b'Asia/Vientiane', b'(GMT+0700) Asia/Vientiane'), (b'Indian/Christmas', b'(GMT+0700) Indian/Christmas'), (b'Antarctica/Casey', b'(GMT+0800) Antarctica/Casey'), (b'Asia/Brunei', b'(GMT+0800) Asia/Brunei'), (b'Asia/Chita', b'(GMT+0800) Asia/Chita'), (b'Asia/Choibalsan', b'(GMT+0800) Asia/Choibalsan'), (b'Asia/Hong_Kong', b'(GMT+0800) Asia/Hong_Kong'), (b'Asia/Irkutsk', b'(GMT+0800) Asia/Irkutsk'), (b'Asia/Kuala_Lumpur', b'(GMT+0800) Asia/Kuala_Lumpur'), (b'Asia/Kuching', b'(GMT+0800) Asia/Kuching'), (b'Asia/Macau', b'(GMT+0800) Asia/Macau'), (b'Asia/Makassar', b'(GMT+0800) Asia/Makassar'), (b'Asia/Manila', b'(GMT+0800) Asia/Manila'), (b'Asia/Shanghai', b'(GMT+0800) Asia/Shanghai'), (b'Asia/Singapore', b'(GMT+0800) Asia/Singapore'), (b'Asia/Taipei', b'(GMT+0800) Asia/Taipei'), (b'Asia/Ulaanbaatar', b'(GMT+0800) Asia/Ulaanbaatar'), (b'Australia/Perth', b'(GMT+0800) Australia/Perth'), (b'Australia/Eucla', b'(GMT+0845) Australia/Eucla'), (b'Asia/Dili', b'(GMT+0900) Asia/Dili'), (b'Asia/Jayapura', b'(GMT+0900) Asia/Jayapura'), (b'Asia/Khandyga', b'(GMT+0900) Asia/Khandyga'), (b'Asia/Pyongyang', b'(GMT+0900) Asia/Pyongyang'), (b'Asia/Seoul', b'(GMT+0900) Asia/Seoul'), (b'Asia/Tokyo', b'(GMT+0900) Asia/Tokyo'), (b'Asia/Yakutsk', b'(GMT+0900) Asia/Yakutsk'), (b'Pacific/Palau', b'(GMT+0900) Pacific/Palau'), (b'Australia/Darwin', b'(GMT+0930) Australia/Darwin'), (b'Antarctica/DumontDUrville', b'(GMT+1000) Antarctica/DumontDUrville'), (b'Asia/Magadan', b'(GMT+1000) Asia/Magadan'), (b'Asia/Sakhalin', b'(GMT+1000) Asia/Sakhalin'), (b'Asia/Ust-Nera', b'(GMT+1000) Asia/Ust-Nera'), (b'Asia/Vladivostok', b'(GMT+1000) Asia/Vladivostok'), (b'Australia/Brisbane', b'(GMT+1000) Australia/Brisbane'), (b'Australia/Lindeman', b'(GMT+1000) Australia/Lindeman'), (b'Pacific/Chuuk', b'(GMT+1000) Pacific/Chuuk'), (b'Pacific/Guam', b'(GMT+1000) Pacific/Guam'), (b'Pacific/Port_Moresby', b'(GMT+1000) Pacific/Port_Moresby'), (b'Pacific/Saipan', b'(GMT+1000) Pacific/Saipan'), (b'Australia/Adelaide', b'(GMT+1030) Australia/Adelaide'), (b'Australia/Broken_Hill', b'(GMT+1030) Australia/Broken_Hill'), (b'Antarctica/Macquarie', b'(GMT+1100) Antarctica/Macquarie'), (b'Asia/Srednekolymsk', b'(GMT+1100) Asia/Srednekolymsk'), (b'Australia/Currie', b'(GMT+1100) Australia/Currie'), (b'Australia/Hobart', b'(GMT+1100) Australia/Hobart'), (b'Australia/Lord_Howe', b'(GMT+1100) Australia/Lord_Howe'), (b'Australia/Melbourne', b'(GMT+1100) Australia/Melbourne'), (b'Australia/Sydney', b'(GMT+1100) Australia/Sydney'), (b'Pacific/Efate', b'(GMT+1100) Pacific/Efate'), (b'Pacific/Guadalcanal', b'(GMT+1100) Pacific/Guadalcanal'), (b'Pacific/Kosrae', b'(GMT+1100) Pacific/Kosrae'), (b'Pacific/Noumea', b'(GMT+1100) Pacific/Noumea'), (b'Pacific/Pohnpei', b'(GMT+1100) Pacific/Pohnpei'), (b'Pacific/Norfolk', b'(GMT+1130) Pacific/Norfolk'), (b'Asia/Anadyr', b'(GMT+1200) Asia/Anadyr'), (b'Asia/Kamchatka', b'(GMT+1200) Asia/Kamchatka'), (b'Pacific/Funafuti', b'(GMT+1200) Pacific/Funafuti'), (b'Pacific/Kwajalein', b'(GMT+1200) Pacific/Kwajalein'), (b'Pacific/Majuro', b'(GMT+1200) Pacific/Majuro'), (b'Pacific/Nauru', b'(GMT+1200) Pacific/Nauru'), (b'Pacific/Tarawa', b'(GMT+1200) Pacific/Tarawa'), (b'Pacific/Wake', b'(GMT+1200) Pacific/Wake'), (b'Pacific/Wallis', b'(GMT+1200) Pacific/Wallis'), (b'Antarctica/McMurdo', b'(GMT+1300) Antarctica/McMurdo'), (b'Pacific/Auckland', b'(GMT+1300) Pacific/Auckland'), (b'Pacific/Enderbury', b'(GMT+1300) Pacific/Enderbury'), (b'Pacific/Fakaofo', b'(GMT+1300) Pacific/Fakaofo'), (b'Pacific/Fiji', b'(GMT+1300) Pacific/Fiji'), (b'Pacific/Tongatapu', b'(GMT+1300) Pacific/Tongatapu'), (b'Pacific/Chatham', b'(GMT+1345) Pacific/Chatham'), (b'Pacific/Apia', b'(GMT+1400) Pacific/Apia'), (b'Pacific/Kiritimati', b'(GMT+1400) Pacific/Kiritimati')])),
45 ],
46 options={
47 },
48 bases=(models.Model,),
49 ),
50 migrations.CreateModel(
51 name='Account',
52 fields=[
53 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
54 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
55 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
56 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
57 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
58 ('deleted', models.BooleanField(default=False)),
59 ],
60 options={
61 'abstract': False,
62 },
63 bases=(models.Model,),
64 ),
65 migrations.CreateModel(
66 name='Charge',
67 fields=[
68 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
69 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
70 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
71 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
72 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
73 ('deleted', models.BooleanField(default=False)),
74 ('kind', models.CharField(default=b'besteffort', max_length=30, choices=[(b'besteffort', b'besteffort'), (b'reservation', b'reservation'), (b'monthlyfee', b'monthlyfee')])),
75 ('state', models.CharField(default=b'pending', max_length=30, choices=[(b'pending', b'pending'), (b'invoiced', b'invoiced')])),
76 ('date', models.DateTimeField()),
77 ('amount', models.FloatField(default=0.0)),
78 ('coreHours', models.FloatField(default=0.0)),
79 ('account', models.ForeignKey(related_name=b'charges', to='core.Account')),
80 ],
81 options={
82 'abstract': False,
83 },
84 bases=(models.Model,),
85 ),
86 migrations.CreateModel(
87 name='Controller',
88 fields=[
89 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
90 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
91 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
92 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
93 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
94 ('deleted', models.BooleanField(default=False)),
95 ('name', models.CharField(help_text=b'Name of the Controller', unique=True, max_length=200)),
96 ('version', models.CharField(help_text=b'Controller version', unique=True, max_length=200)),
97 ('backend_type', models.CharField(help_text=b'Type of compute controller, e.g. EC2, OpenStack, or OpenStack version', max_length=200, null=True, blank=True)),
98 ('auth_url', models.CharField(help_text=b'Auth url for the compute controller', max_length=200, null=True, blank=True)),
99 ('admin_user', models.CharField(help_text=b'Username of an admin user at this controller', max_length=200, null=True, blank=True)),
100 ('admin_password', models.CharField(help_text=b'Password of theadmin user at this controller', max_length=200, null=True, blank=True)),
101 ('admin_tenant', models.CharField(help_text=b'Name of the tenant the admin user belongs to', max_length=200, null=True, blank=True)),
102 ],
103 options={
104 'abstract': False,
105 },
106 bases=(models.Model,),
107 ),
108 migrations.CreateModel(
109 name='ControllerCredential',
110 fields=[
111 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
112 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
113 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
114 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
115 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
116 ('deleted', models.BooleanField(default=False)),
117 ('name', models.SlugField(help_text=b'The credential type, e.g. ec2', max_length=128)),
118 ('key_id', models.CharField(help_text=b'The backend id of this credential', max_length=1024)),
119 ('enc_value', encrypted_fields.fields.EncryptedCharField(help_text=b'The key value of this credential', max_length=1024)),
120 ('controller', models.ForeignKey(related_name=b'controllercredentials', to='core.Controller', help_text=b'The User this credential is associated with')),
121 ],
122 options={
123 'abstract': False,
124 },
125 bases=(models.Model,),
126 ),
127 migrations.CreateModel(
128 name='ControllerDashboardView',
129 fields=[
130 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
131 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
132 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
133 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
134 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
135 ('deleted', models.BooleanField(default=False)),
136 ('url', models.CharField(help_text=b'URL of Dashboard', max_length=1024)),
137 ('controller', models.ForeignKey(related_name=b'controllerdashboardviews', to='core.Controller')),
138 ],
139 options={
140 'abstract': False,
141 },
142 bases=(models.Model,),
143 ),
144 migrations.CreateModel(
145 name='ControllerImages',
146 fields=[
147 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
148 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
149 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
150 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
151 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
152 ('deleted', models.BooleanField(default=False)),
153 ('glance_image_id', models.CharField(help_text=b'Glance image id', max_length=200, null=True, blank=True)),
154 ('controller', models.ForeignKey(related_name=b'controllerimages', to='core.Controller')),
155 ],
156 options={
157 'abstract': False,
158 },
159 bases=(models.Model,),
160 ),
161 migrations.CreateModel(
162 name='ControllerNetworks',
163 fields=[
164 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
165 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
166 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
167 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
168 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
169 ('deleted', models.BooleanField(default=False)),
170 ('net_id', models.CharField(help_text=b'Quantum network', max_length=256, null=True, blank=True)),
171 ('router_id', models.CharField(help_text=b'Quantum router id', max_length=256, null=True, blank=True)),
172 ('subnet_id', models.CharField(help_text=b'Quantum subnet id', max_length=256, null=True, blank=True)),
173 ('subnet', models.CharField(max_length=32, blank=True)),
174 ('controller', models.ForeignKey(related_name=b'controllernetworks', to='core.Controller')),
175 ],
176 options={
177 'abstract': False,
178 },
179 bases=(models.Model,),
180 ),
181 migrations.CreateModel(
182 name='ControllerPrivilege',
183 fields=[
184 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
185 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
186 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
187 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
188 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
189 ('deleted', models.BooleanField(default=False)),
190 ('controller', models.ForeignKey(related_name=b'controllerprivileges', to='core.Controller')),
191 ],
192 options={
193 'abstract': False,
194 },
195 bases=(models.Model,),
196 ),
197 migrations.CreateModel(
198 name='ControllerRole',
199 fields=[
200 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
201 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
202 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
203 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
204 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
205 ('deleted', models.BooleanField(default=False)),
206 ('role', models.CharField(unique=True, max_length=30, choices=[(b'admin', b'Admin')])),
207 ],
208 options={
209 'abstract': False,
210 },
211 bases=(models.Model,),
212 ),
213 migrations.CreateModel(
214 name='ControllerSiteDeployments',
215 fields=[
216 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
217 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
218 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
219 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
220 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
221 ('deleted', models.BooleanField(default=False)),
222 ('tenant_id', models.CharField(help_text=b'Keystone tenant id', max_length=200, null=True, blank=True)),
223 ('controller', models.ForeignKey(related_name=b'controllersitedeployments', to='core.Controller')),
224 ],
225 options={
226 'abstract': False,
227 },
228 bases=(models.Model,),
229 ),
230 migrations.CreateModel(
231 name='ControllerSlices',
232 fields=[
233 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
234 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
235 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
236 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
237 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
238 ('deleted', models.BooleanField(default=False)),
239 ('tenant_id', models.CharField(help_text=b'Keystone tenant id', max_length=200, null=True, blank=True)),
240 ('controller', models.ForeignKey(related_name=b'controllerslices', to='core.Controller')),
241 ],
242 options={
243 'abstract': False,
244 },
245 bases=(models.Model,),
246 ),
247 migrations.CreateModel(
248 name='ControllerUsers',
249 fields=[
250 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
251 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
252 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
253 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
254 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
255 ('deleted', models.BooleanField(default=False)),
256 ('kuser_id', models.CharField(help_text=b'Keystone user id', max_length=200, null=True, blank=True)),
257 ('controller', models.ForeignKey(related_name=b'controllersusers', to='core.Controller')),
258 ('user', models.ForeignKey(related_name=b'controllerusers', to=settings.AUTH_USER_MODEL)),
259 ],
260 options={
261 'abstract': False,
262 },
263 bases=(models.Model,),
264 ),
265 migrations.CreateModel(
266 name='DashboardView',
267 fields=[
268 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
269 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
270 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
271 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
272 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
273 ('deleted', models.BooleanField(default=False)),
274 ('name', models.CharField(help_text=b'Name of the View', unique=True, max_length=200)),
275 ('url', models.CharField(help_text=b'URL of Dashboard', max_length=1024)),
276 ('controllers', models.ManyToManyField(related_name=b'dashboardviews', through='core.ControllerDashboardView', to='core.Controller', blank=True)),
277 ],
278 options={
279 'abstract': False,
280 },
281 bases=(models.Model,),
282 ),
283 migrations.CreateModel(
284 name='Deployment',
285 fields=[
286 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
287 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
288 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
289 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
290 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
291 ('deleted', models.BooleanField(default=False)),
292 ('name', models.CharField(help_text=b'Name of the Deployment', unique=True, max_length=200)),
293 ('accessControl', models.TextField(default=b'allow all', help_text=b'Access control list that specifies which sites/users may use nodes in this deployment', max_length=200)),
294 ],
295 options={
296 'abstract': False,
297 },
298 bases=(models.Model,),
299 ),
300 migrations.CreateModel(
301 name='DeploymentPrivilege',
302 fields=[
303 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
304 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
305 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
306 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
307 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
308 ('deleted', models.BooleanField(default=False)),
309 ('deployment', models.ForeignKey(related_name=b'deploymentprivileges', to='core.Deployment')),
310 ],
311 options={
312 'abstract': False,
313 },
314 bases=(models.Model,),
315 ),
316 migrations.CreateModel(
317 name='DeploymentRole',
318 fields=[
319 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
320 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
321 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
322 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
323 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
324 ('deleted', models.BooleanField(default=False)),
325 ('role', models.CharField(unique=True, max_length=30, choices=[(b'admin', b'Admin')])),
326 ],
327 options={
328 'abstract': False,
329 },
330 bases=(models.Model,),
331 ),
332 migrations.CreateModel(
333 name='Flavor',
334 fields=[
335 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
336 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
337 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
338 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
339 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
340 ('deleted', models.BooleanField(default=False)),
341 ('name', models.CharField(help_text=b'name of this flavor, as displayed to users', max_length=32)),
342 ('description', models.CharField(max_length=1024, null=True, blank=True)),
343 ('flavor', models.CharField(help_text=b'flavor string used to configure deployments', max_length=32)),
344 ('order', models.IntegerField(default=0, help_text=b'used to order flavors when displayed in a list')),
345 ('default', models.BooleanField(default=False, help_text=b'make this a default flavor to use when creating new instances')),
346 ('deployments', models.ManyToManyField(related_name=b'flavors', to='core.Deployment', blank=True)),
347 ],
348 options={
349 'ordering': ('order', 'name'),
350 },
351 bases=(models.Model,),
352 ),
353 migrations.CreateModel(
354 name='Image',
355 fields=[
356 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
357 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
358 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
359 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
360 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
361 ('deleted', models.BooleanField(default=False)),
362 ('name', models.CharField(unique=True, max_length=256)),
363 ('disk_format', models.CharField(max_length=256)),
364 ('container_format', models.CharField(max_length=256)),
365 ('path', models.CharField(help_text=b'Path to image on local disk', max_length=256, null=True, blank=True)),
366 ],
367 options={
368 'abstract': False,
369 },
370 bases=(models.Model,),
371 ),
372 migrations.CreateModel(
373 name='ImageDeployments',
374 fields=[
375 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
376 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
377 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
378 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
379 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
380 ('deleted', models.BooleanField(default=False)),
381 ('deployment', models.ForeignKey(related_name=b'imagedeployments', to='core.Deployment')),
382 ('image', models.ForeignKey(related_name=b'imagedeployments', to='core.Image')),
383 ],
384 options={
385 'abstract': False,
386 },
387 bases=(models.Model,),
388 ),
389 migrations.CreateModel(
390 name='Invoice',
391 fields=[
392 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
393 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
394 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
395 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
396 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
397 ('deleted', models.BooleanField(default=False)),
398 ('date', models.DateTimeField()),
399 ('account', models.ForeignKey(related_name=b'invoices', to='core.Account')),
400 ],
401 options={
402 'abstract': False,
403 },
404 bases=(models.Model,),
405 ),
406 migrations.CreateModel(
407 name='Network',
408 fields=[
409 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
410 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
411 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
412 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
413 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
414 ('deleted', models.BooleanField(default=False)),
415 ('name', models.CharField(max_length=32)),
416 ('subnet', models.CharField(max_length=32, blank=True)),
417 ('ports', models.CharField(blank=True, max_length=1024, null=True, validators=[core.models.network.ValidateNatList])),
418 ('labels', models.CharField(max_length=1024, null=True, blank=True)),
419 ('guaranteedBandwidth', models.IntegerField(default=0)),
420 ('permitAllSlices', models.BooleanField(default=False)),
421 ('topologyParameters', models.TextField(null=True, blank=True)),
422 ('controllerUrl', models.CharField(max_length=1024, null=True, blank=True)),
423 ('controllerParameters', models.TextField(null=True, blank=True)),
424 ('network_id', models.CharField(help_text=b'Quantum network', max_length=256, null=True, blank=True)),
425 ('router_id', models.CharField(help_text=b'Quantum router id', max_length=256, null=True, blank=True)),
426 ('subnet_id', models.CharField(help_text=b'Quantum subnet id', max_length=256, null=True, blank=True)),
427 ],
428 options={
429 'abstract': False,
430 },
431 bases=(models.Model,),
432 ),
433 migrations.CreateModel(
434 name='NetworkParameter',
435 fields=[
436 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
437 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
438 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
439 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
440 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
441 ('deleted', models.BooleanField(default=False)),
442 ('value', models.CharField(help_text=b'The value of this parameter', max_length=1024)),
443 ('object_id', models.PositiveIntegerField()),
444 ('content_type', models.ForeignKey(to='contenttypes.ContentType')),
445 ],
446 options={
447 'abstract': False,
448 },
449 bases=(models.Model,),
450 ),
451 migrations.CreateModel(
452 name='NetworkParameterType',
453 fields=[
454 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
455 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
456 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
457 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
458 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
459 ('deleted', models.BooleanField(default=False)),
460 ('name', models.SlugField(help_text=b'The name of this parameter', max_length=128)),
461 ('description', models.CharField(max_length=1024)),
462 ],
463 options={
464 'abstract': False,
465 },
466 bases=(models.Model,),
467 ),
468 migrations.CreateModel(
469 name='NetworkSlice',
470 fields=[
471 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
472 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
473 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
474 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
475 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
476 ('deleted', models.BooleanField(default=False)),
477 ('network', models.ForeignKey(related_name=b'networkslices', to='core.Network')),
478 ],
479 options={
480 'abstract': False,
481 },
482 bases=(models.Model,),
483 ),
484 migrations.CreateModel(
485 name='NetworkSliver',
486 fields=[
487 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
488 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
489 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
490 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
491 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
492 ('deleted', models.BooleanField(default=False)),
493 ('ip', models.GenericIPAddressField(help_text=b'Sliver ip address', null=True, blank=True)),
494 ('port_id', models.CharField(help_text=b'Quantum port id', max_length=256, null=True, blank=True)),
495 ('network', models.ForeignKey(related_name=b'networkslivers', to='core.Network')),
496 ],
497 options={
498 'abstract': False,
499 },
500 bases=(models.Model,),
501 ),
502 migrations.CreateModel(
503 name='NetworkTemplate',
504 fields=[
505 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
506 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
507 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
508 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
509 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
510 ('deleted', models.BooleanField(default=False)),
511 ('name', models.CharField(max_length=32)),
512 ('description', models.CharField(max_length=1024, null=True, blank=True)),
513 ('guaranteedBandwidth', models.IntegerField(default=0)),
514 ('visibility', models.CharField(default=b'private', max_length=30, choices=[(b'public', b'public'), (b'private', b'private')])),
515 ('translation', models.CharField(default=b'none', max_length=30, choices=[(b'none', b'none'), (b'NAT', b'NAT')])),
516 ('sharedNetworkName', models.CharField(max_length=30, null=True, blank=True)),
517 ('sharedNetworkId', models.CharField(help_text=b'Quantum network', max_length=256, null=True, blank=True)),
518 ('topologyKind', models.CharField(default=b'BigSwitch', max_length=30, choices=[(b'bigswitch', b'BigSwitch'), (b'physical', b'Physical'), (b'custom', b'Custom')])),
519 ('controllerKind', models.CharField(default=None, max_length=30, null=True, blank=True, choices=[(None, b'None'), (b'onos', b'ONOS'), (b'custom', b'Custom')])),
520 ],
521 options={
522 'abstract': False,
523 },
524 bases=(models.Model,),
525 ),
526 migrations.CreateModel(
527 name='Node',
528 fields=[
529 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
530 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
531 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
532 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
533 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
534 ('deleted', models.BooleanField(default=False)),
535 ('name', models.CharField(help_text=b'Name of the Node', unique=True, max_length=200)),
536 ],
537 options={
538 'abstract': False,
539 },
540 bases=(models.Model,),
541 ),
542 migrations.CreateModel(
543 name='Payment',
544 fields=[
545 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
546 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
547 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
548 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
549 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
550 ('deleted', models.BooleanField(default=False)),
551 ('amount', models.FloatField(default=0.0)),
552 ('date', models.DateTimeField(default=django.utils.timezone.now)),
553 ('account', models.ForeignKey(related_name=b'payments', to='core.Account')),
554 ],
555 options={
556 'abstract': False,
557 },
558 bases=(models.Model,),
559 ),
560 migrations.CreateModel(
561 name='PlanetStack',
562 fields=[
563 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
564 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
565 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
566 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
567 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
568 ('deleted', models.BooleanField(default=False)),
569 ('description', models.CharField(default=b'PlanetStack', help_text=b'Used for scoping of roles at the PlanetStack Application level', unique=True, max_length=200)),
570 ],
571 options={
572 'verbose_name_plural': 'PlanetStack',
573 },
574 bases=(models.Model,),
575 ),
576 migrations.CreateModel(
577 name='PlanetStackPrivilege',
578 fields=[
579 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
580 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
581 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
582 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
583 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
584 ('deleted', models.BooleanField(default=False)),
585 ('planetstack', models.ForeignKey(related_name=b'planetstackprivileges', default=1, to='core.PlanetStack')),
586 ],
587 options={
588 'abstract': False,
589 },
590 bases=(models.Model,),
591 ),
592 migrations.CreateModel(
593 name='PlanetStackRole',
594 fields=[
595 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
596 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
597 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
598 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
599 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
600 ('deleted', models.BooleanField(default=False)),
601 ('role', models.CharField(unique=True, max_length=30, choices=[(b'admin', b'Admin')])),
602 ],
603 options={
604 'abstract': False,
605 },
606 bases=(models.Model,),
607 ),
608 migrations.CreateModel(
609 name='Project',
610 fields=[
611 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
612 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
613 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
614 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
615 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
616 ('deleted', models.BooleanField(default=False)),
617 ('name', models.CharField(help_text=b'Name of Project', unique=True, max_length=200)),
618 ],
619 options={
620 'abstract': False,
621 },
622 bases=(models.Model,),
623 ),
624 migrations.CreateModel(
625 name='Reservation',
626 fields=[
627 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
628 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
629 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
630 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
631 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
632 ('deleted', models.BooleanField(default=False)),
633 ('startTime', models.DateTimeField()),
634 ('duration', models.IntegerField(default=1)),
635 ],
636 options={
637 'abstract': False,
638 },
639 bases=(models.Model,),
640 ),
641 migrations.CreateModel(
642 name='ReservedResource',
643 fields=[
644 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
645 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
646 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
647 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
648 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
649 ('deleted', models.BooleanField(default=False)),
650 ('quantity', models.IntegerField(default=1)),
651 ('reservationSet', models.ForeignKey(related_name=b'reservedresources', to='core.Reservation')),
652 ],
653 options={
654 'abstract': False,
655 'verbose_name_plural': 'Reserved Resources',
656 },
657 bases=(models.Model,),
658 ),
659 migrations.CreateModel(
660 name='Role',
661 fields=[
662 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
663 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
664 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
665 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
666 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
667 ('deleted', models.BooleanField(default=False)),
668 ('role_type', models.CharField(max_length=80, verbose_name=b'Name')),
669 ('role', models.CharField(max_length=80, null=True, verbose_name=b'Keystone role id', blank=True)),
670 ('description', models.CharField(max_length=120, verbose_name=b'Description')),
671 ('content_type', models.ForeignKey(verbose_name=b'Role Scope', to='contenttypes.ContentType')),
672 ],
673 options={
674 'abstract': False,
675 },
676 bases=(models.Model,),
677 ),
678 migrations.CreateModel(
679 name='Router',
680 fields=[
681 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
682 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
683 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
684 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
685 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
686 ('deleted', models.BooleanField(default=False)),
687 ('name', models.CharField(max_length=32)),
688 ('networks', models.ManyToManyField(related_name=b'routers', to='core.Network', blank=True)),
689 ],
690 options={
691 'abstract': False,
692 },
693 bases=(models.Model,),
694 ),
695 migrations.CreateModel(
696 name='Service',
697 fields=[
698 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
699 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
700 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
701 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
702 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
703 ('deleted', models.BooleanField(default=False)),
704 ('description', models.TextField(help_text=b'Description of Service', max_length=254, null=True, blank=True)),
705 ('enabled', models.BooleanField(default=True)),
706 ('name', models.CharField(help_text=b'Service Name', max_length=30)),
707 ('versionNumber', models.CharField(help_text=b'Version of Service Definition', max_length=30)),
708 ('published', models.BooleanField(default=True)),
709 ],
710 options={
711 'abstract': False,
712 },
713 bases=(models.Model,),
714 ),
715 migrations.CreateModel(
716 name='ServiceAttribute',
717 fields=[
718 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
719 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
720 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
721 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
722 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
723 ('deleted', models.BooleanField(default=False)),
724 ('name', models.SlugField(help_text=b'Attribute Name', max_length=128)),
725 ('value', models.CharField(help_text=b'Attribute Value', max_length=1024)),
726 ('service', models.ForeignKey(related_name=b'serviceattributes', to='core.Service', help_text=b'The Service this attribute is associated with')),
727 ],
728 options={
729 'abstract': False,
730 },
731 bases=(models.Model,),
732 ),
733 migrations.CreateModel(
734 name='ServiceClass',
735 fields=[
736 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
737 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
738 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
739 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
740 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
741 ('deleted', models.BooleanField(default=False)),
742 ('name', models.CharField(max_length=32)),
743 ('description', models.CharField(max_length=255)),
744 ('commitment', models.IntegerField(default=365)),
745 ('membershipFee', models.IntegerField(default=0)),
746 ('membershipFeeMonths', models.IntegerField(default=12)),
747 ('upgradeRequiresApproval', models.BooleanField(default=False)),
748 ('upgradeFrom', models.ManyToManyField(related_name='upgradeFrom_rel_+', null=True, to='core.ServiceClass', blank=True)),
749 ],
750 options={
751 'abstract': False,
752 'verbose_name_plural': 'Service classes',
753 },
754 bases=(models.Model,),
755 ),
756 migrations.CreateModel(
757 name='ServiceResource',
758 fields=[
759 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
760 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
761 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
762 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
763 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
764 ('deleted', models.BooleanField(default=False)),
765 ('name', models.CharField(max_length=32)),
766 ('maxUnitsDeployment', models.IntegerField(default=1)),
767 ('maxUnitsNode', models.IntegerField(default=1)),
768 ('maxDuration', models.IntegerField(default=1)),
769 ('bucketInRate', models.IntegerField(default=0)),
770 ('bucketMaxSize', models.IntegerField(default=0)),
771 ('cost', models.IntegerField(default=0)),
772 ('calendarReservable', models.BooleanField(default=True)),
773 ('serviceClass', models.ForeignKey(related_name=b'serviceresources', to='core.ServiceClass')),
774 ],
775 options={
776 'abstract': False,
777 },
778 bases=(models.Model,),
779 ),
780 migrations.CreateModel(
781 name='Site',
782 fields=[
783 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
784 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
785 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
786 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
787 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
788 ('deleted', models.BooleanField(default=False)),
789 ('name', models.CharField(help_text=b'Name for this Site', max_length=200)),
790 ('site_url', models.URLField(help_text=b"Site's Home URL Page", max_length=512, null=True, blank=True)),
791 ('enabled', models.BooleanField(default=True, help_text=b'Status for this Site')),
792 ('location', geoposition.fields.GeopositionField(max_length=42)),
793 ('longitude', models.FloatField(null=True, blank=True)),
794 ('latitude', models.FloatField(null=True, blank=True)),
795 ('login_base', models.CharField(help_text=b'Prefix for Slices associated with this Site', unique=True, max_length=50)),
796 ('is_public', models.BooleanField(default=True, help_text=b'Indicates the visibility of this site to other members')),
797 ('abbreviated_name', models.CharField(max_length=80)),
798 ],
799 options={
800 'abstract': False,
801 },
802 bases=(models.Model,),
803 ),
804 migrations.CreateModel(
805 name='SiteCredential',
806 fields=[
807 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
808 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
809 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
810 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
811 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
812 ('deleted', models.BooleanField(default=False)),
813 ('name', models.SlugField(help_text=b'The credential type, e.g. ec2', max_length=128)),
814 ('key_id', models.CharField(help_text=b'The backend id of this credential', max_length=1024)),
815 ('enc_value', encrypted_fields.fields.EncryptedCharField(help_text=b'The key value of this credential', max_length=1024)),
816 ('site', models.ForeignKey(related_name=b'sitecredentials', to='core.Site', help_text=b'The User this credential is associated with')),
817 ],
818 options={
819 'abstract': False,
820 },
821 bases=(models.Model,),
822 ),
823 migrations.CreateModel(
824 name='SiteDeployments',
825 fields=[
826 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
827 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
828 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
829 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
830 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
831 ('deleted', models.BooleanField(default=False)),
832 ('availability_zone', models.CharField(help_text=b'OpenStack availability zone', max_length=200, null=True, blank=True)),
833 ('controller', models.ForeignKey(related_name=b'sitedeployments', blank=True, to='core.Controller', null=True)),
834 ('deployment', models.ForeignKey(related_name=b'sitedeployments', to='core.Deployment')),
835 ('site', models.ForeignKey(related_name=b'sitedeployments', to='core.Site')),
836 ],
837 options={
838 'abstract': False,
839 },
840 bases=(models.Model,),
841 ),
842 migrations.CreateModel(
843 name='SitePrivilege',
844 fields=[
845 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
846 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
847 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
848 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
849 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
850 ('deleted', models.BooleanField(default=False)),
851 ],
852 options={
853 'abstract': False,
854 },
855 bases=(models.Model,),
856 ),
857 migrations.CreateModel(
858 name='SiteRole',
859 fields=[
860 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
861 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
862 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
863 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
864 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
865 ('deleted', models.BooleanField(default=False)),
866 ('role', models.CharField(unique=True, max_length=30, choices=[(b'admin', b'Admin'), (b'pi', b'PI'), (b'tech', b'Tech'), (b'billing', b'Billing')])),
867 ],
868 options={
869 'abstract': False,
870 },
871 bases=(models.Model,),
872 ),
873 migrations.CreateModel(
874 name='Slice',
875 fields=[
876 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
877 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
878 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
879 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
880 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
881 ('deleted', models.BooleanField(default=False)),
882 ('name', models.CharField(help_text=b'The Name of the Slice', unique=True, max_length=80)),
883 ('enabled', models.BooleanField(default=True, help_text=b'Status for this Slice')),
884 ('omf_friendly', models.BooleanField(default=False)),
885 ('description', models.TextField(help_text=b'High level description of the slice and expected activities', max_length=1024, blank=True)),
886 ('slice_url', models.URLField(max_length=512, blank=True)),
887 ('max_slivers', models.IntegerField(default=10)),
888 ('imagePreference', models.CharField(default=b'Ubuntu 12.04 LTS', max_length=256, null=True, blank=True)),
889 ('network', models.CharField(default=b'Private Only', max_length=256, null=True, blank=True)),
890 ('mountDataSets', models.CharField(default=b'GenBank', max_length=256, null=True, blank=True)),
891 ('creator', models.ForeignKey(related_name=b'slices', blank=True, to=settings.AUTH_USER_MODEL, null=True)),
892 ('service', models.ForeignKey(related_name=b'service', blank=True, to='core.Service', null=True)),
893 ('serviceClass', models.ForeignKey(related_name=b'slices', default=core.models.serviceclass.get_default_serviceclass, to='core.ServiceClass', null=True)),
894 ('site', models.ForeignKey(related_name=b'slices', to='core.Site', help_text=b'The Site this Slice belongs to')),
895 ],
896 options={
897 'abstract': False,
898 },
899 bases=(models.Model,),
900 ),
901 migrations.CreateModel(
902 name='SliceCredential',
903 fields=[
904 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
905 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
906 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
907 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
908 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
909 ('deleted', models.BooleanField(default=False)),
910 ('name', models.SlugField(help_text=b'The credential type, e.g. ec2', max_length=128)),
911 ('key_id', models.CharField(help_text=b'The backend id of this credential', max_length=1024)),
912 ('enc_value', encrypted_fields.fields.EncryptedCharField(help_text=b'The key value of this credential', max_length=1024)),
913 ('slice', models.ForeignKey(related_name=b'slicecredentials', to='core.Slice', help_text=b'The User this credential is associated with')),
914 ],
915 options={
916 'abstract': False,
917 },
918 bases=(models.Model,),
919 ),
920 migrations.CreateModel(
921 name='SlicePrivilege',
922 fields=[
923 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
924 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
925 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
926 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
927 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
928 ('deleted', models.BooleanField(default=False)),
929 ],
930 options={
931 'abstract': False,
932 },
933 bases=(models.Model,),
934 ),
935 migrations.CreateModel(
936 name='SliceRole',
937 fields=[
938 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
939 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
940 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
941 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
942 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
943 ('deleted', models.BooleanField(default=False)),
944 ('role', models.CharField(unique=True, max_length=30, choices=[(b'admin', b'Admin'), (b'default', b'Default')])),
945 ],
946 options={
947 'abstract': False,
948 },
949 bases=(models.Model,),
950 ),
951 migrations.CreateModel(
952 name='SliceTag',
953 fields=[
954 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
955 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
956 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
957 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
958 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
959 ('deleted', models.BooleanField(default=False)),
960 ('name', models.CharField(help_text=b'The name of this tag', max_length=30, choices=[(b'privatekey', b'Private Key'), (b'publickey', b'Public Key')])),
961 ('value', models.CharField(help_text=b'The value of this tag', max_length=1024)),
962 ('slice', models.ForeignKey(related_name=b'slicetags', to='core.Slice')),
963 ],
964 options={
965 'abstract': False,
966 },
967 bases=(models.Model,),
968 ),
969 migrations.CreateModel(
970 name='Sliver',
971 fields=[
972 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
973 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
974 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
975 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
976 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
977 ('deleted', models.BooleanField(default=False)),
978 ('instance_id', models.CharField(help_text=b'Nova instance id', max_length=200, null=True, blank=True)),
979 ('name', models.CharField(help_text=b'Sliver name', max_length=200)),
980 ('instance_name', models.CharField(help_text=b'OpenStack generated name', max_length=200, null=True, blank=True)),
981 ('ip', models.GenericIPAddressField(help_text=b'Sliver ip address', null=True, blank=True)),
982 ('numberCores', models.IntegerField(default=0, help_text=b'Number of cores for sliver', verbose_name=b'Number of Cores')),
983 ('userData', models.TextField(help_text=b'user_data passed to instance during creation', null=True, blank=True)),
Tony Macka8242c72014-12-25 19:17:54 -0500984 ('creator', models.ForeignKey(related_name=b'slivers', blank=True, to=settings.AUTH_USER_MODEL, null=True)),
Tony Mackb2dba4b2014-12-26 13:38:02 -0500985 ('deployment', models.ForeignKey(related_name=b'sliver_deployment', verbose_name=b'deployment', to='core.Deployment')),
Tony Macka8242c72014-12-25 19:17:54 -0500986 ('flavor', models.ForeignKey(default=core.models.sliver.get_default_flavor, to='core.Flavor', help_text=b'Flavor of this instance')),
987 ('image', models.ForeignKey(related_name=b'slivers', to='core.Image')),
988 ('node', models.ForeignKey(related_name=b'slivers', to='core.Node')),
989 ('slice', models.ForeignKey(related_name=b'slivers', to='core.Slice')),
990 ],
991 options={
992 'abstract': False,
993 },
994 bases=(models.Model,),
995 ),
996 migrations.CreateModel(
997 name='Tag',
998 fields=[
999 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
1000 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
1001 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
1002 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
1003 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
1004 ('deleted', models.BooleanField(default=False)),
1005 ('name', models.SlugField(help_text=b'The name of this tag', max_length=128)),
1006 ('value', models.CharField(help_text=b'The value of this tag', max_length=1024)),
1007 ('object_id', models.PositiveIntegerField()),
1008 ('content_type', models.ForeignKey(to='contenttypes.ContentType')),
1009 ('service', models.ForeignKey(related_name=b'tags', to='core.Service', help_text=b'The Service this Tag is associated with')),
1010 ],
1011 options={
1012 'abstract': False,
1013 },
1014 bases=(models.Model,),
1015 ),
1016 migrations.CreateModel(
1017 name='UsableObject',
1018 fields=[
1019 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
1020 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
1021 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
1022 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
1023 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
1024 ('deleted', models.BooleanField(default=False)),
1025 ('name', models.CharField(max_length=1024)),
1026 ],
1027 options={
1028 'abstract': False,
1029 },
1030 bases=(models.Model,),
1031 ),
1032 migrations.CreateModel(
1033 name='UserCredential',
1034 fields=[
1035 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
1036 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
1037 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
1038 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
1039 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
1040 ('deleted', models.BooleanField(default=False)),
1041 ('name', models.SlugField(help_text=b'The credential type, e.g. ec2', max_length=128)),
1042 ('key_id', models.CharField(help_text=b'The backend id of this credential', max_length=1024)),
1043 ('enc_value', encrypted_fields.fields.EncryptedCharField(help_text=b'The key value of this credential', max_length=1024)),
1044 ('user', models.ForeignKey(related_name=b'usercredentials', to=settings.AUTH_USER_MODEL, help_text=b'The User this credential is associated with')),
1045 ],
1046 options={
1047 'abstract': False,
1048 },
1049 bases=(models.Model,),
1050 ),
1051 migrations.CreateModel(
1052 name='UserDashboardView',
1053 fields=[
1054 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
1055 ('created', models.DateTimeField(default=django.utils.timezone.now, auto_now_add=True)),
1056 ('updated', models.DateTimeField(default=django.utils.timezone.now, auto_now=True)),
1057 ('enacted', models.DateTimeField(default=None, null=True, blank=True)),
1058 ('backend_status', models.CharField(default=b'Provisioning in progress', max_length=140)),
1059 ('deleted', models.BooleanField(default=False)),
1060 ('order', models.IntegerField(default=0)),
1061 ('dashboardView', models.ForeignKey(related_name=b'userdashboardviews', to='core.DashboardView')),
1062 ('user', models.ForeignKey(related_name=b'userdashboardviews', to=settings.AUTH_USER_MODEL)),
1063 ],
1064 options={
1065 'abstract': False,
1066 },
1067 bases=(models.Model,),
1068 ),
1069 migrations.AddField(
1070 model_name='sliceprivilege',
1071 name='role',
1072 field=models.ForeignKey(related_name=b'sliceprivileges', to='core.SliceRole'),
1073 preserve_default=True,
1074 ),
1075 migrations.AddField(
1076 model_name='sliceprivilege',
1077 name='slice',
1078 field=models.ForeignKey(related_name=b'sliceprivileges', to='core.Slice'),
1079 preserve_default=True,
1080 ),
1081 migrations.AddField(
1082 model_name='sliceprivilege',
1083 name='user',
1084 field=models.ForeignKey(related_name=b'sliceprivileges', to=settings.AUTH_USER_MODEL),
1085 preserve_default=True,
1086 ),
1087 migrations.AddField(
1088 model_name='siteprivilege',
1089 name='role',
1090 field=models.ForeignKey(related_name=b'siteprivileges', to='core.SiteRole'),
1091 preserve_default=True,
1092 ),
1093 migrations.AddField(
1094 model_name='siteprivilege',
1095 name='site',
1096 field=models.ForeignKey(related_name=b'siteprivileges', to='core.Site'),
1097 preserve_default=True,
1098 ),
1099 migrations.AddField(
1100 model_name='siteprivilege',
1101 name='user',
1102 field=models.ForeignKey(related_name=b'siteprivileges', to=settings.AUTH_USER_MODEL),
1103 preserve_default=True,
1104 ),
1105 migrations.AddField(
1106 model_name='site',
1107 name='deployments',
1108 field=models.ManyToManyField(help_text=b'Select which sites are allowed to host nodes in this deployment', related_name=b'sites', through='core.SiteDeployments', to='core.Deployment', blank=True),
1109 preserve_default=True,
1110 ),
1111 migrations.AddField(
1112 model_name='router',
1113 name='owner',
1114 field=models.ForeignKey(related_name=b'routers', to='core.Slice'),
1115 preserve_default=True,
1116 ),
1117 migrations.AddField(
1118 model_name='router',
1119 name='permittedNetworks',
1120 field=models.ManyToManyField(related_name=b'availableRouters', to='core.Network', blank=True),
1121 preserve_default=True,
1122 ),
1123 migrations.AddField(
1124 model_name='reservedresource',
1125 name='resource',
1126 field=models.ForeignKey(related_name=b'reservedresources', to='core.ServiceResource'),
1127 preserve_default=True,
1128 ),
1129 migrations.AddField(
1130 model_name='reservedresource',
1131 name='sliver',
1132 field=models.ForeignKey(related_name=b'reservedresources', to='core.Sliver'),
1133 preserve_default=True,
1134 ),
1135 migrations.AddField(
1136 model_name='reservation',
1137 name='slice',
1138 field=models.ForeignKey(related_name=b'reservations', to='core.Slice'),
1139 preserve_default=True,
1140 ),
1141 migrations.AddField(
1142 model_name='planetstackprivilege',
1143 name='role',
1144 field=models.ForeignKey(to='core.PlanetStackRole'),
1145 preserve_default=True,
1146 ),
1147 migrations.AddField(
1148 model_name='planetstackprivilege',
1149 name='user',
1150 field=models.ForeignKey(related_name=b'planetstackprivileges', to=settings.AUTH_USER_MODEL),
1151 preserve_default=True,
1152 ),
1153 migrations.AddField(
1154 model_name='node',
1155 name='site_deployment',
1156 field=models.ForeignKey(related_name=b'nodes', to='core.SiteDeployments'),
1157 preserve_default=True,
1158 ),
1159 migrations.AddField(
1160 model_name='networksliver',
1161 name='sliver',
1162 field=models.ForeignKey(related_name=b'networkslivers', to='core.Sliver'),
1163 preserve_default=True,
1164 ),
1165 migrations.AddField(
1166 model_name='networkslice',
1167 name='slice',
1168 field=models.ForeignKey(related_name=b'networkslices', to='core.Slice'),
1169 preserve_default=True,
1170 ),
1171 migrations.AddField(
1172 model_name='networkparameter',
1173 name='parameter',
1174 field=models.ForeignKey(related_name=b'networkparameters', to='core.NetworkParameterType', help_text=b'The type of the parameter'),
1175 preserve_default=True,
1176 ),
1177 migrations.AddField(
1178 model_name='network',
1179 name='owner',
1180 field=models.ForeignKey(related_name=b'ownedNetworks', to='core.Slice', help_text=b'Slice that owns control of this Network'),
1181 preserve_default=True,
1182 ),
1183 migrations.AddField(
1184 model_name='network',
1185 name='permittedSlices',
1186 field=models.ManyToManyField(related_name=b'availableNetworks', to='core.Slice', blank=True),
1187 preserve_default=True,
1188 ),
1189 migrations.AddField(
1190 model_name='network',
1191 name='slices',
1192 field=models.ManyToManyField(related_name=b'networks', through='core.NetworkSlice', to='core.Slice', blank=True),
1193 preserve_default=True,
1194 ),
1195 migrations.AddField(
1196 model_name='network',
1197 name='slivers',
1198 field=models.ManyToManyField(related_name=b'networks', through='core.NetworkSliver', to='core.Sliver', blank=True),
1199 preserve_default=True,
1200 ),
1201 migrations.AddField(
1202 model_name='network',
1203 name='template',
1204 field=models.ForeignKey(to='core.NetworkTemplate'),
1205 preserve_default=True,
1206 ),
1207 migrations.AddField(
1208 model_name='image',
1209 name='deployments',
1210 field=models.ManyToManyField(help_text=b'Select which images should be instantiated on this deployment', related_name=b'images', through='core.ImageDeployments', to='core.Deployment', blank=True),
1211 preserve_default=True,
1212 ),
1213 migrations.AddField(
1214 model_name='deploymentprivilege',
1215 name='role',
1216 field=models.ForeignKey(related_name=b'deploymentprivileges', to='core.DeploymentRole'),
1217 preserve_default=True,
1218 ),
1219 migrations.AddField(
1220 model_name='deploymentprivilege',
1221 name='user',
1222 field=models.ForeignKey(related_name=b'deploymentprivileges', to=settings.AUTH_USER_MODEL),
1223 preserve_default=True,
1224 ),
1225 migrations.AddField(
1226 model_name='controllerslices',
1227 name='slice',
1228 field=models.ForeignKey(related_name=b'controllerslices', to='core.Slice'),
1229 preserve_default=True,
1230 ),
1231 migrations.AddField(
1232 model_name='controllersitedeployments',
1233 name='site_deployment',
1234 field=models.ForeignKey(related_name=b'controllersitedeployments', to='core.SiteDeployments'),
1235 preserve_default=True,
1236 ),
1237 migrations.AddField(
1238 model_name='controllerprivilege',
1239 name='role',
1240 field=models.ForeignKey(related_name=b'controllerprivileges', to='core.ControllerRole'),
1241 preserve_default=True,
1242 ),
1243 migrations.AddField(
1244 model_name='controllerprivilege',
1245 name='user',
1246 field=models.ForeignKey(related_name=b'controllerprivileges', to=settings.AUTH_USER_MODEL),
1247 preserve_default=True,
1248 ),
1249 migrations.AddField(
1250 model_name='controllernetworks',
1251 name='network',
1252 field=models.ForeignKey(related_name=b'controllernetworks', to='core.Network'),
1253 preserve_default=True,
1254 ),
1255 migrations.AddField(
1256 model_name='controllerimages',
1257 name='image',
1258 field=models.ForeignKey(related_name=b'controllerimages', to='core.Image'),
1259 preserve_default=True,
1260 ),
1261 migrations.AddField(
1262 model_name='controllerdashboardview',
1263 name='dashboardView',
1264 field=models.ForeignKey(related_name=b'controllerdashboardviews', to='core.DashboardView'),
1265 preserve_default=True,
1266 ),
1267 migrations.AddField(
1268 model_name='charge',
1269 name='invoice',
1270 field=models.ForeignKey(related_name=b'charges', blank=True, to='core.Invoice', null=True),
1271 preserve_default=True,
1272 ),
1273 migrations.AddField(
1274 model_name='charge',
1275 name='object',
1276 field=models.ForeignKey(to='core.UsableObject'),
1277 preserve_default=True,
1278 ),
1279 migrations.AddField(
1280 model_name='charge',
1281 name='slice',
1282 field=models.ForeignKey(related_name=b'charges', blank=True, to='core.Slice', null=True),
1283 preserve_default=True,
1284 ),
1285 migrations.AddField(
1286 model_name='account',
1287 name='site',
1288 field=models.ForeignKey(related_name=b'accounts', to='core.Site', help_text=b'Site for this account'),
1289 preserve_default=True,
1290 ),
1291 migrations.AddField(
1292 model_name='user',
1293 name='dashboards',
1294 field=models.ManyToManyField(to='core.DashboardView', through='core.UserDashboardView', blank=True),
1295 preserve_default=True,
1296 ),
1297 migrations.AddField(
1298 model_name='user',
1299 name='site',
1300 field=models.ForeignKey(related_name=b'users', to='core.Site', help_text=b'Site this user will be homed too', null=True),
1301 preserve_default=True,
1302 ),
1303 ]