86 Commits

Author SHA1 Message Date
Nguyen Hai
d50bb9578d Fix create_vnffgd cannot get description from TOSCA file
- Fix create_vnffgd cannot get 'description' and 'name'
from TOSCA yaml file
- Delete redundant 'description' line in vnffgd template
file following the standard in vnffg_usage_guide.rst

Change-Id: I9c384678058c5e27239e9afc8cc2ae1de01ff750
Closes-Bug: #1751433
2018-04-10 21:30:40 +09:00
Zuul
6bea5c85f7 Merge "Add reusing feature when creating VNFFG." 2018-03-30 02:17:57 +00:00
Cong Phuoc Hoang
d07d5448d3 Add reusing feature when creating VNFFG.
Currently, when a VNFFG is created, Tacker also create port-pair,
port-pair-group, port-chain and flow-classifier. There are no
reusing ability in this approach.

This patch will check the port-id of a VNF is using in other VNFFG
or not. If it is used in a VNFFG, the existing port-pair-group will
be added to the new port-chain.

Therefore, we can create 2 VNFFGs that can go through one VNF.

This patch also clean up network resource such as port pair, port
pair group and flow classifier if there are failures.

Change-Id: I648693103dd7eab7a4b10cde89f11766a9232e8d
Closes-Bug: #1746721
2018-03-28 13:16:14 +00:00
Cong Phuoc Hoang
80eef8071a Add reno note for creating VNFFG without flow-classifier feature
related patch set:
https://review.openstack.org/#/c/551255

Change-Id: Ib10e71e5ecc7979d85f50ba4361851a3df7a9c87
2018-03-20 17:15:50 +09:00
Zuul
ebfeaf9e57 Merge "Check mgmt_driver in TOSCA template supported by VNFM" 2018-03-17 02:28:51 +00:00
Zuul
f9ee3996fb Merge "Add reno note for OpenWRT mgmt driver and customized OpenWRT image" 2018-03-17 01:30:19 +00:00
Nguyen Hai
360980a68b Check mgmt_driver in TOSCA template supported by VNFM
If the mgmt_driver is checked in the first place,
then there is no problem when the VNF is created.

Change-Id: I6a37cf93f4c7c2bbfab7ce68ea65a34f11407633
Closes-Bug: #1611228
2018-03-16 07:55:27 +00:00
OpenStack Proposal Bot
fa81885a25 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ie9b8be2654b04fc9569540853137d5630d2ecc6b
2018-03-16 06:58:49 +00:00
Zuul
c1a1b479af Merge "Change the unusable link in Gerrit Dashboards" 2018-03-16 00:20:54 +00:00
Nguyen Hai
aa5523a35c Add reno note for OpenWRT mgmt driver and customized OpenWRT image
Related patch sets:
https://review.openstack.org/#/c/543413
https://review.openstack.org/#/c/540310

Change-Id: I03bbed7f5614cf696475b3818497d2b1de86a3f3
2018-03-14 22:44:06 +09:00
Trinh Nguyen
fd3ca9072e Organize tacker documentation and fix doc-mirgation
Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com>
Change-Id: Ie378a531250e88d5d3ef305cdc37fa457a1ec7cb
Closes-bug: #1706189
2018-03-13 15:18:34 +09:00
Nguyen Hai
8b701b6af7 Change the unusable link in Gerrit Dashboards
Change-Id: Ia8ef774a5b3a58d7cf7310d26d62583e6721363a
Closes-Bug: #1754603
2018-03-09 18:51:46 +09:00
OpenStack Proposal Bot
24130d8aab Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I2c46f1d6a6ee191f54de0fa795cd0e5e059ae94b
2018-02-17 06:40:07 +00:00
1df345f8dc Update reno for stable/queens
Change-Id: I9ff450c255941e1c97357afdb25e3c919a0f315d
2018-02-09 07:04:04 +00:00
Zuul
3b404d8dac Merge "Implement update VNFFG functionality" 2018-02-07 13:29:15 +00:00
Dimitrios Markou
452f95fe0c Implement update VNFFG functionality
Until now there was no implementation of updating an existing
VNFFG with the use of the 'vnffgd-template' parameter which is
introduced in the Tacker client side. This patch addresses exactly
that.

Implements: blueprint update-vnffg

Change-Id: I8fa748a76fd479649be5dd7a19244f7143849687
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
2018-02-07 10:23:25 +02:00
Zuul
3e314b8c05 Merge "Imported Translations from Zanata" 2018-02-07 05:41:23 +00:00
Zuul
497c60b1e7 Merge "Add document and release note for containerised vnf feature" 2018-02-07 03:52:53 +00:00
Cong Phuoc Hoang
a3c42d29f8 Add document and release note for containerised vnf feature
1. Add user usage guide doc/source/user/containerized_vnf_usage_guide.rst
2. Add release note

Change-Id: Ic762ff2c6025fa122071395289fc576dbb0532eb
2018-02-06 20:37:10 +09:00
OpenStack Proposal Bot
31af684569 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I166794121e59c17eeac0f58a18cdb0fa31be9425
2018-02-06 06:48:16 +00:00
Zuul
afce4f054c Merge "Add names to classifiers in the vnffgd template" 2018-01-25 06:49:11 +00:00
Zuul
b270343568 Merge "Implement the vnf-mapping update functionality" 2018-01-25 06:37:19 +00:00
Zuul
d5aab7d4ac Merge "Update the ns's description processing in ns_db.NSPluginDb.create_ns()." 2018-01-24 06:43:59 +00:00
Zuul
8fb6b27faa Merge "replace the class path uuid based stack names with vnf names" 2018-01-24 03:17:28 +00:00
Dimitrios Markou
994d4e51c9 Add names to classifiers in the vnffgd template
The functinality of naming the classifiers which are
created through a vnffgd template is essential so the user
can identify somehow the classifiers that he created for a chain.

In addition to that the classifiers' names would be an important
tool in subsequent patches where we will use them to update the ACL
of an existing classifier though the vnffgd template. We are going to
use the name to identify which classifier's ACL the user wants to
update.

Change-Id: Ia586061c578a99662d49ad284d1ff313c350e1f3
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
2018-01-23 15:51:58 +02:00
Dimitrios Markou
0a52d6fb4a Implement the vnf-mapping update functionality
Although tacker client side supports the update of the VNFs which
are currently used in an existing VNFFG this functionality is not
implemented at the Tacker server side.

Through this patch we are trying to address exactly that problem.
Also this patch is the first step for the implementation of this:

Implements: blueprint update-vnffg

Change-Id: I147e9f8a52f3e307767cd855492eb9bb5867cf29
Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
2018-01-23 15:50:02 +02:00
jiangxing
eeb5c52052 Update the ns's description processing in ns_db.NSPluginDb.create_ns().
Co-Authored-By: Dharmendra Kushwaha<dharmendra.kushwaha@nectechnologies.in>
Closes-Bug: #1709226
Change-Id: I240ffcce13737bc62e0a6f42b713c484102823d4
2018-01-23 11:24:30 +00:00
dharmendra
c71ca9a01e replace the class path uuid based stack names with vnf names
Tacker uses the class path+file name+uuid as stack names to
uniquely identify the stacks for vnf create and vnf respawn workflow.
Tacker now mandates VNF names to be provided in API layer and will be
made unique. It is useful to base stack names based on vnf names for
debugging purposes. This affects the naming of nova instances as well.

Change-Id: If043ad8c6c356f3fa1d2f5648d3d861ff5006602
Closes-Bug: #1590215
2018-01-23 08:35:01 +00:00
OpenStack Proposal Bot
46640dcca4 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I41c0635e1bcbf16a078af27d83a331e68184bc89
2018-01-22 07:04:08 +00:00
dharmendra kushwaha
6333914336 Restrict VNF deletion, if part of Active NS
VNF should not be allowed to delete separately,
if part of an active NS.

Change-Id: I3421a311c7a8dcc6c9c4eec2265c6384370c0972
Closes-Bug: #1691363
2018-01-22 04:35:18 +00:00
Zuul
80b08ee08f Merge "Zabbix Plugin for Application Monitoring in Tacker VNF Manager" 2018-01-03 07:16:48 +00:00
yong sheng gong
b5a128bb80 Add reno note for symmetric bug fix
Change-Id: I64f96dba22277e404c6afa93b4795c8e558572f8
Closes-bug: 1739343
2017-12-21 17:46:32 +08:00
MinWookKim
6932dfede2 Zabbix Plugin for Application Monitoring in Tacker VNF Manager
Develop a Zabbix plugin in Tacker VNF manager to monitor application level
parameters that can't be supported by current Tacker monitoring driver

Change-Id: I25e871b8e8ddfb49a1f3f22e78c1ea8ba9835d74
Implements: blueprint zabbix-plugin
2017-12-21 04:53:45 +00:00
Zuul
541fc0a5d2 Merge "Remove setting of version/release from releasenotes" 2017-12-08 13:07:31 +00:00
Zuul
573fbd595b Merge "Fix 500 when creating already on-boarded VNF" 2017-12-06 04:36:52 +00: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
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
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
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
Jenkins
dd0953b56e Merge "Update reno for stable/pike" 2017-09-04 10:24:53 +00:00
OpenStack Proposal Bot
802f753d23 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I98abe6c1705211ac335bec69954a640927c38183
2017-08-24 09:05:31 +00:00
ee0fe47cea Update reno for stable/pike
Change-Id: Ibb656a1a4349934603bd4c426a4978881caa4816
2017-08-23 16:07:16 +00:00
Bharath Thiruveedula
57c4847071 Implement Block Storage Support - Part 1
This patch adds support to attach volumes to VDU.
This patch does not deal with boot from volume case.

Change-Id: I4bee80610eaa4e2ec8a1ccb2a5d36fb723a09806
Implements: persistent-block-storage
2017-08-20 11:48:59 +05:30
Jenkins
9677abff15 Merge "Update the documentation link for doc migration" 2017-08-08 01:18:29 +00:00
Hangdong Zhang
81ef082047 Update the documentation link for doc migration
Change-Id: I99e2e1872d30bf592233d60e381a017175fab4f1
2017-07-25 14:28:37 +08:00
Saju Madhavan
52bdf321c4 Assign floating IP to the vdu
Assign floating IP to the vdu using TOSCA template

Change-Id: I53a89397c1ef676f1a21bc1378c91aece65a3d91
Closes-Bug: 1537636
2017-07-24 12:57:58 +05:30
Cong Phuoc Hoang
d62364cbff Update creating directly VNFFG and NS from descriptor template.
Currently, Tacker only support creating VNFFG and NS from VNFFG descriptor
and NS descriptor. This patch will support creating directy VNFFG and NS
from template file without initiating VNFFG and NS descriptors before.

Change-Id: I4e8ec8405a291300aa6749cf814ad582786c285d
Closes-bug: #1681032
2017-07-19 21:57:45 -07:00
Jenkins
979060388e Merge "Switch from oslosphinx to openstackdocstheme" 2017-07-05 03:20:32 +00:00
Van Hung Pham
e0a0782a80 Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.

[0]https://review.openstack.org/#/c/472275/

Change-Id: Idf8ddcb0c76c4d211881e6ccb1bef82efffdbb70
2017-06-30 18:36:51 +07:00
Yan Xing'an
07428d4985 Support to use barbican to encode vim password
1. Add new option 'use_barbican' in config file [vim_keys] section,
   default value is False for Pike.
2. Use fernet to encrypt vim password, and save the fernet key into
   barbican as a secret.
3. Add new fields 'key_type', 'secret_uuid' into VimAuth.auth_cred
   json string. secret_uuid is masked in vim-show or vim-list response.
4. Set the vim's default 'shared' value to False,
   vim can only be used by who created it.
5. Add a devref to show how to test.
6. Add a release note.

Implements: blueprint encryption-with-barbican
Partial-bug: #1667652

Change-Id: I5c779041df5a08a361b9aaefac7d241369732551
2017-06-26 07:23:10 -07:00