Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [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.20 on 2019-04-10 04:26 |
| 17 | from __future__ import unicode_literals |
| 18 | |
| 19 | from django.db import migrations, models |
| 20 | |
| 21 | |
| 22 | class Migration(migrations.Migration): |
| 23 | |
| 24 | dependencies = [ |
| 25 | ('volt', '0004_oltdevice_decl_link_status'), |
| 26 | ] |
| 27 | |
| 28 | operations = [ |
| 29 | migrations.AlterField( |
| 30 | model_name='oltdevice_decl', |
| 31 | name='admin_state', |
| 32 | field=models.CharField(blank=True, choices=[(b'DISABLED', b'DISABLED'), (b'ENABLED', b'ENABLED')], default=b'ENABLED', help_text=b'admin state, whether OLT should be enabled', max_length=32, null=True), |
| 33 | ), |
| 34 | migrations.AlterField( |
| 35 | model_name='oltdevice_decl', |
| 36 | name='device_id', |
| 37 | field=models.CharField(blank=True, help_text=b'Voltha Device ID', max_length=256, null=True), |
| 38 | ), |
| 39 | migrations.AlterField( |
| 40 | model_name='oltdevice_decl', |
| 41 | name='device_type', |
| 42 | field=models.CharField(default=b'openolt', help_text=b'Phyiscal Device Type', max_length=256), |
| 43 | ), |
| 44 | migrations.AlterField( |
| 45 | model_name='oltdevice_decl', |
| 46 | name='dp_id', |
| 47 | field=models.CharField(blank=True, help_text=b'Logical device datapath id', max_length=256, null=True), |
| 48 | ), |
| 49 | migrations.AlterField( |
| 50 | model_name='oltdevice_decl', |
| 51 | name='driver', |
| 52 | field=models.CharField(default=b'voltha', help_text=b'DEPRECATED', max_length=32), |
| 53 | ), |
| 54 | migrations.AlterField( |
| 55 | model_name='oltdevice_decl', |
| 56 | name='host', |
| 57 | field=models.CharField(blank=True, help_text=b'IP Address of physical OLT Device', max_length=256, null=True), |
| 58 | ), |
| 59 | migrations.AlterField( |
| 60 | model_name='oltdevice_decl', |
| 61 | name='link_status', |
| 62 | field=models.CharField(blank=True, choices=[(b'up', b'up'), (b'down', b'down')], help_text=b'connectivity status, whether OLT has connectivity to agg switch', max_length=32, null=True), |
| 63 | ), |
| 64 | migrations.AlterField( |
| 65 | model_name='oltdevice_decl', |
| 66 | name='mac_address', |
| 67 | field=models.CharField(blank=True, help_text=b'MAC address of physical OLT Device', max_length=17, null=True), |
| 68 | ), |
| 69 | migrations.AlterField( |
| 70 | model_name='oltdevice_decl', |
| 71 | name='name', |
| 72 | field=models.CharField(blank=True, help_text=b'Human-readable name of device', max_length=256, null=True, unique=True), |
| 73 | ), |
| 74 | migrations.AlterField( |
| 75 | model_name='oltdevice_decl', |
| 76 | name='nas_id', |
| 77 | field=models.CharField(blank=True, help_text=b'Authentication ID (propagated to the free-radius server via sadis)', max_length=256, null=True), |
| 78 | ), |
| 79 | migrations.AlterField( |
| 80 | model_name='oltdevice_decl', |
| 81 | name='of_id', |
| 82 | field=models.CharField(blank=True, help_text=b'Logical device openflow id', max_length=256, null=True), |
| 83 | ), |
| 84 | migrations.AlterField( |
| 85 | model_name='oltdevice_decl', |
| 86 | name='oper_status', |
| 87 | field=models.CharField(blank=True, help_text=b'operational status, whether OLT is active', max_length=256, null=True), |
| 88 | ), |
| 89 | migrations.AlterField( |
| 90 | model_name='oltdevice_decl', |
| 91 | name='outer_tpid', |
| 92 | field=models.CharField(blank=True, help_text=b'Outer VLAN id field EtherType', max_length=256, null=True), |
| 93 | ), |
| 94 | migrations.AlterField( |
| 95 | model_name='oltdevice_decl', |
| 96 | name='serial_number', |
| 97 | field=models.CharField(blank=True, help_text=b'Serial Number', max_length=256, null=True), |
| 98 | ), |
| 99 | migrations.AlterField( |
| 100 | model_name='oltdevice_decl', |
| 101 | name='switch_datapath_id', |
| 102 | field=models.CharField(blank=True, help_text=b'Fabric switch to which the OLT is connected', max_length=256, null=True), |
| 103 | ), |
| 104 | migrations.AlterField( |
| 105 | model_name='oltdevice_decl', |
| 106 | name='switch_port', |
| 107 | field=models.CharField(blank=True, help_text=b'Fabric port to which the OLT is connected', max_length=256, null=True), |
| 108 | ), |
| 109 | migrations.AlterField( |
| 110 | model_name='oltdevice_decl', |
| 111 | name='uplink', |
| 112 | field=models.CharField(help_text=b'uplink port, exposed via sadis', max_length=256), |
| 113 | ), |
| 114 | migrations.AlterField( |
| 115 | model_name='onudevice_decl', |
| 116 | name='admin_state', |
| 117 | field=models.CharField(blank=True, choices=[(b'DISABLED', b'DISABLED'), (b'ENABLED', b'ENABLED')], default=b'ENABLED', help_text=b'admin state, whether port should be enabled', max_length=32, null=True), |
| 118 | ), |
| 119 | migrations.AlterField( |
| 120 | model_name='onudevice_decl', |
| 121 | name='connect_status', |
| 122 | field=models.CharField(blank=True, help_text=b'operational status, whether port is active', max_length=32, null=True), |
| 123 | ), |
| 124 | migrations.AlterField( |
| 125 | model_name='onudevice_decl', |
| 126 | name='device_id', |
| 127 | field=models.CharField(blank=True, help_text=b'Voltha Device ID', max_length=256, null=True), |
| 128 | ), |
| 129 | migrations.AlterField( |
| 130 | model_name='onudevice_decl', |
| 131 | name='device_type', |
| 132 | field=models.CharField(default=b'asfvolt16_olt', help_text=b'Device Type', max_length=256), |
| 133 | ), |
| 134 | migrations.AlterField( |
| 135 | model_name='onudevice_decl', |
| 136 | name='oper_status', |
| 137 | field=models.CharField(blank=True, help_text=b'oper_status', max_length=32, null=True), |
| 138 | ), |
| 139 | migrations.AlterField( |
| 140 | model_name='onudevice_decl', |
| 141 | name='serial_number', |
| 142 | field=models.CharField(help_text=b'Serial number of ONU Device', max_length=256, unique=True), |
| 143 | ), |
| 144 | migrations.AlterField( |
| 145 | model_name='onudevice_decl', |
| 146 | name='vendor', |
| 147 | field=models.CharField(help_text=b'Vendor of ONU Device', max_length=256), |
| 148 | ), |
| 149 | migrations.AlterField( |
| 150 | model_name='portbase_decl', |
| 151 | name='admin_state', |
| 152 | field=models.CharField(blank=True, help_text=b'admin state, whether port should be enabled', max_length=32, null=True), |
| 153 | ), |
| 154 | migrations.AlterField( |
| 155 | model_name='portbase_decl', |
| 156 | name='name', |
| 157 | field=models.CharField(db_index=True, help_text=b'Human-readable name of port', max_length=256), |
| 158 | ), |
| 159 | migrations.AlterField( |
| 160 | model_name='portbase_decl', |
| 161 | name='oper_status', |
| 162 | field=models.CharField(blank=True, help_text=b'operational status, whether port is active', max_length=32, null=True), |
| 163 | ), |
| 164 | migrations.AlterField( |
| 165 | model_name='voltservice_decl', |
| 166 | name='onos_voltha_pass', |
| 167 | field=models.CharField(default=b'rocks', help_text=b'The ONOS Voltha password. By default rocks', max_length=256), |
| 168 | ), |
| 169 | migrations.AlterField( |
| 170 | model_name='voltservice_decl', |
| 171 | name='onos_voltha_url', |
| 172 | field=models.CharField(default=b'onos-voltha-ui.voltha.svc.cluster.local', help_text=b'The ONOS Voltha address. By default onos-voltha-ui.voltha.svc.cluster.local', max_length=256), |
| 173 | ), |
| 174 | migrations.AlterField( |
| 175 | model_name='voltservice_decl', |
| 176 | name='onos_voltha_user', |
| 177 | field=models.CharField(default=b'onos', help_text=b'The ONOS Voltha username. By default sdn', max_length=256), |
| 178 | ), |
| 179 | migrations.AlterField( |
| 180 | model_name='voltservice_decl', |
| 181 | name='voltha_pass', |
| 182 | field=models.CharField(default=b'admin', help_text=b'The Voltha password. By default admin', max_length=256), |
| 183 | ), |
| 184 | migrations.AlterField( |
| 185 | model_name='voltservice_decl', |
| 186 | name='voltha_url', |
| 187 | field=models.CharField(default=b'voltha.voltha.svc.cluster.local', help_text=b'The Voltha API address. By default voltha.voltha.svc.cluster.local', max_length=256), |
| 188 | ), |
| 189 | migrations.AlterField( |
| 190 | model_name='voltservice_decl', |
| 191 | name='voltha_user', |
| 192 | field=models.CharField(default=b'voltha', help_text=b'The Voltha username. By default voltha', max_length=256), |
| 193 | ), |
| 194 | migrations.AlterField( |
| 195 | model_name='voltserviceinstance_decl', |
| 196 | name='description', |
| 197 | field=models.TextField(blank=True, help_text=b'Human-readable description', null=True), |
| 198 | ), |
| 199 | ] |