Creating custom optimization packs
To create a custom optimization pack, the following fixed directory structure and several YAML manifests need to be created.
Optimization pack directory structure
Optimization pack manifest
The optimizationPack.yaml
file is the manifest of the optimization pack to be created, which should always be named optimizationPack
and have the following structure:
name
string
It should not contain spaces.
TRUE
The name of the optimization pack.
description
string
TRUE
A description to characterize the optimization pack.
weight
integer
weight > 0
TRUE
A weight to be associated to the optimization pack. This field is used for licensing purposes.
version
string
It should match the regexp: \d.\d.\d
TRUE
The version of the optimization pack.
tags
array of string
FALSE
An empty array
A set of tags to make the optimization pack more easily searchable and discoverable.
Component types
Metrics
Parameters
Building optimization pack descriptor
The following command needs to be executed to produce the final JSON descriptor:
After this, the optimization pack can be installed and used.
Last updated
Was this helpful?