1317 Commits

Author SHA1 Message Date
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
Zuul
3cf7bb9c4d Merge "Do not have to mention ssl_ca_cert in vim config file (server)" 2018-03-01 07:32:38 +00:00
Zuul
3835b3d28a Merge "Permission issue with heat." 2018-02-28 09:21:45 +00:00
Zuul
9ad393b0bc Merge "Support creating VNFFG with no flow-classifier" 2018-02-28 09:19:09 +00:00
Zuul
77c1fca01b Merge "Update VNFFGD Descriptor Template Guide criteria syntax sample" 2018-02-28 02:46:03 +00:00
Cong Phuoc Hoang
a11d9a194a Support creating VNFFG with no flow-classifier
According to SFC RFC standard, the chains should be decoupled
from classifiers.

In Networking-sfc the chains and classifiers are completely
decoupled. This patch lets user can do it by allow creating
VNFFG with no flow-classifier.

User can use "tosca-vnffgd-no-classifier-sample.yaml" to create
VNFFG with no flow-classifier. User also have the ability to
add flow-classifiers through updating VNFFG with
"tosca-vnffgd-sample.yaml" in vnffgd tosca templates folder.

This patch only support Forwarding path with type
"tosca.nodes.nfv.FP.TackerV2". Tacker also support altering the
direction of the traffic in forwarding path, update new
forwarding path, add, remove and update flow-classifers though
updating VNFFG.

For more information: https://review.openstack.org/#/c/531817

Change-Id: Ice2f0f03f7a90f4fefdee751283ff26b9c037d87
Closes-Bug: #1745818
2018-02-28 11:04:29 +09:00
Trinh Nguyen
8602f8657e Add dnsmasq and qos support for OpenWRT VNFM management driver
This also includes using a custom image that fixes the issue of
OpenWRT keeps respawning:

https://bugs.launchpad.net/tacker/+bug/1557008

And fixed by haint at https://review.openstack.org/#/c/543413/

Change-Id: I05430ead22bd6a89953b1f0df025a32b3cb43dcc
Implements: blueprint advanced-openwrt-driver
2018-02-27 17:23:15 +09:00
dharmendra
c6b758477c Permission issue with heat.
While deploying a vnf with autoscaling, heat translator failed with
premission denied error. This issue occured because [1] opening file
in root dir (i.e. '/'), due to which it giving permission denied.
Fixing it by setting current working dir as '/temp'

[1]: https://github.com/openstack/heat-translator/blob/master/translator/hot/tosca_translator.py#L69

Change-Id: Ib2b0fd6c4c32a523b9fb25f47eae19225b84439f
Closes-bug: #1749394
2018-02-26 13:04:23 +00:00
Zuul
20239c072a Merge "Modify OpenWRT image & rewrite deployment OpenWRT instruction" 2018-02-26 06:42:17 +00:00
Zuul
fb5e2c9f1a Merge "fix various typos in different messages" 2018-02-24 09:01:27 +00:00
Trinh Nguyen
5e8a0e8464 Update VNFFGD Descriptor Template Guide criteria syntax sample
Change-Id: Icbe9414612ad0efea8ae2ee17e0f403558e7d54b
2018-02-23 17:01:49 +09:00
Trinh Nguyen
e44ce6ed7f Do not have to mention ssl_ca_cert in vim config file (server)
This patch along with  another patch on the tacker client
will remove the need to mention ssl_ca_cert in the vim
configuration file.

Tacker client patch: https://review.openstack.org/546578

Change-Id: I362c40e8b2a606e3b28d368a95e74ee5ea306241
2018-02-22 15:12:27 +09:00
Zuul
ffc9a84d73 Merge "Imported Translations from Zanata" 2018-02-21 04:36:34 +00:00
Zuul
e1ca8a46d2 Merge "Update the README.rst" 2018-02-21 04:31:54 +00:00
Nguyen Hai
da9e0e4b9b Modify OpenWRT image & rewrite deployment OpenWRT instruction
This patch adds the customized OpenWRT image that enables DHCP making
the VNF can be ping. Therefore, the continuously respawning of VNF
can be fixed.

This patch also rewrites the instruction of deploying VNF
based on OpenWRT.

Change-Id: Ieb4d98fe374676bad101a6c2965354a9b19ea0a2
Closes-Bug: #1557008
Closes-Bug: #1749243
Closes-Bug: #1709557
2018-02-20 05:52:40 +00:00
Nguyen Hai
373fd16280 Update the README.rst
Change-Id: I69647afa58e593a013dae35b9e755c3883c07bc5
2018-02-19 15:20:05 +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
OpenStack Proposal Bot
ff86523ca1 Updated from global requirements
Change-Id: Ibfb6ff21fe10dbce4443e351d9e26fa4e6267d77
2018-02-16 02:57:08 +00:00
Frank Kloeker
666490bc78 fix various typos in different messages
due the hard string freeze fixed only in master branch

Change-Id: If5ef3e0290e081cca56903882ffc86d9b11d7806
2018-02-10 22:01:04 +01: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
81732ef07e Merge "Fix role name for OS::Nova::Flavor" 2018-02-07 05:29:09 +00:00
Zuul
ad46978efe Merge "Remove use of unsupported TEMPEST_SERVICES variable" 2018-02-07 05:29:07 +00:00
Zuul
d4330a57d8 Merge "Zuul: Remove project name" 2018-02-07 05:24:13 +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
7b1dd509d5 Merge "vim_drivers can't be read when service is started" 2018-02-06 02:55:08 +00:00
Li jiale
7181e9be43 vim_drivers can't be read when service is started
The reason is wrong in manual_installation.rst.
Written in manual_installation.rst is [nfvo], but wrote in the code is
[nfvo_vim].
The source code as follows:
tacker/nfvo/nfvo_plugin.py:79:    cfg.CONF.register_opts(OPTS,
'nfvo_vim')

Change-Id: I6d130e646ca82697f6a2bcc0ef886a16f16912a3
2018-02-06 08:52:23 +08:00
Zuul
014d3eb0f2 Merge "Implementation containerized VNF in Kubernetes type" 2018-02-05 14:57:00 +00:00
Li jiale
bbba9a764f the tacker service failed to start after tacker.conf was configured.
the detail reason is as follows:
ERROR configuration:
[database]
connection = mysql://tacker:<TACKERDB_PASSWORD>@<MYSQL_IP>:3306/tacker?charset=utf8
Correct configuration:
[database]
connection = mysql+pymysql://tacker:<TACKERDB_PASSWORD>@<MYSQL_IP>:3306/tacker?charset=utf8

Change-Id: If1360145754c3e9836666e17d924b8a261f9626b
2018-02-05 17:39:47 +08:00
Cong Phuoc Hoang
18ac452c38 Implementation containerized VNF in Kubernetes type
This spec proposes implementing containerized VNF. We choose
to use Kubernetes resources (ConfigMap, Deployment, Horizontal
Pod Autoscaler, Service, etc) to define a containerized VNF.

1. Add "configurable_properties" type in VDU node.
2. Support translate TOSCA to Kubernetes templates.
3. Add kubernetes infra driver to support CRUD containerized
VNF.
Implements: blueprint containerised-vnfs

Change-Id: I706f1f325ca8c2b33debd7e6a13e81535245a5ad
2018-02-02 16:43:46 +09:00
James E. Blair
ce691c4a94 Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: I9ea26512320eab0a154880b991910656a8651e87
2018-01-31 18:12:08 -08:00
dharmendra
073407ff27 save tenant_id in ACLMatchCriteria table
Because of null tenant_id, vnffg delete operation fails to delete
entry from ACLMatchCriteria.Hence delete attemp on parent table fails
with DBReferenceError.

Co-Authored-By: Dharmendra Kushwaha<dharmendra.kushwaha@nectechnologies.in>
Closes-Bug: 1658364
Change-Id: I699f66dfa2eab49dc5239e70973b68967f4d0142
2018-01-25 21:20:01 +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
ec92ad7234 Merge "Updated from global requirements" 2018-01-24 06:10:01 +00:00
Zuul
8fb6b27faa Merge "replace the class path uuid based stack names with vnf names" 2018-01-24 03:17:28 +00:00
OpenStack Proposal Bot
55b68fac5e Updated from global requirements
Change-Id: Icb9cffa9b0438208457fe754fbcb1141826c5844
2018-01-24 01:37:46 +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
ghanshyam
57c9603257 Remove use of unsupported TEMPEST_SERVICES variable
TEMPEST_SERVICES global variable is not supported
by devstack since long back.
- I380dd20e5ed716a0bdf92aa02c3730359b8136e4
- I9c24705e494689f09a885eb0a640efd50db33fcf

Service availability of tempest known services will be
set by devstack with local check.
- I02be777bf93143d946ccbb8e9eff637bfd1928d4

Tacker does not have tempest plugin so it does
not need to have service register in tempest.

This commit removes the commented TEMPEST_SERVICES
setting to avoid any confusion.

Change-Id: I7ea859ce373e5118ebf38bc1adcb6b6fec97f785
Related-Bug: #1743688
2018-01-23 16:30:58 +03: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
gongysh
06f8504eee Skip alarm functional test until heat-translator supports gnocchi aodh alarm
Change-Id: I22ef2d771736a3656e38d785582668b96fbf2ec6
Partial-bug: 1744528
2018-01-21 13:17:06 +08:00