30 Commits

Author SHA1 Message Date
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
Sridhar Ramaswamy
cf7f677fc7 Introduce TOSCA 'order' property for connection points
This is a follow-on to [1] which uses dictionary for VNFD
template and no longer relies on OrderedDict to preserve
the order of the node_types in the VNFD template. Instead
we are going to insist the templates to explicit mention
the order of the CP.

[1] https://review.openstack.org/#/c/360809

Change-Id: Iaf7389305cfea90f158da0eaaa19afe86869541b
Closes-Bug: #1591361
2016-09-13 06:12:49 +00:00
dharmendra
c7c0dc9bc4 Allow vdu (VM) names to be specified as a parameter
Adding support to accept name property in the VDU TOSCA node type
which will be passed to Heat to create the VM with this specific name.

Closes-bug: 1570557
Change-Id: Iac0ae4397edcc5398cf8c1fdede709c6e903cceb
2016-09-13 03:56:25 +00:00
Jenkins
33fc3eee92 Merge "Implement tacker workflows" 2016-08-17 15:44:56 +00:00
Jenkins
237006b67b Merge "Add TOSCA VNFD template for auto network creation" 2016-08-16 23:52:50 +00:00
Jenkins
c5dc840efa Merge "Refactor tacker vnfd samples for consistency" 2016-08-15 15:15:02 +00:00
Shaik Apsar
d55db757db Implement tacker workflows
1. std.create_vnf for VNF creation.
2. std.create_vnfd for VNFD creation.
3. std.delete_vnf for VNF deletion.
4. std.delete_vnfd for VNFD deletion.

Change-Id: I2c16c771d468db58728218fcf94154796e955ebb
Implements: blueprint tacker-workflows
2016-08-14 17:06:44 -04:00
gong yong sheng
52073b010f Add domain name info into auth for keystone v3
domain name information should be in VIM configure, which is
different from keystone configuration in tacker.conf.

Also domain name is prefered to domain id.

Change-Id: Iec492e55ff763f92304c129d2373e544269f6271
Partial-bug: #1603851
2016-08-01 14:15:22 -07:00
Kanagaraj Manickam
a5eb10b2f2 VNF scaling: TOSCA definitions and sample template
implements blueprint: #vnf-scaling

Change-Id: I315e5d4df9217b499c537ae31ca80cfe212a55b5
2016-07-26 08:34:13 +05:30
Bharath Thiruveedula
0990ec688d Add TOSCA VNFD template for auto network creation
Change-Id: I2d25206d3ceebba365249dadf9e1a02b3a476133
2016-07-22 15:36:54 +05:30
Janki Chhatbar
4a669a1261 VNFD Legacy templates deprecated
Throws a deprecation warning while using legacy templates for VNF
creation.

Change-Id: Ie68389e4abd0c7293ec48ed2a380fb7956d8c599
Partial-Bug: #1582928
2016-07-19 16:00:45 +05:30
Sridhar Ramaswamy
66afcda738 Refactor tacker vnfd samples for consistency
First, rename the filenames to be consistent. Second, use
descriptive nfv_compute properties to describe the VDU
instead of resorting to use nova flavor name. The power
of TOSCA VNFD template is in describing the properties
of a VNF purely using TOSCA constructs *without* using
openstack specific attributes.

Change-Id: I8584dc083b62d30f1463a4739eb8dd7c98957c26
2016-07-16 07:50:58 +00:00
Santosh Kodicherla
9923e95970 Correcting net-mgmt to net_mgmt in sample template files
Co-Authored-By: Santosh Kodicherla <ksantosh.cs@gmail.com>
Co-Authored-By: caoyue <yue.cao@easystack.cn>

Change-Id: Ia2b3fd23599445ba0df35924c90b6a2c68e133dc
Closes-Bug:#1577655
2016-06-23 07:40:08 +00:00
Jenkins
4c74e89790 Merge "Add key injection support to tosca.nodes.nfv.VDU.Tacker" 2016-06-14 21:37:07 +00:00
Tin Lam
02e42be35b Add key injection support to tosca.nodes.nfv.VDU.Tacker
Implement the 'key_name' parameter in templates by adding the new property
to tacker_nfv_defs.yaml.

Change-Id: I1838b283a60c387a7cb92e6c8ebebe7ca8ac5141
Closes-Bug: #1578785
2016-06-14 02:05:23 +00:00
Manikantha Srinivas Tadi
d083964225 Add user_data sample TOSCA VNFD template.
Change-Id: Ib71d68d562cfdde80d55ac3cdd62868c88f1d70b
Closes-Bug: #1590611
2016-06-09 20:14:39 -04:00
Sridhar Ramaswamy
380a20129b Re-organize tacker sample templates
Tacker TOSCA templates are currently buried under tacker/devstack.
These samples templates are applicable for the whole project and they
are not related specifically to the devstack installation. Also,
segregate the new TOSCA parser based templates from the legacy ones
for easier deprecation when the time comes.

Change-Id: I35547335baf6827e6b7b10702d05276343d8ce75
Closes-Bug: #1579251
2016-05-23 22:19:32 +00:00