Browse Source
At present the VNF mgmt IP address is assigned to parameter name of "mgmt_url". In this patch it is changed to "mgmt_ip_address" which will be relevant one Co-Authored-By: Dharmendra Kushwaha <dharmendra.kushwaha@india.nec.com> Change-Id: I621b71d4af96a4bfa0f27442efe4d302c5afa96d Partial-Bug: #1648327changes/71/490471/10
49 changed files with 231 additions and 167 deletions
@ -1 +1 @@
|
||||
13ecc2dd6f7f |
||||
cd04a8335c18 |
@ -0,0 +1,38 @@
|
||||
# Copyright 2019 OpenStack Foundation |
||||
# |
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may |
||||
# not use this file except in compliance with the License. You may obtain |
||||
# a copy of the License at |
||||
# |
||||
# http://www.apache.org/licenses/LICENSE-2.0 |
||||
# |
||||
# Unless required by applicable law or agreed to in writing, software |
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
||||
# License for the specific language governing permissions and limitations |
||||
# under the License. |
||||
# |
||||
|
||||
"""mgmt_url to mgmt_ip_address |
||||
|
||||
Revision ID: cd04a8335c18 |
||||
Revises: 13ecc2dd6f7f |
||||
Create Date: 2019-01-25 13:43:10.499421 |
||||
|
||||
""" |
||||
|
||||
# revision identifiers, used by Alembic. |
||||
revision = 'cd04a8335c18' |
||||
down_revision = '13ecc2dd6f7f' |
||||
|
||||
from alembic import op |
||||
import sqlalchemy as sa |
||||
|
||||
|
||||
def upgrade(active_plugins=None, options=None): |
||||
op.alter_column('ns', |
||||
'mgmt_urls', new_column_name='mgmt_ip_addresses', |
||||
existing_type=sa.TEXT(65535), nullable=True) |
||||
op.alter_column('vnf', |
||||
'mgmt_url', new_column_name='mgmt_ip_address', |
||||
existing_type=sa.String(255), nullable=True) |