Commit Graph

133 Commits

Author SHA1 Message Date
Zuul
c8656179fd Merge "Dropping explicit unicode literal" 2021-02-04 03:13:13 +00:00
Manpreet Kaur
28cf5645e2 Dropping explicit unicode literal
In python 3, all strings are considered as unicode string.

This patch drops the explicit unicode literal (u'...')
or (u"..") appearances from the unicode strings.

Note: The scope of the patch is to drop unicode literal prefix
from python source code files, documentation and comment are overlook.

Change-Id: I66389d3f4b236a50bd3f193d4e67c2ac10e6ca24
2021-02-02 06:45:53 +05:30
Manpreet Kaur
4819b827c8 Support feature to attach the existing volume
This patch attaches already created volume to vnf using volume id.
The existing volume id can be added to tosca.nodes.BlockStorage node,
in this case, no new volume will be created while vnf deployment.

Implementation:
* Set tosca.nodes.BlockStorage.Tacker "size" required as false,
  this override property definition mention in
  tosca.nodes.Storage.BlockStorage present in tosca parser.
  Please refer [1] for tosca.nodes.Storage.BlockStorage details.
* Add a local dictionary to store volume id present in
  tosca.nodes.BlockStorage.Tacker. This dictionary is use in
  to determine cinder volume mapping.

Additionally update block_storage_usage_guide.rst with changes
required to attach existing volume.

Added cinderclient in test_requirement for functional test case.
Add release notes for feature.

[1]: http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.2/csprd01/TOSCA-Simple-Profile-YAML-v1.2-csprd01.html

Change-Id: If5d386a64f98603de843f96287c1e296ae6a2e1f
Implements: blueprint attach-existing-volume
2021-01-28 13:11:03 +05:30
Ghanshyam Mann
40a48bde6b [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to do two things:

1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.

2. Deprecate the JSON formatted policy file on the project side
via warning in doc and releasenotes.

Also replace policy.json to policy.yaml ref from doc and tests.

[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html

Change-Id: I6fc6f7d95e4efde6ea3bd0f1e4134aa54ce3889a
2021-01-22 04:18:31 +00:00
OpenStack Proposal Bot
20c5eb77e6 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I41296ef4fe25a8f1d398760030b09fb71fa0207a
2020-11-16 09:08:23 +00:00
Shubham
01cf3efd4c Convert software image properties to byte
Convert softwareImage properties such as 'min_disk', 'min_ram' and
'size' to bytes before storing it to 'vnf_software_images' db table.
Since the size in bytes will be a large number, the type of
'min_disk' and 'min_ram' columns of 'vnf_software_images' tables has
been changed to BigInt.

Closes-Bug: #1879436
Co-Authored-By: Prashant Bhole <prash.bhole@gmail.com>
Change-Id: I3bf839783863f84f507d9b15c6eab6250d9f5d30
2020-11-06 04:32:06 +00:00
OpenStack Proposal Bot
313eb776c4 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Icfeeae35b1fc8374fab5fe369d2c75d93e82747b
2020-10-24 08:58:53 +00:00
Zuul
04d089e411 Merge "Update master for stable/victoria" 2020-10-09 09:20:51 +00:00
Keiko Kuriu
8b694d9235 Add releasenote for ETSI NFV specs
Add releasenote file for bp/support-etsi-nfv-specs and
bp/support-vnfm-operations

Change-Id: I6f9fde4662883c9692d64cbdd038fa8964b55b46
Implements: blueprint support-etsi-nfv-specs
Implements: blueprint support-vnfm-operations
2020-10-09 05:41:44 +00:00
Yoshito Ito
b4fd1ab437 Add releasenote for CNF support
* Add releasenote file for bp/cnf-support-with-etsi-nfv-specs

Change-Id: Ib64deef79fb7197d234f47ae836df082d3170053
Implements: blueprint cnf-support-with-etsi-nfv-specs
2020-10-08 19:05:58 +09:00
07eea0f00a Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.

Change-Id: I63ec18766b5a3782ff464fb4f6b505b1504c1523
Sem-Ver: feature
2020-09-25 15:39:42 +00:00
Andreas Jaeger
02d86ba40f Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I785707fd8bc6608285c97ff273152db52a11079d
2020-06-01 16:08:52 +02:00
nirajsingh
aff272b3c4 Support short notation for artifacts definition
As per [1], artifacts supports both short and extended notation.
Extended notation is already supported. This patch adds support
for short notation.

Short notation example:

artifacts:
    <artifact_name>: <artifact_file_URI>

[1] https://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.2/os/TOSCA-Simple-Profile-YAML-v1.2-os.html#DEFN_ENTITY_ARTIFACT_DEF

Closes-Bug: #1850755

Change-Id: I057bfae8ba8aeee7c8ecb57cca26e11b1bf82bab
2020-05-20 11:44:05 +05:30
273a3d29d2 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.

Change-Id: Ia3de19ad3bbbb5c85025ed0d9e9dfd872ebe6c9d
Sem-Ver: feature
2020-04-24 18:19:17 +00:00
Shubham
70ac63d834 Remove 'vnf_packages' key from vnf package list response
As per ETSI GS NFV-SOL 005 V2.4.1 (2018-02) table 9.4.2.3.2-2, GET Vnf
Packages should return list of all Vnf packages, but as per current
implemention this api is returning dictionory with resource name as key
i.e {'vnf_packages': [{vnf_package1}, {vnf_package2},...]}. Hence
removing the resource key and returning api response as a list.

As per process to fix this issue we need to provide micro version
support in tacker as well as in python-tackerclient for command.
The list api was part of VNF package api which released in train cycle.
But we can not instantiate, terminate and Heal VNF as these feature is
not released yet and about to release in U cycle. The changes we have
proposed will be useful after U release and that is why we think we
should do these change without micro version support.

Closes-bug: #1871054
Change-Id: I7f5105fc7a49f9d31fb32119c725dae0421cfde7
2020-04-24 06:14:43 +00:00
Ghanshyam Mann
71658dc910 Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

Tacker is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal - https://review.opendev.org/#/c/691178/

Depends-On: https://review.opendev.org/#/c/693631/

Change-Id: I3bf7be13f69837a0c2b9d62d10b21dce0fd0fe76
2020-01-23 16:48:19 +09:00
Zuul
d0c2fb6635 Merge "Update master for stable/train" 2019-10-29 03:11:32 +00:00
OpenStack Proposal Bot
61520ccc02 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: If8eecda5ba152152fb59c0478108a2e81ce18375
2019-10-01 11:19:23 +00:00
c90ba7d710 Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: I93da104660009f8780852410cfb6f1a5ababbd37
Sem-Ver: feature
2019-09-27 08:55:15 +00:00
OpenStack Proposal Bot
0011e39ee1 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I421534f84c4c9db5b97ff4b8c804134a75431ed7
2019-09-21 07:32:11 +00:00
bhagyashris
d7ca6c5f9b Add vnf packages documentation
Following are the list of documents updated for vnf package feature
usage:

1. api-reference document
2. release notes

Partial-Implements: blueprint tosca-csar-mgmt-driver
Change-Id: I82fc2e9d3f39e78b24eeb8034b0f611798c1aeb8
2019-09-20 12:26:11 +05:30
Zuul
a131f4eac3 Merge "Add release note for bug-1833505" 2019-09-17 06:48:28 +00:00
dharmendra
a6eb1ca5c1 Add release note for bug-1833505
Change-Id: I0e5afc2613d7f97912c6b9ebafa9aa7f96c38af3
2019-09-17 05:24:22 +00:00
Zuul
b81bd7ceb5 Merge "Add release note for bug-1829384." 2019-09-16 16:47:34 +00:00
dharmendra
443ad22e29 Add release note for VNF and NS force delete.
Change-Id: Ib08d5423be32207add4d2383fcd389bdb34e598c
2019-09-13 12:19:06 +00:00
dharmendra
b951741d40 Add release note for bug-1829384.
Change-Id: I7275d99a163a5320ce85fb7e6d4ed237fedb46af
2019-09-12 07:28:16 +00:00
pengyuesheng
301c2eb497 Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.

Change-Id: Iae2061c63ba1eee98d979a22daf04756c485192b
2019-08-02 16:18:21 +08:00
Zuul
41767ee90d Merge "Add Stein Reno for keystone v3 usages and test refactoring" 2019-03-27 13:03:23 +00:00
dharmendra
ba5799c778 Add Stein Reno for keystone v3 usages and test refactoring
Change-Id: I058ad0b0608f3a88e4eea410b97745ea9a1f271f
2019-03-27 08:59:29 +00:00
dharmendra
bbdd08de76 Add release note for the fixes in stein.
Change-Id: I6a2d3f927e8e890f661c7501a3073dda6b307436
2019-03-27 07:49:00 +00:00
300d56a2ce Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: I98ad21d153f2fcd0862627111fb5759f72bcc5ad
Sem-Ver: feature
2019-03-21 20:45:06 +00:00
Zuul
476cef245e Merge "Add support SFC encapsulation from networking-sfc" 2019-03-18 05:32:58 +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
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
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
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
OpenStack Proposal Bot
e5f9d249ca Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I2678453b329f165a2b9e9dae859487908e6ebc7d
2018-10-03 07:49:37 +00:00
21bd3f13c6 Update reno for stable/rocky
Change-Id: I9d80790b91f6f0b15f1a6bd9bfe741f94fafc5eb
2018-08-16 13:05:06 +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
Li Jiale
210d8f93bb Support shared vim for policy action execution
Change-Id: Ib58255e5b860f95b6c95c1373ee2c2e70722cd81
Co-Authored-By: Yan Xing an <yanxingan@cmss.chinamobile.com>
Implements: blueprint shared-barbican-secret
2018-07-29 13:56:45 +08: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
a7ba6d02aa Correct error handling for PENDING_DELETE VNFs.
Partial-Bug: #1775373

Change-Id: I82e3dc0531c1b9e702fe41d0dcf244dc514c53ac
2018-07-24 09:26:56 +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
zhangzs
c31042339e fix a typo
Change-Id: Iac4d843041d8e920e94e827dce00d3198f4e87f8
2018-06-20 11:23:37 +08: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
Zuul
6bea5c85f7 Merge "Add reusing feature when creating VNFFG." 2018-03-30 02:17:57 +00: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