887 Commits

Author SHA1 Message Date
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
294d3a51f7 Merge "Monitoring driver keep monitoring, even if vnf status showing ERROR" 2016-09-14 14:51:29 +00:00
Sridhar Ramaswamy
fd5c84a4de Add tacker gerrit dashbaord to developer info
With too many gerrit reviews in the queue, the team
needs a way to categorize and bubble up reviews that
are actionable. Hence introduce gerrit dashboard with
various filters to identify patchsets to review.

Change-Id: I6e1552f8a3fbd81ae45ad1943b493e8c3bd83654
2016-09-14 06:39:18 +00:00
Jenkins
dcd8d9c06f Merge "[py35] Fix for jenkins-gate-py35 error" 2016-09-14 00:24:07 +00:00
Jenkins
43d74f73d1 Merge "Devref for vnf scaling feature" 2016-09-14 00:23:54 +00:00
Jenkins
bd127c9e87 Merge "VNF scaling: Functional test" 2016-09-13 17:07:54 +00:00
Vishwanath Jayaraman
b26e529451 Devref for vnf scaling feature
Implements: blueprint: #vnf-scaling

Change-Id: I426d87fe9f39cdd6d70589a14b59804b6d03c241
Co-Authored-By: Kanagaraj Manickam <mkr1481@gmail.com>
2016-09-13 16:05:15 +00:00
Jenkins
8afd457096 Merge "Allow vdu (VM) names to be specified as a parameter" 2016-09-13 16:02:03 +00:00
Kanagaraj Manickam
f291eda290 VNF scaling: Functional test
implements blueprint: #vnf-scaling

Change-Id: I29269369faf57766ac51c2d12e10fecc1331e474
2016-09-13 15:40:17 +00:00
venkatamahesh
d4073d10c5 [py35] Fix for jenkins-gate-py35 error
Change-Id: Icc437921eaa3f762d540996491257e227177265c
Closes-Bug: #1617337
Closes-Bug: #1620948
Closes-Bug: #1622856
2016-09-13 08:53:37 +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
ff5b90fdac Merge "Move functional tests from commonservices directory" 2016-09-13 01:32:50 +00:00
Jenkins
2390b13735 Merge "Cleaning utils code" 2016-09-12 18:45:34 +00:00
Jenkins
6ddfdf61ab Merge "Updated from global requirements" 2016-09-10 05:37:50 +00:00
Jenkins
4ce287946a Merge "Implements VNFFG into NFVO" 2016-09-10 02:10:24 +00:00
Tim Rozet
8b479f4268 Implements VNFFG into NFVO
implements blueprint: tacker-vnffg

Change-Id: I9e2fd8b14fd6eaf05aa7813b5f0fab6daa4abd43
Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-09-09 18:07:10 -04:00
OpenStack Proposal Bot
cdd2361adb Updated from global requirements
Change-Id: I3816f2231b5c2b1c604d35d174f430a641da680a
2016-09-09 16:12:23 +00:00
dharmendra
ad64f34908 Cleanup unused file hooks.py
setup_hook in tacker/hooks.py looks no more useful.
Removing this file.

Change-Id: Iee964a2b6606c699e848613b0c315ac972d4253b
2016-09-09 20:27:11 +09:00
vish
989d64af3b Move functional tests from commonservices directory
This commit moves the functional tests for event logging from the
commonservices directory to the existing VNFD, VNF and VIM
functional test files

Change-Id: Ife479bb701ab5315027bf1bbbbdfde43d835118d
Implements: blueprint: audit-support
2016-09-09 00:04:34 +00:00
Jenkins
38167f2ccc Merge "VNF monitoring event capture: Functional test" 2016-09-08 18:53:48 +00:00
Jenkins
d3f791591a Merge "Update the sample vnfd template in getting started guide" 2016-09-08 02:56:22 +00:00
vish
3c3b07d340 VNF monitoring event capture: Functional test
Change-Id: Ib819753fc628e7e3b77bd726852e85623e727ded
Implements: blueprint: audit-support
2016-09-08 01:52:27 +00:00
Sripriya
ea987efd12 Better handle vim domain exception
Instead of handling each keystone parameter error in Tacker,
reuse keystone's BadRequest exception that already takes care of
parameter errors in user input not just for domains, but users,
projects and tenants.

Change-Id: I2a6aa6f7f9dec829bf1010d244d1aadf7942ec9d
2016-09-07 16:58:41 -07:00
Jenkins
d3fecf7434 Merge "Fix the monitor bug" 2016-09-07 21:03:55 +00:00
Jenkins
427cfb6d58 Merge "Add VNF resource details to get vnf API" 2016-09-07 17:00:09 +00:00
Jenkins
6bb7b8458d Merge "VNFFG abstract driver" 2016-09-07 17:00:03 +00:00
venkatamahesh
266445a8c9 Update the sample vnfd template in getting started guide
Change-Id: I28ec89ce42bf722b1972839c41865facd503e55b
Closes-Bug: #1618776
2016-09-07 10:20:26 +00:00
gong yong sheng
b1896e743e Fix the monitor bug
The VDU VM's dead simulation depends on metadata service which needs
virtual routers, or config drive.

This patch adds "config_drive: true" to all templates which need user
data.

In addition, some verbose debug information is inserted into code to
help to diagnose problem.

Change-Id: I066ce769de17ad3179193b436f5a644b76233a1e
Closes-bug: #1617923
2016-09-07 17:54:16 +08:00
Jenkins
6f22f93753 Merge "Clean imports in code" 2016-09-07 09:44:46 +00:00
Jenkins
86717c8556 Merge "Deprecate warning for infra_driver and mgmt_driver at server" 2016-09-07 09:30:19 +00:00
Jenkins
5622965ebd Merge "Refactor Tacker unit tests to remove xml support" 2016-09-07 06:47:33 +00:00
Nguyen Hung Phuong
22a32a1cca Clean imports in code
In some part in the code we import objects.
In the Openstack style guidelines they recommend to import only
modules.

http://docs.openstack.org/developer/hacking/#imports

Change-Id: Ib35cc8a00d7f89e1e38949a7e77bdb2630ec2547
2016-09-07 05:37:46 +00:00
dharmendra
dc5ee73140 Refactor Tacker unit tests to remove xml support
In part of test refactoring, removing xml support form tacker/tests/unit
and tacker/api

Change-Id: Ia23564990fe6070c5f9163618688bfcab4dc87de
Partial-Bug: #1579167
2016-09-07 13:22:42 +09:00
Janki Chhatbar
2e766e122b Add VNF resource details to get vnf API
Adds physical id and type of VDUs, CPs and VLs of a VNF to
get vnf API.

APIImpact
Change-Id: I469b91c1a000e7a47ae1d4313ed83de26e1391b2
Partial-Bug: #1602112
2016-09-07 09:35:32 +05:30
Janki
99f58e4f5f Deprecate warning for infra_driver and mgmt_driver at server
Deprecation warning deriving infra and mgmt driver from VNFD create API is
added.

Change-Id: Ieb2ff2a21fa6387ea38734ae65b0bddddd35f2a7
Partial-bug: #1618724
2016-09-07 04:23:55 +05:30
vish
8e21d60862 Logs events for VNF scale operations
Change-Id: Id9ab6408c1b8b49370dfbd6aa56555762f9afdc4
Implements: blueprint: audit-support
2016-09-06 16:11:05 +00:00
Jenkins
80b638fcac Merge "Logs events for VNF monitoring and actions" 2016-09-06 15:51:59 +00:00
vish
ffebb7ab3d Logs events for VNF monitoring and actions
This commit adds code to log VNF Monitoring and actions.

Change-Id: I2bfb00164c70890a5da583d04e645794c1c5d32e
Implements: blueprint: audit-support
2016-09-06 13:45:54 +00:00
Jenkins
e7a60fd2d6 Merge "Delete unused pom.xml file from doc directory" 2016-09-06 04:35:59 +00:00
dharmendra
361268e5e3 Monitoring driver keep monitoring, even if vnf status showing ERROR
After successful creation of a VNF, if mgmt_call fail due to any
reason(ex failed to connect), it will set VNF status to ERROR. But
monitoring driver still keep monitoring to this vnf. Fixing this
issue to avoid unnecessory ping.

Change-Id: I8bfba0875c6025012ce8da4a0b7da34072b9305f
Closes-Bug: #1593567
2016-09-05 12:00:14 +00:00
gecong1973
37469f4229 Add __ne__ built-in function
In Python 3 __ne__ by default delegates to __eq__ and inverts the
result, but in Python 2 they urge you to define __ne__ when you
define __eq__ for it to work properly [1].There are no implied
relationships among the comparison operators. The truth of x==y
does not imply that x!=y is false. Accordingly, when defining __eq__(),
one should also define __ne__() so that the operators will behave
as expected.
[1]https://docs.python.org/2/reference/datamodel.html#object.__ne__

Change-Id: Ibccc8713c95a13ed17cd82e38194d139c8bc0988
2016-09-05 09:26:05 +08:00
OpenStack Proposal Bot
99c7433cb5 Updated from global requirements
Change-Id: I71b5151d2783026e4a6bf979db28ad9b07b81e51
2016-09-01 10:55:15 +00:00
Jenkins
47e6134e98 Merge "Temporarily disable ping monitor functional test" 2016-09-01 10:47:51 +00:00
Jenkins
6fe1384e2c Merge "Move tempest_lib to tempest.lib" 2016-09-01 10:47:21 +00:00
Stephen Wong
c7d279df84 VNFFG abstract driver
Implements: blueprint tacker-vnffg

Abstract driver interface for VNFFG.  Driver implementation should be
done in this same folder, then inherited into respective VIM driver.

Change-Id: Ifa6f587d42e48cc079a8d5f439ee5fe00a071c8e
Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-09-01 10:40:17 +05:30
Jenkins
052a6b3826 Merge "Add a shell script for developers to prepare functional test env" 2016-08-31 10:13:48 +00:00
Sridhar Ramaswamy
dd65cbde03 Temporarily disable ping monitor functional test
Disabling this to avoid unwanted rechecks. Will be reenabled after
this test is fixed. Bug [1] is opened to address the root-cause.

[1] https://bugs.launchpad.net/tacker/+bug/1617923

Change-Id: I8cbe11b29790d3d5e064687519ba10f046d0163c
2016-08-31 09:32:47 +00:00
gong yong sheng
a40d63d2e3 Move tempest_lib to tempest.lib
Change-Id: Ic08332e6a0c4a44496bc58d80efcd2c4e11fb8ec
Closes-bug: 1618684
2016-08-31 15:52:42 +08:00
gong yong sheng
b90d3e4d6d Add a shell script for developers to prepare functional test env
After devstack installation, to run functional test cases, the
nova instance quota, keypair and neutron port quota should be
set to a level which will not block tests. This patch adds a tool
to do this preparation so that developers can easily run
functional tests locally.

Change-Id: I1c2fae110863906e3f7601456dbf79ff06da4c40
Closes-bug: #1617303
2016-08-31 10:21:54 +08:00