Support TOSCA CSAR bundle with VNFD, NSD templates and mgmt driver

Registered by Sridhar Ramaswamy

Currently in Tacker, mgmt-drivers are pre-bundled as part of the tacker code base, like the one for openwrt [1]. And it needs to plugged into setup.cfg entry_points for it work [2]. This makes things cumbersome to introduce new per-VNF mgmt-drivers during runtime. This blueprint proposes to introduce TOSCA CSAR bundle support [3] which is a zip bundle of VNFD, NSD templates and necessary mgmt-drivers. Tacker needs to accept such a bundle and dynamically incorporate entry-points for those mgmt-drivers that are specific to those VNFs. Optionally, this blueprint can also extend CSAR bundle to include VM images like qcow2, iso required for the VNFDs which can be uploaded to glance.

[1] https://github.com/openstack/tacker/blob/master/tacker/vm/mgmt_drivers/openwrt/openwrt.py
[2] https://github.com/openstack/tacker/blob/master/setup.cfg#L36
[3] http://docs.oasis-open.org/tosca/tosca-primer/v1.0/cnd01/tosca-primer-v1.0-cnd01.html#_Toc347920737

Blueprint information

Status:
Started
Approver:
Sridhar Ramaswamy
Priority:
High
Drafter:
Sridhar Ramaswamy
Direction:
Approved
Assignee:
Hiroyuki Jo
Definition:
New
Series goal:
None
Implementation:
Started
Milestone target:
None
Started by
Hiroyuki Jo

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/tosca-csar-mgmt-driver,n,z

Addressed by: https://review.openstack.org/582930
    CSAR packages support for VNF onboarding and instantiation

Gerrit topic: https://review.opendev.org/#/q/topic:bp/tosca-csar-mgmt-driver

Addressed by: https://review.opendev.org/582930
    VNF packages support for VNF onboarding

Addressed by: https://review.opendev.org/675593
    Add vnfpkgm api support

Addressed by: https://review.opendev.org/675594
    Jsonschema validation: base schema framework

Addressed by: https://review.opendev.org/675595
    WIP: Add DB script and models for vnf packages

Addressed by: https://review.opendev.org/675596
    WIP: Add versioned objects for vnf packages

Addressed by: https://review.opendev.org/675597
    WIP: Implement policy in code

Addressed by: https://review.opendev.org/675598
    WIP: Implement rpc conductor for vnf packages

Addressed by: https://review.opendev.org/675599
    Add vnf package conf options

Addressed by: https://review.opendev.org/675600
    WIP: Add vnf packages RestFul APIs

Addressed by: https://review.opendev.org/678741
    Update Spec: Add support for VNF packages

Gerrit topic: https://review.opendev.org/#/q/topic:vnf-package-devstack-support

Addressed by: https://review.opendev.org/680063
    Add devstack support for vnf_package required dirs

Addressed by: https://review.opendev.org/681430
    Update Spec: Add support for VNF packages

Gerrit topic: https://review.opendev.org/#/q/topic:1129

Gerrit topic: https://review.opendev.org/#/q/topic:1137

Addressed by: https://review.opendev.org/681820
    Add vnf packages documentation

Addressed by: https://review.opendev.org/683301
    Remove deprecation warning messages

Gerrit topic: https://review.opendev.org/#/q/topic:tosca-csar-mgmt-driver

Addressed by: https://review.opendev.org/696819
    Enhance VNF Package Management

Addressed by: https://review.opendev.org/699946
    Auth parameters for uploading vnf package from URI

Addressed by: https://review.opendev.org/723293
    Auth parameters for uploading vnf package from URI

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.