Scott Baker | f2e0cfc | 2014-11-17 16:03:49 -0800 | [diff] [blame] | 1 | # -*- coding: utf-8 -*- |
| 2 | from __future__ import unicode_literals |
| 3 | |
| 4 | from django.db import models, migrations |
| 5 | |
| 6 | |
| 7 | class Migration(migrations.Migration): |
| 8 | |
| 9 | dependencies = [ |
Scott Baker | 508e5a0 | 2014-11-17 17:01:33 -0800 | [diff] [blame] | 10 | ('core', '0007_network_ports'), |
Scott Baker | f2e0cfc | 2014-11-17 16:03:49 -0800 | [diff] [blame] | 11 | ] |
| 12 | |
| 13 | operations = [ |
| 14 | migrations.AddField( |
| 15 | model_name='network', |
| 16 | name='controllerParameters', |
| 17 | field=models.TextField(null=True, blank=True), |
| 18 | preserve_default=True, |
| 19 | ), |
| 20 | migrations.AddField( |
| 21 | model_name='network', |
| 22 | name='topologyParameters', |
| 23 | field=models.TextField(null=True, blank=True), |
| 24 | preserve_default=True, |
| 25 | ), |
| 26 | migrations.AddField( |
| 27 | model_name='networktemplate', |
| 28 | name='controllerKind', |
| 29 | field=models.CharField(default=None, max_length=30, null=True, blank=True, choices=[(None, b'None'), (b'onos', b'ONOS'), (b'custom', b'Custom')]), |
| 30 | preserve_default=True, |
| 31 | ), |
| 32 | migrations.AddField( |
| 33 | model_name='networktemplate', |
| 34 | name='topologyKind', |
| 35 | field=models.CharField(default=b'BigSwitch', max_length=30, choices=[(b'bigswitch', b'BigSwitch'), (b'physical', b'Physical'), (b'custom', b'Custom')]), |
| 36 | preserve_default=True, |
| 37 | ), |
Scott Baker | 7b6722e | 2014-11-17 16:18:00 -0800 | [diff] [blame] | 38 | migrations.AddField( |
| 39 | model_name='network', |
| 40 | name='controllerUrl', |
| 41 | field=models.CharField(max_length=1024, null=True, blank=True), |
| 42 | preserve_default=True, |
| 43 | ), |
Scott Baker | f2e0cfc | 2014-11-17 16:03:49 -0800 | [diff] [blame] | 44 | ] |