1244 Commits

Author SHA1 Message Date
yong sheng gong
eee50859da Disable tls proxy until it is supported by tacker
Change-Id: Ia0ab646cd93f9e4487480eac74aff6edf1ebfe4d
Closes-bug: 1739342
2017-12-21 11:04:54 +08:00
Zuul
4cb1b76222 Merge "Add support symmetric parameter in VNFFG" 2017-12-16 02:19:10 +00:00
Zuul
6384d397fd Merge "Fix the deprecated usage of "get_transport"" 2017-12-13 11:27:01 +00:00
Cong Phuoc Hoang
a546f58868 Add support symmetric parameter in VNFFG
This patch address
1. Update Symmetric Port Chains by setting 'symmetric=True' as
'chain_parameters' key and value pair.
2. Remove 'symmetrical' in flow-classifier functions.
3. Update the doc and VNFFG samples

Change-Id: I04cfafd111b1024ad61b8f9ee48bfe0186a97d0d
Closes-Bug: #1736630
2017-12-13 16:23:42 +09:00
Zuul
9828498244 Merge "broken links" 2017-12-11 05:35:42 +00:00
Zuul
541fc0a5d2 Merge "Remove setting of version/release from releasenotes" 2017-12-08 13:07:31 +00:00
陶冶
ea07325369 broken links
Change-Id: Ia0bd66bdaed0ce6f684212bd6478cd87b685b2c5
2017-12-08 03:08:10 +00:00
OpenStack Proposal Bot
3ede5dea68 Updated from global requirements
Change-Id: Id45edaccc4b6e7c632eb9284fc9ba7efaf2c99f5
2017-12-07 13:50:22 +00:00
OpenStack Proposal Bot
0130062ab6 Updated from global requirements
Change-Id: I7f4c9fa827ae028bf8256f76ceb0a2a449d26c87
2017-12-06 12:00:19 +00:00
Zuul
75c0b71d97 Merge "Fix cloud-init error in Devstack" 2017-12-06 08:56:23 +00:00
Zuul
573fbd595b Merge "Fix 500 when creating already on-boarded VNF" 2017-12-06 04:36:52 +00:00
Cong Phuoc Hoang
eda624279f Fix cloud-init error in Devstack
In Devstack environment, cloud-init can not work correctly, because
instance can not access metadata over ther network.
1. This patch will fix cloud-init error, user can use 'user_data'
in vnfd template.
2. Update missing plugin in Tacker (mistral, ceilometer) and
user_data in vnfd template for testing VNFFG function.

Change-Id: Ic2037aaf3e947e941b43d1ae06e475a712398c09
Closes-Bug: #1736627
2017-12-06 12:15:40 +09:00
Guoqiang Ding
19c8f74915 Fix the deprecated usage of "get_transport"
As log says, 'oslo_messaging.transport.get_transport()' is deprecated.
The reference link of oslo_messaging is at [1].

[1] https://review.openstack.org/#/c/454194/

Change-Id: I919ba223c3687d553e937512fa649b8eb99c276e
2017-12-05 21:44:36 +08:00
Cong Phuoc Hoang
d6207c6dcd Support Kubernetes as VIM in Tacker
This patch add kubernetes_driver in vim nfvo and kubernetes_utils to support
CRUD Kubernetes cluster VIM (register, deregister, delete and update).

Partially Implements: blueprint kubernetes-as-vim

Change-Id: Ib1bf4d78ca4796c4e0297bca6fc7e9f004078242
2017-12-05 17:20:53 +09:00
Zuul
8620c28651 Merge "Remove unused exceptions" 2017-12-03 02:44:28 +00:00
Dinesh Bhor
909108fbca Remove unused exceptions
Some of the exceptions defined in exception.py module are not used
anywhere. Some of them were added at the initial import from neutron
in the commit: 8aff29509f1f6cfc73973b8da3e55ed559ae1112

This patch removes all such unused exceptions.

TrivialFix
Change-Id: I630960a5023e6ed776939d7c7d36a3d7d4b489e8
2017-12-01 09:37:31 +05:30
Zuul
c3bc582e79 Merge "Updated from global requirements" 2017-11-30 23:50:43 +00:00
Monty Taylor
9e635bc0c0
Remove use of tox-siblings role
Its functionality has been merged into the tox role, so is no longer
needed.

Depends-On: Id61ae52d48b28cfc2221cb556a1c1f7c6dfd60dd
Change-Id: Iec14ffd5d6bf7bd3faefd250b0cf2f1563ec3521
2017-11-29 15:41:16 -06:00
OpenStack Proposal Bot
4750092747 Updated from global requirements
Change-Id: I9b99326ebc5c6f43dd5fb15c57c5f95fd17bb7a0
2017-11-29 09:23:43 +00:00
Zuul
8c7ebfe40e Merge "Add vim_name param to vnf create command" 2017-11-29 04:50:27 +00:00
digambar
b722ac8529 Add vim_name param to vnf create command
Change-Id: Id71c7312de7c02d2d601f2e25d5fe3fe6e3ebf39
Closes-Bug: #1598257
2017-11-29 09:59:23 +05:30
James E. Blair
63517b8556 Zuul: add file extension to playbook path
Zuul now supports including the file extension on the playbook path
and omitting the extension is now deprecrated.  Update references
to include the extension.

Change-Id: Ida928be6977d433216751dbba94c6e3837daf6bc
2017-11-28 16:42:09 -08:00
Dinesh Bhor
3fbf7a9ae0 Fix 500 when creating already on-boarded VNF
If you on-board a VNF to tacker and try to on-board it again tacker
gives 500 InternalServerError. The response message user get is
correct but the response code returned is incorrect which is 500.

message returned:
"vnfd already exist with given ['tenant_id', 'name', 'deleted_at']"

The type of a TackerError returned is 'DuplicateEntity' which has
500 response code as it is derived from 'TackerException'.

This patch changes the response code from 500 to 409 as this case
is of HTTPConflict.

This affects to below mentioned API's:
* POST /v1.0/vnfds
* POST /v1.0/vnfs
* POST /v1.0/vims
* POST /v1.0/nsds
* POST /v1.0/nss

NOTE:
There are no existing unit test cases written for such API's.

Closes-Bug: #1734316
Change-Id: I7f63ab5f9612c2f32f0f11397ad0d6e3cee2f8d6
2017-11-28 09:00:39 +05:30
Zuul
cc03b5d952 Merge "Fix the bug of create a resource when use long name" 2017-11-24 02:52:04 +00:00
Zuul
940257c5f6 Merge "Fix the error of create VNF with very big name" 2017-11-24 02:52:03 +00:00
Zuul
3a4fe6d4ba Merge "Fix could not load modules when devstack installing" 2017-11-24 02:17:37 +00:00
Yan Xing'an
c772bedcac Fix could not load modules when devstack installing
These modules have no config OPTS, so we remove them:
tacker.tacker.policy_actions.log.log,
tacker.tacker.policy_actions.respawn.respawn,
tacker.tacker.policy_actions.autoscaling.autoscaling

Change-Id: I553449ad1ef4e0182531ecb0c19938630a977bd1
Closes-Bug: #1734031
2017-11-23 14:46:55 +08:00
lizhouzhou
2bb4201173 Fix the bug of create a resource when use long name
When use tacker create a resource like 'vnffgd-create, vnffg-create,
vnfd-create' .etc. with long name, the server will response a
"internal server error". So we set the NAME_MAX_LEN for resource
name in the "RESOURCE_ATTRIBUTE_MAP".

Change-Id: I3217dec158fdaba415e712f4e4a10468ad2f8ab5
closes-Bug: #1734010
2017-11-23 10:19:07 +08:00
lizhouzhou
c7f78ac943 Fix the error of create VNF with very big name
Create VNF with very big name, instead of giving proper message.
It is giving the internal server error. But the server should
return the length of name exceeds maximum length of 255.

Closes-Bug: #1716358

Change-Id: Id490e5389741625331f0ab6abc18f502cb8071aa
2017-11-22 16:43:12 +08:00
yong sheng gong
04442cc728 Remove tacker horizon from lib installation
Change-Id: I419cb744db8b3d468c81223aba0b1caaa362b1d4
Closes-bug: 1733768
2017-11-22 13:22:34 +08:00
Zuul
a3a1f313c8 Merge "[Bug-Fix] Add support for multiple classifiers per chain" 2017-11-20 19:45:52 +00:00
dharmendra
2df90d5d62 Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is
entirely due to the current convention of pulling in the version
information. Release notes should not need installation in order
to build, so this unnecessary version setting needs to be removed.
This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html .

Change-Id: I32dd5453b4d05e46cfd1cddfc5d2f885ce53da83
2017-11-17 06:30:57 +00:00
Zuul
17bf3d4afd Merge "Add supporting Kubernetes to devstack" 2017-11-15 04:37:03 +00:00
OpenStack Proposal Bot
f26ea4d78b Updated from global requirements
Change-Id: I388b8e980f07368842b68b3bda92dc04340c2825
2017-11-12 21:22:55 +00:00
Cong Phuoc Hoang
be9e41e11f Add supporting Kubernetes to devstack
This patch describes the way to install Kubernetes VIM via Devstack and
register Kubernetes VIM in Tacker.

Tacker reuses the efforts from Kuryr-Kubernetes project to create
Kubernetes cluster. This patch also sets up native Neutron-based networking
between Kubernetes and OpenStack VIMs to connect VM based and container based
VNFs together, that bring hybrid deployment SFC in the future.

Partially Implements: blueprint kubernetes-as-vim

Change-Id: Idf04f012c6daf93a33ad89a5a7c737f3668eb405
2017-11-11 00:52:00 +09:00
Dimitrios Markou
5a888e1b13 [Bug-Fix] Add support for multiple classifiers per chain
Closes-Bug: #1719839

Change-Id: I9884dc15584235b687c72a9f2cf9c180e9e1ce89
2017-11-08 09:58:18 +02:00
Zuul
40ab3be2e9 Merge "Move to zuul3 jobs" 2017-11-05 14:31:32 +00:00
yong sheng gong
9af2b71e07 Move to zuul3 jobs
https://docs.openstack.org/infra/manual/zuulv3.html#legacy-job-migration-details

Co-Authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
Co-Authored-By: yong sheng gong <gong.yongsheng@99cloud.net>

Closes-bug: #1729632
Change-Id: I2d1c4795b1a591831a12535d2f048a13258f4913
2017-11-04 22:09:42 +11:00
Zuul
58130b54b8 Merge "[Bug-Fix] Update VNFFG leaves db in error state" 2017-10-30 15:49:28 +00:00
Zuul
151e81693c Merge "[Bug Fix] Fix VNFFG update errors" 2017-10-30 15:41:25 +00:00
Zuul
caf389a6aa Merge "Document how to install and prepare OpenStack VIM" 2017-10-26 10:44:59 +00:00
Dimitrios Markou
43a019ea0c [Bug-Fix] Update VNFFG leaves db in error state
Currently in tacker there is no support for updating a chain or
a classifier. So if anyone was trying to update a chain through
the vnffg-update command of the tackerclient a NotImplementedError
was raising and that was leaving the whole tacker ecosystem in an error
state.

That was happening because some objects in the database was in an status
ERROR and some other in a status PENDING_UPDATE.

With this patch we are setting all the objects in the database in a
ERROR status therefore the user can delete the failed VNFFG without
erasing the whole tacker database.

Closes-Bug: #1724809

Change-Id: I2c399a33055ccce41be941eca0bee52508399fd7
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
2017-10-26 11:07:27 +03:00
Dimitrios Markou
f0f9590a46 [Bug Fix] Fix VNFFG update errors
Closes-Bug: #1724161

Change-Id: I21b7ff4eac691d997f5668ad8f877898857d163f
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
2017-10-26 11:07:10 +03:00
yong sheng gong
5476ffee3f Document how to install and prepare OpenStack VIM
Change-Id: I7a7a3646c2bc78bc644bcc921dd9b1f6101e0adf
implements: blueprint doc-how-to-install-openstack-vim
2017-10-25 10:48:59 +08:00
OpenStack Proposal Bot
cdea454c73 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ie2d7dad5d5f2eb5aa77054b34629c45baa2c91cf
2017-10-24 07:15:00 +00:00
Zuul
36fab0eceb Merge "Remove SCREEN_LOGDIR from devstack" 2017-10-17 07:00:31 +00:00
Jenkins
9ca9cf28ce Merge "Fix msgfmt validation error "not a valid conversion specifier"" 2017-10-13 07:14:09 +00:00
OpenStack Proposal Bot
781bc9cc91 Updated from global requirements
Change-Id: Ia848a7e484e3738bafd7abc7b84a15964368afdd
2017-10-12 22:06:03 +00:00
Frank Kloeker
58319fae9d Fix msgfmt validation error "not a valid conversion specifier"
Since Tacker is full translated in Spanish the import job failed due
msgfmt validation error. This patch fix this 2 fatal errors.

Change-Id: I8eed4196113502889f75ab2796226bd846dc3155
see: http://logs.openstack.org/periodic/tacker-propose-translation-update/5b78eaf/console.html
2017-10-09 11:59:29 +02:00
OpenStack Proposal Bot
f42f40dec4 Updated from global requirements
Change-Id: I6fe44e6d7fbf9aa4a5e96cc6ce72de3988b864fc
2017-10-06 19:03:42 +00:00