Commit Graph

78 Commits

Author SHA1 Message Date
Cong Phuoc Hoang
c981d65451 Fix issue in 'post_process_heat_template' function
If users specify parameters in 'flavor' or 'image' properties
of a VDU, HOT template can not be processed properly because
there is a missmatch between TOSCA and HOT template.

This patch will change 'get_input' to 'get_param' to fix that
issue.

Change-Id: I353e9d9d70dc6249a62dcdd1281b7b60d28d7d30
Closes-Bug: #1813135
Depends-On: Ib95ed31c70073cb732d41defe5bdc8027eadfeec
2019-03-26 11:13:43 +00:00
Zuul
476cef245e Merge "Add support SFC encapsulation from networking-sfc" 2019-03-18 05:32:58 +00:00
dharmendra
d82541e50a Add template for vdu-autoheal in sample dir.
vdu-autoheal template is missing in sample dir. Adding it here
for user references.
Change-Id: I78a941e2ad1a8ce378dbb8aa36e98f1462ab602b
2019-03-13 05:42:07 +00:00
nirajsingh
2595cc112f Add reservation support
Added reservation policy support.
With reservation policy user can use the reserved resources
by blazar to create VNF.

Depends-On:I2b989a49ac3447995a82ddb7193bf478bb847b73
Implements: blueprint reservation-vnfm
Change-Id: Ia6a87894ba219c045140e8e65e03f87509bbdb6d
2019-02-28 06:19:29 +00:00
venkatamahesh
5a1e4a1ccb Parameter changed from mgmt_url to mgmt_ip_address
At present the VNF mgmt IP address is assigned to parameter name
of "mgmt_url". In this patch it is changed to "mgmt_ip_address"
which will be relevant one

Co-Authored-By: Dharmendra Kushwaha <dharmendra.kushwaha@india.nec.com>

Change-Id: I621b71d4af96a4bfa0f27442efe4d302c5afa96d
Partial-Bug: #1648327
2019-01-31 10:08:17 +00:00
Cong Phuoc Hoang
0e7fffbc77 Add support SFC encapsulation from networking-sfc
This feature allows choosing SFC encapsulation between MPLS
and NSH (default MPLS). It also apply SFC proxy to make use
of correlation.

Change-Id: Ia5eda02df415c9e3f6f035068176d60a14ffb68f
2019-01-28 17:16:33 +09:00
Cong Phuoc Hoang
f860185f56 Modify image name to cirros-0.4.0-x86_64-disk
Change-Id: I770c78180032b3da473f26e64151b799cf800ee3
2019-01-07 21:07:05 +09:00
Kim Bao Long
9a7ce4f83c Update Keystone auth_url in vim_config.yaml
Currently, keystone_authtoken.auth_url is working at
`http://127.0.0.1/identity`, not `http://127.0.0.1:5000` as shown in
sample vim_config.yaml. So this patch aims to update the outdated
auth_url in vim_config.yaml file

Change-Id: I9e66ab5cd365c7bc70c80974fa891fc2e6ddd96f
2018-10-30 05:14:02 +00:00
Cong Phuoc Hoang
df8be52ac7 Add 'symmetrical' as property of a forwarding path
When Network Service (NS) is supported in Tacker, we can launch
multiple VNFFGs by initiating NS. Because each VNFFG can have
different 'symmetrical' value, we should support dynamic 'symmetrical'
parameter for each VNFFG in VNFFG descriptor.

This feature will add 'symmetrical' as a property of forwarding path,
so users can set 'symmetrical' value to 'true' or 'false' to change
symmetrical value of a port chain in networking-sfc.

Change-Id: Ie9a6abe96141954e95902cd426abafa10d744236
2018-08-06 11:09:03 +00:00
hoangphuocbk
0da9469017 Move usage from deprecated Ceilometer API to Gnocchi API
This removes usage of deprecated Ceilometer API

1. Changing trigger type from "OS::Ceilometer::Alarm"
to "OS::Aodh::GnocchiAggregationByResourcesAlarm"
2. Add "resource_type" fixed with value "instance"
3. Change some paramters (meter_name-> metric,
statistic ->aggregation_method, period-> granularity)
4. Change value from "average" to "mean" in method to
compare to the threshold

Change-Id: I486c14cbc9d05a0e826bbef1ad181bdcb2d8c951
Closes-Bug: #1735484
2018-07-27 02:01:02 +00:00
Zuul
7a0efa8007 Merge "Add placement policies support" 2018-07-26 12:26:40 +00:00
dineshbhor
f47bf1ba32 Add placement policies support
- This patch aims to add support for following placement policies in
  addition to the default 'affinity' policy:
    anti-affinity
    soft-affinity
    soft-anti-affinity

- This patch adds respective functional/unit test cases. To test
  "anti-affinity" policy on the gate, changed the devstack functional
  jobs `nodeset` from the default single node to "openstack-two-node".

- This patch also adds respective documentation and usage guide for
  the above added policies.

Depends-On: I56a9cf4bb553c8026eec73212a3742d5eab17420
Co-Author: tpatil <tushar.vitthal.patil@gmail.com>
Implements: blueprint vdu-affinity-policy
Change-Id: I18aaa9d00c8539ccc60cb6e70570dee124df70a3
2018-07-26 13:24:34 +09:00
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