Commit Graph

13 Commits

Author SHA1 Message Date
Boden R e6f56d6489 use vlantransparent api def from neutron-lib
The vlantransparent extension's API definition was rehomed into
neutron-lib with commit I78c3e0c0b74dd154b6133963dfc8b65f9527bd2c
This patch consumes it by removing the rehomed code from neutron-lib
and using neutron-lib's implementation.

In addition this patch makes the disable_extension_by_config private.
No consumers are using it today and if necessary they can implement
it in their own project to propose a shared version to lib.

NeutronLibImpact

Change-Id: Ibfaa1ebf24caec62f5743975b206400fcd30436d
2018-02-20 07:43:03 +00:00
Inessa Vasilevskaya 7322bd6efb Make code follow log translation guideline
Since Pike log messages should not be translated.
This patch removes calls to i18n _LC, _LI, _LE, _LW from
logging logic throughout the code. Translators definition
from neutron._i18n is removed as well.
This patch also removes log translation verification from
ignore directive in tox.ini.

Change-Id: If9aa76fcf121c0e61a7c08088006c5873faee56e
2017-08-14 02:01:48 +00:00
Henry Gessau dfe738a83f Use ExtensionDescriptor from neutron-lib
Adopt the class rehomed in https://review.openstack.org/389825

This change impacts subprojects that use ExtensionDescriptor from
neutron core. All subprojects should switch to using the class
directly from neutron-lib.

NeutronLibImpact

Change-Id: I0da90fb9d27a0a2008b60e56ed69bc9b9ae63c3e
2016-12-02 14:16:06 -05:00
Henry Gessau 78fff41ee3 Use converters and validators from neutron-lib
Related-Blueprint: neutron-lib

Change-Id: I6b9079e9e703c6fd75adbed3846e7257685433e8
2016-04-24 19:13:10 -04:00
Henry Gessau 4148a347b3 Use constants from neutron-lib
With this we enable the deprecation warnings by default.

Related-Blueprint: neutron-lib

Change-Id: I5b9e53751dd164010e5bbeb15f534ac0fe2a5105
2016-04-23 21:23:56 -04:00
Henry Gessau ae5bad49cc Use exceptions from neutron-lib
Related-Blueprint: neutron-lib

Change-Id: Ia014468bd621c4ee6aea95bf19328c61070174c4
2016-04-21 21:29:44 -04:00
Akihiro Motoki 2d8632e412 Use _ from neutron._i18n
Partial-Bug: #1520094
Change-Id: I874a4aa1d71d1f7034a1ff0b7450b419ef5c6864
2015-12-06 19:39:04 +09:00
Doug Wiegley dd726ed494 Move i18n to _i18n, as per oslo_i18n guidelines
- This does NOT break other projects that rely on neutron.i18n,
  as this change includes a debtcollector shim to maintain those
  older entry points, until they can migrate.
- Also updates _i18n.py to the latest pattern defined by oslo_i18n
- Guidance and template are from the reference:
  http://docs.openstack.org/developer/oslo.i18n/usage.html

Partially-Closes-Bug: #1519493
Change-Id: I1aa3a5fd837d9156da4643a367013c869ed8bf9d
2015-12-01 19:29:10 -07:00
Gary Kotton 330cbc995f Remove transparent VLAN support from base plugin
The transparent VLAN is an extension. This code was bundled part
of the base plugin.
Commit 809e434d2d has a todo to remove
the code from the base plugin.

Change-Id: Id5fd68e2b0e6396dc411697e14670f7236dc78d4
2015-11-28 06:07:23 -08:00
Jenkins 9d9684a1ab Merge "Remove get_namespace from API extensions" 2015-06-24 14:54:12 +00:00
Sean M. Collins ad1c7a35de Remove get_namespace from API extensions
Based on the conversation on the ML.

http://lists.openstack.org/pipermail/openstack-dev/2015-June/066219.html

APIImpact
DocImpact

Closes-Bug: #1464023
Depends-On: 6f900fc429bf24cb31e0d2f149aa732055fd5956
Change-Id: I3c406910991c33cf959c5345d76153eabe3ace2d
2015-06-15 09:17:32 -04:00
Sean M. Collins 87fecfcc50 Make Vlantransparent extension inherit from ExtensionDescriptor
Change-Id: Ic615578a1fe1d401b53d0b44ff5275d9518b97fd
2015-06-10 10:29:33 -04:00
Pritesh Kothari 809e434d2d Moving VLAN Transparency support from core to extension
* Moving VLAN Transparency support from core to extension
* Remove the older unit tests and add new corresponding ones

DocImpact
Closes-Bug: #1434667

Change-Id: Ic551475ed7b64aad9627a57abb0df41acc19bfc1
2015-04-08 08:35:13 -07:00