This section will cover how to deploy vnf component in Tacker with the examples of how to write VNF descriptors.
The following example shows vnfc resource using TOSCA template. The target (VDU1) of the ‘firewall_vnfc’ in this example need to be described firstly like other TOSCA templates in Tacker.
topology_template:
node_templates:
firewall_vnfc:
type: tosca.nodes.nfv.VNFC.Tacker
requirements:
- host: VDU1
interfaces:
Standard:
create: install_vnfc.sh
Every vnfc node must be of type ‘tosca.nodes.nfv.VNFC.Tacker’. It takes two parameters:
To make use of VNFC in Tacker, we have to upload the image to the glance in which heat-config and heat-config agents are installed. The installation steps can be referred here. The tool ‘tools/vnfc/build_image.sh’ can be used to generate such a kind of image.
Currently VNFC feature works by using heat software config which makes use of heat API.
So the glance images which has heat-config agents installed are only to be passed to VDU.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.