22 lines
		
	
	
	
		
			723 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			22 lines
		
	
	
	
		
			723 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| 
								 | 
							
								# Generated by Django 3.1 on 2020-10-11 19:20
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import django.core.validators
							 | 
						||
| 
								 | 
							
								from django.db import migrations, models
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class Migration(migrations.Migration):
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    dependencies = [
							 | 
						||
| 
								 | 
							
								        ('uncloud_net', '0006_auto_20200928_1858'),
							 | 
						||
| 
								 | 
							
								    ]
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    operations = [
							 | 
						||
| 
								 | 
							
								        migrations.CreateModel(
							 | 
						||
| 
								 | 
							
								            name='UncloudNetwork',
							 | 
						||
| 
								 | 
							
								            fields=[
							 | 
						||
| 
								 | 
							
								                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
							 | 
						||
| 
								 | 
							
								                ('network_address', models.GenericIPAddressField()),
							 | 
						||
| 
								 | 
							
								                ('network_mask', models.IntegerField(validators=[django.core.validators.MinValueValidator(0), django.core.validators.MaxValueValidator(128)])),
							 | 
						||
| 
								 | 
							
								            ],
							 | 
						||
| 
								 | 
							
								        ),
							 | 
						||
| 
								 | 
							
								    ]
							 |