66 Commits

Author SHA1 Message Date
Nguyen Hai
f16ac7c79f Update cirros to 0.4.0
Change-Id: Ie4ff403f803a16ca53c91c7d10d71ec80fbe1a9b
2018-07-25 01:42:48 +00:00
dharmendra
c99fa62a9e Add functional test for ns-vnffg
Change-Id: Ie669da571a605a7635fd490475aeef80b75c9b2c
Partially-implements: blueprint vnffg-ns
2018-07-23 02:24:31 +00:00
Trinh Nguyen
422055b9ba Implement VNFFG support for NS
This patch will add VNFFG support for NS. In NSD, users can
describe VNFDs and nested VNFFGDs inside. When NS is created,
VNFs and VNFFGs are also created too.

Work items of this patch:
1. Add sample nsd templates
2. Update NFVO plugin to adapt VNFFGD template extraction
    from NSD and create VNFFGs using that template
3. Modify Mistral workflow to create/delete VNFFGs using NSD

User guide, defref will be added in following patches.

Co-Authored-By: Cong Phuoc Hoang <hoangphuocbk2.07@gmail.com>

Change-Id: Id5827e66aec0231bf27e87fc96d8fc6bc5cb9c26
Partially-implements: blueprint vnffg-ns
2018-07-19 02:53:34 +00:00
Nguyen Hai
e095f9c486 Change vendor name in repo to Tacker
Change-Id: I2999e1ed0225b24a366dc6160a6bb9edb1a828d3
2018-06-14 04:49:17 +00:00
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
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
Zuul
9ad393b0bc Merge "Support creating VNFFG with no flow-classifier" 2018-02-28 09:19:09 +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
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
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
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
Manuel Buil
e1f3d8285c Check if certificates must be verified in the vim
This patch tries to fix the bug: https://bugs.launchpad.net/tacker/+bug/1719841

To disable the verification, a parameter must be included in vim_config.yaml
file.
cert_verify: 'False'

Co-Authored-By: Cong Phuoc Hoang <hoangphuocbk2.07@gmail.com>
Closes-Bug: #1719841

Change-Id: If9c8eab81bad2028ae146598d559831bc51cbbf5
Signed-off-by: Manuel Buil <mbuil@suse.com>
2018-01-14 01:19:57 +09: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
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
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
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
193da1a3c8 Merge "Add a basic NSD sample without input parameters" 2017-08-23 02:48:56 +00:00
Yan Xing'an
97aca2c3b1 Add a basic NSD sample without input parameters
Change-Id: I038a07e23e24eaa6a22988a064a75e18a401492f
2017-08-20 22:28:11 +08: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
doantungbk
af7d3d7cb1 Refactor scaling and monitoring policies in Tacker
1. scaling and monitoring policy nodes got failed

From tosca-parser 0.8.0, tosca nodes required to be validated.
Unfortunately, the scaling and monitoring policies are not fully
leveraged tosca-parser. This patch will fix this issue.

2. Multiple alarm actions support

Closes-bug: #1682098

Change-Id: I29cb35edfe2447628fa93c64583e5cb4f7bee2f8
2017-08-11 07:39:52 -07: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
Jenkins
21c7d6e69b Merge "support config network in openwrt mgmt_driver" 2017-05-24 04:47:50 +00:00
Yan Xing'an
3b1bcfa2d5 support config network in openwrt mgmt_driver
Support config network in openwrt mgmt_driver, and add a sample

Change-Id: Iac71e40711ede3d3c48dca09a5f6b1cdd7824699
Closes-Bug: #1687972
2017-05-23 06:57:37 -07:00
Yan Xing'an
9bbad6dc26 Correct number_of_endpoints number in vnffgd samples.
Add a function to validate vnffg property number_of_endpoints
Add some UT testcases for this function.

Change-Id: I5180c551f5d6571491c80a9f4bbcb3c74c3c5572
2017-05-17 23:17:31 -07:00
yong sheng gong
8166b1a8a5 move the left cirros 3.4 into 3.5 disk image
Change-Id: Iac12c44e9bc83d96b81d642a9eaa044415759914
Closes-Bug: #1671982
2017-03-26 12:31:26 +08:00
Jenkins
9988724969 Merge "Update cirros image to 0.3.5 disk image in sample files" 2017-03-22 00:29:50 +00:00
Aqsa
bfda511b05 Update cirros image to 0.3.5 disk image in sample files
The patch updates the version of cirros image to the latest
0.3.5 disk image in all the sample files.

Change-Id: I400c7ac9d9fd9d295c6996b2935d0a1e0095fa77
Closes-Bug: #1671982
2017-03-21 12:58:41 +00:00
Jenkins
685d44d946 Merge "Fix monitoring issue for multiple VDUs" 2017-03-21 10:50:27 +00:00
doantungbk
73384e4db3 Fix monitoring issue for multiple VDUs
Tacker failed to support monitoring for multiple VDUs.
In addtiion, multi-vdu testing have not been mentioned in unit test.
This patch will fixed the above issues.

Change-Id: Ib4497a530439110bf149f1104c74ba4bdc96ba0a
Closes-bug: #1668587
2017-03-19 07:07:38 -07:00
futangw
e1bc853b72 Add allowed_address_pairs support in tacker CP
Currently the tacker connection point (CP) support Virtural IP only if
the security group is off (via anti_spoofing_protection off).
But it's good to have both by supporting allowed_address_pairs.
This RFE is for this purpose.

Closes-Bug: #1664805
Change-Id: I9fa1d4b69f8cbf51b047110cd6cfa61fb91a0bf0
2017-03-12 18:18:19 -04:00
Jenkins
4349df4ece Merge "Implement VNFC support" 2017-02-10 06:53:57 +00:00
Bharath Thiruveedula
ccb79934ec Implement VNFC support
Change-Id: Ib3be5c8c19b17bac4add76c0210c1ec7af3d99ac
implements-blueprint: vnf-components-support
Co-Authored-By: Manikantha Srinivas Tadi <manikantha.tadi@gmail.com>
2017-02-10 07:48:25 +05:30
Jenkins
5283dfc3bf Merge "Sample tosca templates for nsd" 2017-02-09 00:53:31 +00:00
dharmendra
a04b2d935e Sample tosca templates for nsd
Adding sample tosca nsd template sample vnfds

Change-Id: I984ae93328ffc5d9ab097899bcbbcd66360c9ec7
2017-02-08 13:28:00 +00:00
venkatamahesh
c4eacd0d44 Support parameter input for vnffg template
Change-Id: Ied3dfaa3f9b2a4bc3be43cd349d6d47f760cdd3b
Depends-On: I93819ff19ae91ca5e24778e220d3d09b63532ddf
Implements: blueprint vnffgd-param-support
2017-02-04 16:17:45 +05:30
dharmendra
eedd840236 Remove support for legacy VNFD templates.
From Mitaka version, Tacker supports TOSCA based VNFD templates. Legacy
templates described under tacker/samples/legacy-templates are deprecated
in newton. Removing in Ocata.

Implements: blueprint deprecate-legacy-template-dsl
Closes-Bug: #1632214
Change-Id: I39f200bb536f4c5d10c920fc1c93bf8f382ca6c2
2017-01-05 14:23:53 +05:30
doantungbk
0eafa5b1bf RFE alarm monitor: Fix hardcoded metadata,add func. test
This patch will focus on:
1. Fixing hardcoded metadata
2. Adding functional test for alarm monitor
3. Refactoring tosca template for alarm monitor
4. Refactoring scaling in/out support in alarm monitor
5. Supporting multi-trigger

Partial-bug: #1630614
Change-Id: Ic5d0046d0dc0b4381713bda01c485cecae17abea
2016-12-28 02:14:08 -08:00
gong yong sheng
739208fc47 Add mac_address into CP's properties.
Change-Id: Ic13b2e022ed06e24ad45785f0c6e241a18b68bb3
Partial-bug: 1641799
2016-12-13 10:11:20 +08:00
venkatamahesh
51484c5422 Modify the document of vnfd template parameterization
Change-Id: I1c39e9a13ef92f5966686acc4060bcf7b4642f74
Closes-Bug: #1644769
2016-12-06 06:47:51 +05:30
Jenkins
2c182a6ae9 Merge "Fix resource type miss in vnfd scale template" 2016-11-14 23:27:20 +00:00
gong yong sheng
41f209f457 Change network into net_mgmt
This patch will make the tosca template useful in tacker
installed by devstack directly.

Change-Id: Ifece7eff6c1aa4f189d51306a28f5706f9702748
Closes-bug: #1639163
2016-11-08 13:06:36 +08:00
xu-haiwei
6ccea5f268 Fix resource type miss in vnfd scale template
For vnf scaling, the policy type which is defined in
tacker_def.yaml is 'tosca.policies.tacker.Scaling'.
So all the scaling policy should use this type.
Currently there are some typos when using this policy type.

Change-Id: I8f60c1712007756bb8b6650e053e0d7069f0f9ba
Closes-Bug: #1637895
2016-11-07 23:29:41 +00:00
Jenkins
3baa7b34ee Merge "VNFFG: neutron networking-sfc driver and plugin fixes" 2016-09-26 18:22:57 +00:00
Stephen Wong
6f71a86167 VNFFG: neutron networking-sfc driver and plugin fixes
Implements: blueprint tacker-vnffg

This patch implements the networking-sfc driver for VNFFG SFC driver
and necessary plugin side changes.

Change-Id: I531db5c65d7ed3b1adeeb30606e067aa600a957c
Signed-off-by: Tim Rozet <trozet@redhat.com>
Co-Authored-By: Sridhar Ramaswamy <srics.r@gmail.com>
2016-09-24 00:19:29 -07:00
Sripriya
43b2201b92 update vnf monitor to use vim type
This patch is the final in the series of deriving infra driver
from vim type. update has been made to monitor code to retrieve
infra_driver from vim information.

Change-Id: I4438f9b22cbe3286d191a2fd96e7e4590625d1cc
Closes-Bug: #1618724
2016-09-22 18:49:32 -07:00
doantungbk
2d8baa76bd Implement Alarm monitor
Add definition of alarm monitor in VNFD TOSCA template definition,
support it in VNFM plugin. It can integrate with scaling feature.

An WSGI filter is used to receive ceilometer action URL call and
translate the call into inner action, such as scalling.

The configuration group alarm_auth in tacker.conf is used as the
credentials for ceilometer action URL call. they must have 'admin'
role to query all related stuff for the action.

Implements blueprint: #alarm-based-monitoring-driver

Co-Authored-By: dharmendra kushwaha <dharmendra.kushwaha@nectechnologies.in>
Co-Authored-By: gong yong sheng <gong.yongsheng@99cloud.net>
Change-Id: I7f1dbae361a5dfb97a86e8532bfd09813ce535e2
2016-09-22 15:31:47 +09:00
Jenkins
e180409e8e Merge "Provide support for security groups for ConnectionPoints" 2016-09-15 04:42:54 +00:00
Tin Lam
043c147690 Provide support for security groups for ConnectionPoints
Add option for providing security groups in ConnectionPoint
node_type of TOSCA VNF templates.

Co-Authored-By: Sridhar Ramaswamy <srics.r@gmail.com>

Change-Id: I5fabaa8a33d684a591364510ed6d3df93989c419
Closes-Bug: #1591372
2016-09-14 10:32:52 -05:00
Jenkins
8afd457096 Merge "Allow vdu (VM) names to be specified as a parameter" 2016-09-13 16:02:03 +00:00