1327 Commits

Author SHA1 Message Date
Nguyen Hai
4cddc815c2 Update the Devstack Tacker install guide & local.conf.example
This patch updates the install instruction of Tacker in Devstack
with two modes, i.e., all-in-one mode and standalone mode.
It also removes some redundant configurations in local.conf.example
which already had in the Devstack settings.

Change-Id: I6d8d1bbe54b1a382fcbf83a1aef1fa389c43c1fc
2018-03-16 08:23:31 +00:00
Zuul
355c5b0842 Merge "Fix heat translator bug due to nested_resource_name" 2018-03-16 07:05:53 +00:00
Zuul
c2091e4c20 Merge "Update to new neutron SFC client v2 commands" 2018-03-16 04:00:30 +00:00
Zuul
c1a1b479af Merge "Change the unusable link in Gerrit Dashboards" 2018-03-16 00:20:54 +00:00
Trinh Nguyen
47df1d6a2e Fix heat translator bug due to nested_resource_name
This patch fix these:

- If nested_resource_name is 'SP1_res.yaml' it will create
a loop in heat translator and vnf creation will fail. This
is a bug of heat translator and this patch is to bypass
the loop hole by using a different name than 'SP1_res.yaml'.
- Incorrect syntax:
...
translate_to_yaml_files_dict() takes exactly 2 arguments (3 given)
...

Co-Authored-By: Cong Phuoc Hoang <hoangphuocbk2.07@gmail.com>
Co-Authored-By: yong sheng gong <gong.yongsheng@99cloud.net>
Co-Authored-By: Trinh Nguyen <dangtrinhnt@gmail.com>

Change-Id: I60dc0a6d443598264c29fde8a3959d4bd7fba904
Closes-bug: #1753645
2018-03-16 07:49:32 +08:00
gongysh
fb50684adc Remove old style ssl setting
devstack is using apache as a ssl proxy for wsgi api service.
Current tacker does not support it. We remove it for the time being

This patch also skip scale unit tests which failed due to
heat translator change. The unit test will be enabled at
another patch.

Change-Id: If767d05a0241888663f0ff21282cebfd256efb49
Closes-bug: 1755664
2018-03-16 00:07:50 +08:00
Zuul
d9e142e03e Merge "Organize tacker documentation and fix doc-mirgation" 2018-03-13 13:38:56 +00: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
Nguyen Hai
c7d813bb8b Fix typo in deploy openwrt doc
Change-Id: I69fee3f1ce5d456cf0d0e960e4d1f1339e854b32
2018-03-03 15:34:08 +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
Cong Phuoc Hoang
33393fcd2b Update to new neutron SFC client v2 commands
This patch changes neutron client commands such as:
create_flow_classifier --> create_sfc_flow_classifier
update_flow_classifier --> update_sfc_flow_classifier
delete_flow_classifier --> delete_sfc_flow_classifier

create_port_pair --> create_sfc_port_pair
delete_port_pair --> delete_sfc_port_pair

create_port_pair_group --> create_sfc_port_pair_group
show_port_pair_group --> show_sfc_port_pair_group
delete_port_pair_group --> delete_sfc_port_pair_group

create_port_chain --> create_sfc_port_chain
update_port_chain --> update_sfc_port_chain
show_port_chain --> show_sfc_port_chain
delete_port_chain --> delete_sfc_port_chain
Change-Id: Ib45cc2ef13693210e64c211a16511e9ed2cf9ea4
2018-02-01 01:36:26 +00: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