...
Gather what you need:
Deck of Cards id prerequisite Card label instantiation Have the HEAT template along with the HEAT environment file.
Card label post-instantiation Have the configuration template to apply on the VNF.
- XML for NETCONF
- JSON / XML for RESTCONF
- not supported yet - CLI
- Identify which resources are static and dynamic
Create and fill-in the a table for all the dynamic values
While doing so, identify the resources using the same process to be resolved; for instance, if two IPs has to be resolved through the same IPAM, the process the resolve the IP is the same.
Card label instantiation Here are the information to capture for each dynamic cloud parameters
Resource name How Resource source, and how to resolve Ingredients for resolution Output of resolution Either the cloud parameters name or the placeholder given for the dynamic property. Deck of Cards id how to resolve Card label Input Value will be given as input in the request.
Card label Default Value will be defaulted in the model.
Card label REST Value will be resolved by sending a query to the REST system
Auth URL URI Payload VERB Supported Auth type
Deck of Cards id auth Card label Token Use token based authentication
- token
Card label Basic Use basic authentication
- username
- password
Card label SSL Use SSL basic authentication
- keystore type
- truststore
- truststore password
- keystore
- keystore password
http(s)://<host>:<port> /xyz JSON formatted payload HTTP method Card label SQL Value will be resolved by sending a SQL statement to the DB system
Type URL Query Username Password Only maria-db
supported for nowSQL statement These are all the required parameters to process the resolution of that particular resources.
Deck of Cards id input Card label REST List of placeholders used for
- URI
- Payload
Card label DB List of placeholders used for
- SQL statement
This is the expected result from the system, and you should know what value out of the response is of interest for you.
If it's a JSON payload, then you should think about the json path to access to value of interest.
Data dictionary
For each unique identified dynamic resource, along with all their ingredients, we need to create a data dictionary.
See modeling concept to understand context: CDS Modeling Concepts#ResourceDefinitionakaDatadictionaryData dictionary are based on specific data type: resource assignment data type
Bellow are examples of data dictionary for each resource source
Deck of Cards | ||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
...