Re: [openstack-dev] [Neutron] How to add vendor specific db tables in neutron

2015-08-27 Thread Ihar Hrachyshka
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 08/27/2015 12:05 PM, bharath wrote:
> Hi,
> 
> Liberty code freeze is September 1st. But i have to add a vendor 
> specific table for liberty release . As Vendor specific alembic 
> support in neutron is  seems to be still under progress. Can i 
> simply add tables names in external.py under alembic_migration
> and push it upstream and implement actual tables later in vendor
> repo?
> 

I suppose I miss something, but which limitation in alembic subproject
migrations support have you hit?

Ihar
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJV3uvAAAoJEC5aWaUY1u572QgIAJt9V27RJWHNeFDua/mXVWYG
GFSIZ1kr331+YpB9aR7V2nLtW07eYZqfbDa/m7GfPyU/SntNbZeHAor9k6c9ZdOF
7EVHSIKH5C72n7+lagL1cEX/tNNlEKFhslIkQOnNuhcoXlH7Oqydb64VS8ApHx3T
RUbm1jeQ6DZQK001Nilvs3DJ/aeV/eDI/P2MIgrcvtULh/I+nw1nENc6S+8QfJcT
/2ccXfF/i2vw7NEi2T/2bEt5N2dae8ir7npY2N/QW+vD/1tCTLQuLY7bM/kbxC3j
AwtcMkANUSzz2y+YPRxwB+ZmX83wLZQVg3rkto/Gzi97au5Jpb4/bVR8Vi8U+ag=
=2kIL
-END PGP SIGNATURE-

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Neutron] How to add vendor specific db tables in neutron

2015-08-27 Thread Anna Kamyshnikova
In external.py are stored names of table that was already created in
Neutron, but then there models were moved to vendor repos. So adding new
names in external.py won't help you.

On Thu, Aug 27, 2015 at 1:05 PM, bharath  wrote:

> Hi,
>
> Liberty code freeze is September 1st. But i have to add a vendor
> specific table for liberty release . As Vendor specific alembic
> support in neutron is  seems to be still under progress. Can i
> simply add tables names in external.py under alembic_migration  and
> push it upstream and implement actual tables later in vendor repo?
>
> Thanks, bharath
>
>
>
>
> On Thursday 27 August 2015 03:06 PM, Ihar Hrachyshka wrote:
>
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA256
>>
>> On 08/27/2015 10:36 AM, bharath wrote:
>>
>>> Hi ,
>>>
>>>
>>> I need to add a vendor specific db tables in neutron but vendor
>>> specific are no more allowed in the neutron. Tables need to be
>>> added to vendor repo itself. So i created alembic versioning in
>>> vendor repo. and added new tables under vendor repo. But i am not
>>> seeing tables getting created while stacking the devstack.
>>>
>>> So how to trigger the tables creation in vendor repo?
>>>
>>> http://docs.openstack.org/developer/neutron/devref/alembic_migrations.ht
>> ml#indepedent-sub-project-tables
>>
>> Ihar
>> -BEGIN PGP SIGNATURE-
>> Version: GnuPG v2
>>
>> iQEcBAEBCAAGBQJV3tohAAoJEC5aWaUY1u57H+kH/jLD1bkLrwRoOVCi+rmonV+g
>> fuU15mritbUWag3dyg64GRMjGQ/aRFoP5D9HjATkSAa0wb7H5UlbAGfsE2PqHtrR
>> MOJ9l7ldJ1tAb5JS8Pti60uE0zEqv4dBEF2SmoXxRw88kN1WvUaiBtovBuIsfxwB
>> pm+3MIZH8AEBnBYIwnsTdU59lMPJgDKdfCU8WlgpewM5rxrtBAHANkrr+wCHYH2l
>> BfUgY+3mu+k4vKzravmgf29dDw8kzc68qXb+Z8IfyWbqadSoc8PhVke5DBf4utAw
>> tzqHGUpIHHBPUq0zLM6wwJsIJLAX33glJ00Sl8JeIMjh8RN/qZASZWOi+1CI9hc=
>> =zne4
>> -END PGP SIGNATURE-
>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
Regards,
Ann Kamyshnikova
Mirantis, Inc
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Neutron] How to add vendor specific db tables in neutron

2015-08-27 Thread bharath

Hi,

Liberty code freeze is September 1st. But i have to add a vendor
specific table for liberty release . As Vendor specific alembic
support in neutron is  seems to be still under progress. Can i
simply add tables names in external.py under alembic_migration  and
push it upstream and implement actual tables later in vendor repo?

Thanks, bharath



On Thursday 27 August 2015 03:06 PM, Ihar Hrachyshka wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 08/27/2015 10:36 AM, bharath wrote:

Hi ,


I need to add a vendor specific db tables in neutron but vendor
specific are no more allowed in the neutron. Tables need to be
added to vendor repo itself. So i created alembic versioning in
vendor repo. and added new tables under vendor repo. But i am not
seeing tables getting created while stacking the devstack.

So how to trigger the tables creation in vendor repo?


http://docs.openstack.org/developer/neutron/devref/alembic_migrations.ht
ml#indepedent-sub-project-tables

Ihar
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJV3tohAAoJEC5aWaUY1u57H+kH/jLD1bkLrwRoOVCi+rmonV+g
fuU15mritbUWag3dyg64GRMjGQ/aRFoP5D9HjATkSAa0wb7H5UlbAGfsE2PqHtrR
MOJ9l7ldJ1tAb5JS8Pti60uE0zEqv4dBEF2SmoXxRw88kN1WvUaiBtovBuIsfxwB
pm+3MIZH8AEBnBYIwnsTdU59lMPJgDKdfCU8WlgpewM5rxrtBAHANkrr+wCHYH2l
BfUgY+3mu+k4vKzravmgf29dDw8kzc68qXb+Z8IfyWbqadSoc8PhVke5DBf4utAw
tzqHGUpIHHBPUq0zLM6wwJsIJLAX33glJ00Sl8JeIMjh8RN/qZASZWOi+1CI9hc=
=zne4
-END PGP SIGNATURE-

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Neutron] How to add vendor specific db tables in neutron

2015-08-27 Thread Anna Kamyshnikova
Hi!

Probably in your vendor repo is missing change that will allow
neutron-db-manage to find the alembic migrations

automatically if this project is installed. See examples of such
changes in networking-cisco [1] and vmware-nsx [2].


[1] - https://review.openstack.org/214403

[2] - https://review.openstack.org/214413


On Thu, Aug 27, 2015 at 11:36 AM, bharath  wrote:

> Hi ,
>
>
> I need to add a vendor specific db tables in neutron but vendor specific
> are no more allowed in the neutron. Tables need to be added to vendor
> repo itself.
> So i created alembic versioning in vendor repo. and added new tables
> under vendor repo.
> But i am not seeing tables getting created while stacking the devstack.
>
> So how to trigger the tables creation in vendor repo?
>
>
> Thanks,
> bharath
>
>
>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
Regards,
Ann Kamyshnikova
Mirantis, Inc
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Neutron] How to add vendor specific db tables in neutron

2015-08-27 Thread Ihar Hrachyshka
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 08/27/2015 10:36 AM, bharath wrote:
> Hi ,
> 
> 
> I need to add a vendor specific db tables in neutron but vendor
> specific are no more allowed in the neutron. Tables need to be
> added to vendor repo itself. So i created alembic versioning in
> vendor repo. and added new tables under vendor repo. But i am not
> seeing tables getting created while stacking the devstack.
> 
> So how to trigger the tables creation in vendor repo?
> 

http://docs.openstack.org/developer/neutron/devref/alembic_migrations.ht
ml#indepedent-sub-project-tables

Ihar
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJV3tohAAoJEC5aWaUY1u57H+kH/jLD1bkLrwRoOVCi+rmonV+g
fuU15mritbUWag3dyg64GRMjGQ/aRFoP5D9HjATkSAa0wb7H5UlbAGfsE2PqHtrR
MOJ9l7ldJ1tAb5JS8Pti60uE0zEqv4dBEF2SmoXxRw88kN1WvUaiBtovBuIsfxwB
pm+3MIZH8AEBnBYIwnsTdU59lMPJgDKdfCU8WlgpewM5rxrtBAHANkrr+wCHYH2l
BfUgY+3mu+k4vKzravmgf29dDw8kzc68qXb+Z8IfyWbqadSoc8PhVke5DBf4utAw
tzqHGUpIHHBPUq0zLM6wwJsIJLAX33glJ00Sl8JeIMjh8RN/qZASZWOi+1CI9hc=
=zne4
-END PGP SIGNATURE-

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Neutron] How to add vendor specific db tables in neutron

2015-08-27 Thread bharath

Hi ,


I need to add a vendor specific db tables in neutron but vendor specific
are no more allowed in the neutron. Tables need to be added to vendor
repo itself.
So i created alembic versioning in vendor repo. and added new tables
under vendor repo.
But i am not seeing tables getting created while stacking the devstack.

So how to trigger the tables creation in vendor repo?


Thanks,
bharath




__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev