Commit Graph

52 Commits

Author SHA1 Message Date
dharmendra
734ab72346 Drop py35 jobs
Python 3.5 was the target runtime for the Rocky release. The current
target py3 runtime for Stein is Python 3.6, so there is no reason to
keep testing against the older version.

https://governance.openstack.org/tc/reference/runtimes/stein.html#python-runtime-for-stein

Change-Id: Id6d0c53becf09741689dee0d7b30e5c397a63227
2019-04-30 09:16:04 +00:00
bhagyashris
5f1e48ff46 Add new policy action: vdu_autoheal
This patch adds below functionality:

- New policy action ``vdu_autoheal`` for recovering failed VDUs
  as reported by the respective monitoring driver configured in
  the monitoring policy of the VNFD template.

- Add unit/functional tests.

- Added oslo_versioned library to implement HealVnfRequest object.

Note: The implementation of vdu_autoheal policy action will support
HealVnfRequest interface  as mentioned in the ETSI standard [1]

[1]: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/003/02.05.01_60/gs_NFV-SOL003v020501p.pdf

Implements: blueprint vdu-auto-healing
Change-Id: If62acbdac41c92842de0ae3b7dedcda9fd1f86e6
2019-01-24 09:55:30 +09:00
dharmendra
0e7b4d31bc Device Refactor.
Refactor devide with Vnf and clean references and unused code.

Change-Id: If5b06b7cbf2c46a5f2f82027ba97c7920855d0cd
2018-12-12 12:08:46 +00:00
confi-surya
7b5ca7abfe Change openstack-dev to openstack-discuss
Mailinglists have been updated. openstack-dev should be
replaced with openstack-discuss.

Change-Id: Icee252f9ad03436664b7f4591fdefc2a1648f99e
2018-12-04 07:06:00 +00:00
akhiljain23
fb06b7c96c Add framework for tacker-status upgrade check
This commit adds the functionality of tacker-status CLI for performing
upgrade checks as part of the Stein cycle upgrade-checkers goal.
It only includes a sample check which must be replaced by real checks in
future.

Change-Id: I7bb127fa10dd168ab24dd8c42013576f84eadfbb
Story: 2003657
Task: 26158
2018-10-26 09:07:04 +00:00
Li Jiale
0e8fc96570 tacker service cannot auto install
Change-Id: I8a280569e584e281bc182bd16266f394d2e7f20d
Closes-bug: #1777772
2018-06-26 21:54:08 +08:00
Nguyen Hai
c414045f7b Update homepage link in setup.cfg
This patch also add a note about deprecation of 'tacker' command line.

Change-Id: I24b179ec35f0ff6476caa05d800b242ddb392257
2018-06-19 08:54:32 +00:00
Nguyen Hai
9c143a580d Follow the new PTI for document build [Updated]
Although Tacker docs move to new docs PTI jobs
(https://review.openstack.org/#/c/552046/),
the sphinx is still using legacy pbr runner.

This patch works futher jobs:
- Remove legacy pbr runner, [pbr] section.
- Remove [build_sphinx] section.
as described in:
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Change-Id: Ic65ed5ec145fa8a356fe28f86c3a69e3d20ef3c2
2018-03-22 21:48:08 +09: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
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
d6207c6dcd Support Kubernetes as VIM in Tacker
This patch add kubernetes_driver in vim nfvo and kubernetes_utils to support
CRUD Kubernetes cluster VIM (register, deregister, delete and update).

Partially Implements: blueprint kubernetes-as-vim

Change-Id: Ib1bf4d78ca4796c4e0297bca6fc7e9f004078242
2017-12-05 17:20:53 +09:00
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
Yan Xing'an
07428d4985 Support to use barbican to encode vim password
1. Add new option 'use_barbican' in config file [vim_keys] section,
   default value is False for Pike.
2. Use fernet to encrypt vim password, and save the fernet key into
   barbican as a secret.
3. Add new fields 'key_type', 'secret_uuid' into VimAuth.auth_cred
   json string. secret_uuid is masked in vim-show or vim-list response.
4. Set the vim's default 'shared' value to False,
   vim can only be used by who created it.
5. Add a devref to show how to test.
6. Add a release note.

Implements: blueprint encryption-with-barbican
Partial-bug: #1667652

Change-Id: I5c779041df5a08a361b9aaefac7d241369732551
2017-06-26 07:23:10 -07:00
jing.liuqing
60187643b5 vim monitor using rpc
This patch sets up the rpc queue named KILL_ACTION.<vim_id>
in mistral action class. When vim is deleted, the tacker server
will send(cast) kill message to the mistral task, which will exit.

To test it:
1. python setup.py develop
2. mistral-db-manage --config-file /etc/mistral/mistral.conf
populate
3. restart mistral related service and tacker service
4. tacker vim-register to register a vim
5. mistral workflow-list to check if the monitor workflow is
started
6. tacker vim-delete to check if the workflow and task is deleted

DocImpact
Implements: blueprint refactor-vim-monitor

Change-Id: I078917af65e57305c06b4605835c9d0d3dc1cf68
2017-06-20 10:27:36 +08:00
jing.liuqing
e58b01a545 introduce tacker conductor
This patch enables the message rpc framework which tacker conductor
will use. After started via tacker_conductor script, it will listen
on tacker_conductor, tacker_conductor.<host> and one fanout queues.

These three queues are intialized in oslo service module. And topic
queue tacker_conductor will be used by mistral actions.

How to test it:
  document will be written after the whole vim monitor is ready.
To test this patch, after 'python setup.py develop', run
'tacker-conductor --config-file /etc/tacker/tacker.conf', and then
use 'rabbitmqctl list_queues' which will list three queues starting
with 'tacker_conductor'.

DocImpact
Implements: blueprint refactor-vim-monitor

Change-Id: Ide80674099d384aed1a98b22928e9fc6bcfa3ff9
2017-06-08 21:20:20 +08:00
doantungbk
829f50e915 Refactor: separating backend actions out from monitor
Currently, backend actions are tightly coupled with monitor module.
This is like a barrier when we have a various actions in the future.
Also, it will be good for separating monitoring-related features out
from tacker-server. This patch also proposes a policy action framework so
that VNF operators can easily add their own actions.

Change-Id: I6ad163f7435c3b778810f96c506c77298be0c53d
Closes-bug: #1582446
2017-05-17 05:53:31 -07:00
Cao Xuan Hoang
a81d72f22e Remove support for py34
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.

Change-Id: Ib94f0f269173072b5a4c77d46b43852e78092487
2017-02-23 16:11:52 +07:00
dharmendra
68a489e0e0 Module index fix in doc
Adding Module index in docs

Change-Id: I23303243624dced3bc19ec5c82f9e0af794f1ccc
2017-01-27 12:46:03 +05:30
gong yong sheng
10462bc1e2 Remove deprecated heat infra_driver
Change-Id: I8d708c996825155e6c5af0f978438ae685771c65
Closes-bug: 1634013
2017-01-06 03:09:16 +00:00
gong yong sheng
70500539c5 Remove deprecated nova infra driver
Change-Id: I0b5b729741999f6505d3c9e3c7d62566acc28786
Closes-bug: 1634011
2016-11-06 06:02:21 +08:00
gong yong sheng
921afb13fa Remove deprecated default_vim config item
Change-Id: I4ff6a65777e379c6b4b5604eda3844f8fb6935ac
Closes-bug: 1633997
2016-10-24 11:13:22 +08:00
Jenkins
4a3a755ce4 Merge "Cleanup unused file hooks.py" 2016-10-07 09:39:43 +00:00
venkatamahesh
8b7b886423 Added py34, py35 to tox.ini
Now we are making python34 and python35
as voted by jenkins. So in this patch those
are added

Change-Id: Id4e67caa964ebc4772d12d1cc6ece16af9de55e6
2016-09-29 03:35:41 +00: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
gong yong sheng
cc1e82aa84 Device refactor part4: rename vm plugin and db into vnfm plugin and db
Change-Id: Iee231428b7f30c4710b264e73ba71b5d5a4f84bb
Partial-bug: #1589018
2016-09-22 10:05:19 +08:00
Sripriya
4556f940a1 Rename heat unit tests to openstack
Followup patch to [1]

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

Partial-bug: #1618724
Partially Implements: blueprint infra-driver-refactor
Change-Id: I9453c0a981056ea87ede802628b1070e8eced2d2
2016-09-16 10:16:13 -07:00
Sripriya
a8e0aa35eb Derive infra driver using VIM type
Currently, infra driver name is derived from VNFD API attribute
infra_driver during VNFD template onboarding. This limits the catalog
to be used for a specific VIM type. VNFD template should be generic
enough to be deployed on any VIM and should not contain infra driver
specific information.

This patch is a follow on for infra driver deprecation [1]
infra_driver value in VNFD request is silently ignored. The infra driver
derivation is now handled during VNF deployment workflow based on user
provied vim_id and corresponding vim_type.

[1] https://review.openstack.org/#/c/363455/
Partial-bug: #1618724
Partially Implements: blueprint infra-driver-refactor
Change-Id: I44cfd18ab75e32872776952560d1f716e99301d5
2016-09-16 00:26:12 -07: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
gong yong sheng
3c422ddc3e Device refactor Part3: Rename device in codes
Previous patch https://review.openstack.org/#/c/349776/
has renamed the DB part.

tacker/vm/plugin.py and tacker/db/vm/vm_db.py are not renamed
in this patch due to the git problem. (It is always be done by
'delete/add' instead of 'rename').
They will be renamed in later patch with unit tests.

Change-Id: I334e0e79c8bdba4a10d97ab691b1e6b242a0f1c5
Partial-bug: #1589018
2016-08-26 16:26:57 +08:00
vish
e94357abac Adds common services plugin for audit support
This commit enables the event model/db, common services plugin
and extenstions for audit support of Tacker resources.

Implements: blueprint: audit-support

Change-Id: I8fe824d335917c07d4b51dd63effae5f33bf0c32
Co-Authored-By: Kanagaraj Manickam <mkr1481@gmail.com>
2016-08-20 05:25:10 +00:00
Jenkins
eae13fa275 Merge "Update the home-page info with the developer documentation" 2016-08-16 23:39:12 +00:00
Sridhar Ramaswamy
66430685cc Fix tarball generation error due to missing tacker.conf
Sample tacker.conf is no longer included in the source
tree, instead the installer is expected to generate it.
Hence reference to etc/tacker/tacker.conf in setup.cfg
needs to be removed.

Closes-Bug: #1609739
Change-Id: I5abd6c95e93ed02740a061e1d9347774a3ce8c73
2016-08-08 20:48:14 +00:00
zhangyanxian
d28f99ce27 Update the home-page info with the developer documentation
Since there are so many components in openstack,
by describing the URL info in the configuration file,
it is more convenient to find the developer documentation
than from the unified portal

Change-Id: I6ac79b9c573d5d551c789c8fa3ad7ff5d14cbf2c
2016-08-04 06:03:58 +00:00
Kanagaraj Manickam
e575760d3c Sample tacker.conf generator
It also make required keystone config changes as part
of devstack plugin, which helps the functional test cases
to successfully complete and it makes inline with existing
tacker conf.

Closes-bug: #1592247
Change-Id: I545ceb2c9e61c22dbd8a0e1ee39a6e4fa24f8e88
2016-07-21 12:11:42 +05:30
Tin Lam
cce8dc64e8 Add reno support to tacker
Added release notes management to tacker project similar
to other OpenStack projects.  See [1].

[1] http://lists.openstack.org/pipermail/openstack-dev/2015-November/078301.html

Change-Id: I0efbf340251ba2cfb6a862f2c50905453d873e3d
2016-06-05 01:41:12 -05:00
Sripriya
0fdd5a4717 Implement multisite VIM feature
Added support for multisite OpenStack VIM feature through a new
'nfvo' extension. This also enables remote VNF life cycle manage-
ment through the VIM Id parameter.

Implements: blueprint multi-site-vim
Depends-On: I3c08945f24343288c2c5614ab4b472d68a1e1d47

Change-Id: I7dd19a0c1ce948474bb3069073b3608ce265beb4
2016-03-28 15:32:54 -07:00
Sridhar Ramaswamy
23f4b5e177 Fix summary line for setup.cfg
Project summary should indicate the type of service instead
of just the project name

Change-Id: Iccfdb6cc6476abe00e7207a52981db00b5eecec2
2016-02-26 23:49:39 +00:00
Martin Oemke
6459af01a4 remove version from setup.cfg
Change-Id: Iebe723a5e351ed3572ad99cbc050452a2473258b
2016-02-26 09:14:02 +01:00
gong yong sheng
a3c44eb089 Unify the driver config opts
mgmt_driver, monitor_driver and infra_driver are configuration
items. Some of them are multistropt, some are listopt.
This patch uses the listopt for all of them.

In addition, rename drivers dir into infra_drivers.

Change-Id: I5bbc7b6a52d97dae8bbca7dd2e804b7c50c8f7a4
Closes-bug: 1524255
2016-02-16 14:53:10 +08:00
an.abdulrehman
3132ca51be Renamed 'servicevm' 'advsvc' in tacker install file
Initially the service name was 'servicevm' and 'advsvc' in install file.
Now it's been renamed to 'tacker' and 'nfv-role'. Change in install file
(tacker/devstack/lib/tacker) was necessary to show the updated names
in horizon/dashboard for tacker service.

Change-Id: I740f3bfe04525d616c8f7df2847cee8a8d2b1cab
Depends-on: I919d77276af72586a20f50239166325adbf9fb11
Depends-on: I097ccbfb7ae192410400b06bd8796e81e62ee65e
Closes-Bug: #1524224
2016-01-21 05:57:03 +00:00
Doug Hellmann
77cbcb3fd0 remove python 2.6 trove classifier
OpenStack projects are no longer being tested under Python 2.6, so
remove the trove classifier implying that this project supports 2.6.

Change-Id: Ia12715fcfee4dfd1f87a28e21ed18af3499a4eb3
2015-12-23 01:31:16 +00:00
Bharath Thiruveedula
0e91cd11c8 HTTP ping monitor driver for Monitoring Framework
Change-Id: Iab2e0d92ffd52d6575a4372aeadc5285dab85277
Implements: blueprint monitoring
2015-10-14 14:04:35 +05:30
Bob HADDLETON
1afd26a13b Implement Monitoring Framework
* Changes the monitor function to use a loadable driver

 * Changes the monitoring thread to use a re-entrant lock
   (RLock()) to prevent it from blocking itself during
    recovery actions

Change-Id: Icf40ffd3123f3b804de16c88164d84077fbf28e2
Implements: blueprint health-monitoring
Closes-Bug: 1497474
2015-10-10 13:40:24 -05:00
Sripriya
f8bc9cc05c Implementation of Tacker NFV MANO API
Introduce new Tacker REST API endpoints 'vnfd' and 'vnf' based on NFV
MANO in 'vnfm' extension. Existing 'device' and'device_template'
endpoints will be retained for backward compatibility.

Change-Id: I9dffd4bee25b1f49aea7478f2bd779cf0f6dfb49
Implements: blueprint tacker-api-mano
2015-09-26 21:36:43 -07:00
Sridhar Ramaswamy
fd980b6e38 Remove unused code and docs
- remove unused agent-rpc entry points and filters in setup.cfg
- remove unused neutron specific exceptions and topics names
- remove neutron / quantum docs

Change-Id: I34d70317b35714eb995bda9b9e590c2ca155bba8
2015-09-16 11:13:23 -07:00
Bharath Thiruveedula
ad80b4fed0 Move NOOP Infra driver from tests folder to tacker/vm
And also changes the path of mgmt_driver in setup.cfg

Change-Id: I3d2e59f98d73ac6240b159305f39929eb1ec46ef
Closes-Bug: #1483926
Related-Bug: 1483926
2015-09-16 10:39:31 +05:30
Bharath Thiruveedula
415a51f453 Moves NOOP driver from tests folder to tacker/vm/mgmt_drivers
Change-Id: Ib20e3bb78d57eab73f028a0570fa088a110f6e0b
Closes-Bug: #1483926
2015-09-11 22:55:01 +05:30
Isaku Yamahata
55ec101acd mgmt driver for openwrt
Change-Id: I0759e1ecb8524300c2007873585baf8122cad9d2
2015-05-13 21:53:48 -07:00
Isaku Yamahata
052ac3e0b6 heat infra driver
Change-Id: I7f2e985a64d2e7e8cc0ca265815df3ed498742f7
2015-04-28 18:32:21 -07:00
Isaku Yamahata
ac4f4b16be fix: config file path
Change-Id: Ic6b349ac94c5241c113ede153dabf53d941d4f6b
2015-04-10 11:28:31 -07:00