20 Commits

Author SHA1 Message Date
Jenkins
7ccf18786b Merge "Remove unused logging import" 2017-03-22 02:50:44 +00:00
Gary Kotton
8aa394e0fe Fix breakage due to neutron-lib update
Commit a6a344c7b57d0b234fd67c6e05b8ae9cd9f9f219 breaks TaaS

Change-Id: I3af0b591084d455f0ee7daed8c7c10ea242e8acc
2017-03-19 03:28:11 -07:00
Anh Tran
6c14f9435d Remove unused logging import
Change-Id: I487739a2ad65b8bffa18ac967e462b6ef7f9f90c
2017-02-20 13:59:58 +07:00
Reedip
42ab70a525 Use ExtensionDescriptor from neutron-lib
Now that ExtensionDescriptor is in neutron-lib[0], use it
to for neutron_lib migration in TaaS.

[0] https://review.openstack.org/389825
Partially-implements: blueprint neutron-lib
Change-Id: I8db2bdc72e43eeb4befd48d9d3b1895bc7d899bc
Depends-On: I5a111e0033e518e39b3042f047ee9eebba77a0d5
2016-12-03 00:04:37 -05:00
Henry Gessau
40457ed50f Remove PLURALS
PLURALS is being removed from neutron core.
See https://review.openstack.org/398489

Change-Id: I188e64e3f7c23c1272a9260b2b4ef4dc5a03d93d
2016-11-25 14:59:31 -05:00
Jenkins
675af77205 Merge "Add status field in the TaaS API" 2016-09-23 18:29:46 +00:00
Kazuhiro Suzuki
752fb029fa Add status field in the TaaS API
In the current implementation, when the TaaS API (tap-service,
tap-flow) call completes, the status of result is returned. [1]
In order to adopt an asynchronous model, the 'status' field is
needed in the API.
The following code adds the status field in the API.
In the first step, the status is set to 'ACTIVE' by default.

[1]: http://lists.openstack.org/pipermail/openstack-dev/2016-March/090088.html

Depends-On: Ie6b3811e41a94721679c9178cdd5119bdad8208d
Change-Id: Ib8e4ad15e5b4272ac7f8800f72d7f2c003db798e
2016-09-23 19:03:31 +09:00
Jenkins
46bab61b06 Merge "Switch to internal _i18n pattern, as per oslo_i18n guidelines" 2016-09-23 08:10:07 +00:00
Abhishek Raut
5068617c49 Use neutron-lib modules for neutron_taas
Use model_base and exceptions from neutron-lib to remove
DeprecationWarning.

Change-Id: Idcc40332909bf24c46c926e7337070ebbc59bde4
2016-09-21 23:17:39 +00:00
Abhishek Raut
7e61def38f Switch to internal _i18n pattern, as per oslo_i18n guidelines
Guidelines referenced from:
http://docs.openstack.org/developer/oslo.i18n/usage.html

Change-Id: Ie0984a1fc53d423e541d5dd59ce34f807c8f4513
2016-09-11 04:10:50 -07:00
Jenkins
f00073c55a Merge "Make get_plugin_type classmethod" 2016-06-30 07:59:28 +00:00
YAMAMOTO Takashi
4d94a59934 Make get_plugin_type classmethod
Following the recent Neutron change. [1]

[1] Ia3a1237a5e07169ebc9378b1cd4188085e20d71c

Closes-Bug: #1590117
Change-Id: Id9796ef3ab05dd81d0846ddb8cb3f161a4fed627
2016-06-10 11:26:17 +09:00
Reedip
adb8548d69 Provide support for tap-*-update
Currently tap-*-update is not possible, though the
API documentation states that Update of Name/Description
is possible. This patch adds the functionality.

Change-Id: Ia32136ce80a4e8f4234d00491730dc725d7c7b7b
Closes-Bug: #1540754
2016-06-02 13:33:15 +05:30
Yoichiro Iura
0f0e3ceead Fix validation of direction on TapFlow
This patch fixes the validation of direction.
 * change API validator from type:string to type:values
 * remove None from direction_enum because of NOT NULL constraint

Change-Id: Iae4f13451002db7567425ae33d1c36bd2013ae75
Closes-Bug: #1585445
2016-05-25 06:09:01 +00:00
YAMAMOTO Takashi
d7c5b3c5e0 Remove network-id from tap-service
Currently it's unused.  Thus no good reason to force users to
specify it.

It can be re-introduced when/if we decide automatic port creation
is desirable.  For db models, a boolean to say if the port has been
automatically created might be more appropriate, though.

Change-Id: Ia183635c183fd4ad731fd1ee48c58f6b10f06c5b
2016-06-17 16:38:28 +09:00
reedip
ab4daff32a Improve exception messages
This patch improves some exception messages.

TrivialFix

Depends-On: I1b97fe8541c1c1325aaad739a30e5989c1fd806a
Change-Id: I71d107bed3685e4c7ac9a4fbae7172941f1e10e3
2016-04-04 06:04:26 +00:00
reedip
5727ad19df Fix API end point for tapservice/tapflow
Due to the difference of API Endpoint and Resource Body,
NeutronClient could not succesfully create the tap-services
( and consecutively, tapflow).
The following code change modifies the API end point, and fixes
the problem with NeutronClient.

Change-Id: I9fa21bb273ef8a5c6fabece0a29673839cf8e945
Closes-Bug: #1539130
2016-04-04 06:03:34 +00:00
YAMAMOTO Takashi
76cf9e1a90 Move constants.TAAS to our local module for now
It's now simple as ALLOWED_SERVICES and COMMON_PREFIXES have gone.

Partial-Bug: #1501793
Change-Id: I15a3804db47d635260f92370ba4489ef0d0e2194
2015-10-20 02:31:28 +09:00
vnyyad
699d9ad6bc Changing all oslo.config to oslo_config
Change-Id: I9f12b8bb623924be695d9ba7d5bbd107ff21ae8f
2015-07-24 23:55:08 +02:00
vnyyad
44838a6d0a This is the initial commit of TaaS sources code.
Change-Id: Id6f0ffaa03bcbe82dd1b910c7bee5b55dfa25a42
2015-07-24 18:44:29 +02:00