Takahiro Suzuki | 2b66b94 | 2020-12-17 11:58:14 +0900 | [diff] [blame] | 1 | # Copyright 2017-present Open Networking Foundation |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | # -*- coding: utf-8 -*- |
| 16 | # Generated by Django 1.11.11 on 2020-11-21 07:39 |
| 17 | from __future__ import unicode_literals |
| 18 | |
| 19 | import core.models.xosbase_header |
| 20 | from django.db import migrations, models |
| 21 | import django.db.models.deletion |
| 22 | import django.utils.timezone |
| 23 | |
| 24 | |
| 25 | class Migration(migrations.Migration): |
| 26 | |
| 27 | dependencies = [ |
| 28 | ('ntt-workflow-driver', '0001_initial'), |
| 29 | ] |
| 30 | |
| 31 | operations = [ |
| 32 | |
| 33 | migrations.RemoveField( |
| 34 | model_name='nttworkflowdriverserviceinstance', |
| 35 | name='pppoe_state', |
| 36 | ), |
| 37 | migrations.RemoveField( |
| 38 | model_name='nttworkflowdriverserviceinstance', |
| 39 | name='pppoe_session_id', |
| 40 | ), |
| 41 | migrations.RemoveField( |
| 42 | model_name='nttworkflowdriverserviceinstance', |
| 43 | name='ipcp_state', |
| 44 | ), |
| 45 | migrations.RemoveField( |
| 46 | model_name='nttworkflowdriverserviceinstance', |
| 47 | name='ip_address', |
| 48 | ), |
| 49 | |
| 50 | migrations.CreateModel( |
| 51 | name='NttWorkflowDriverOltInformation', |
| 52 | fields=[ |
| 53 | ('serviceinstance_decl_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='core.ServiceInstance_decl')), |
| 54 | ('of_dpid', models.CharField(help_text=b'OLT MAC address', max_length=256)), |
| 55 | ('olt_location', models.CharField(blank=True, help_text=b'OLT location', max_length=254, null=True)), |
| 56 | ('olt_package', models.CharField(blank=True, help_text=b'Package', max_length=254, null=True)), |
| 57 | ('port_no', models.IntegerField(blank=True, help_text=b'Port number', null=True)), |
| 58 | ], |
| 59 | options={ |
| 60 | 'verbose_name': 'NttWorkflowDriver Olt Information', |
| 61 | }, |
| 62 | bases=('core.serviceinstance',), |
| 63 | ), |
| 64 | ] |