Creating your own VNF package (Release ONE)
From OSM Public Wiki
VNF without primitives
Using web form
You can access this web page and follow the instructions: http://riftio.com/osm-vnf-package-generator/
Using the CLI tool
- Clone the descriptor-packages repo:
git clone https://osm.etsi.org/gerrit/osm/descriptor-packages
- Run the following command to create a folder with all the files required for a single-VM VNF package:
./descriptor-packages/src/generate_descriptor_pkg.sh -t vnfd --image <IMAGE_PATH> -c <VNF_NAME>
- A folder called <VNF_NAME>_vnfd will be created with all the files required for a VNF package.
- Edit the file <VNF_NAME>_vnfd.yaml.
- Once done, you can generate the tar.gz VNF package with the command:
./descriptor-packages/src/generate_descriptor_pkg.sh -t vnfd -N <VNF_NAME>_vnfd #Note: the argument -N is optional and is intended to keep the package files after creating the package
VNF with primitives
(Under elaboration)
You will have to create a proxy charm for the VNF. You can follow the general instructions below:
- Clone the descriptor-packages repo:
git clone https://osm.etsi.org/gerrit/osm/juju-charms
- ...