blob: aeccec25aaec32740e5d7c2a1222ede133344267 [file] [log] [blame]
Matteo Scandolo915c7b82019-05-09 16:26:12 -07001# 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.20 on 2019-05-20 22:14
17from __future__ import unicode_literals
18
19from django.db import migrations, models
20import django.db.models.deletion
21
22
23class Migration(migrations.Migration):
24
25 dependencies = [
26 ('volt', '0007_auto_20190515_1428'),
27 ]
28
29 operations = [
30 migrations.CreateModel(
31 name='ANIPort_decl',
32 fields=[
33 ('portbase_decl_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='volt.PortBase_decl')),
34 ('onu_device', models.ForeignKey(help_text=b'ONUDevice that owns this ANIPort', on_delete=django.db.models.deletion.CASCADE, related_name='ani_ports', to='volt.ONUDevice_decl')),
35 ],
36 options={
37 'verbose_name': 'ANI Port',
38 },
39 bases=('volt.portbase_decl',),
40 ),
41 migrations.RemoveField(
42 model_name='pononuport_decl',
43 name='onu_device',
44 ),
45 migrations.RemoveField(
46 model_name='pononuport_decl',
47 name='portbase_decl_ptr',
48 ),
49 migrations.DeleteModel(
50 name='PONONUPort',
51 ),
52 migrations.DeleteModel(
53 name='PONONUPort_decl',
54 ),
55 migrations.CreateModel(
56 name='ANIPort',
57 fields=[
58 ],
59 options={
60 'proxy': True,
61 'indexes': [],
62 },
63 bases=('volt.aniport_decl',),
64 ),
65 ]