This program provide a good usage to test the Heat-Translator tool on the command line with expection of similar usage via Heat python client in near future. The TOSCA hello world use case is implemented for quick testing as well. implements blueprint tosca-translator-cli-test-utility Change-Id: Ia4ddf65aafcbe440ea9551ccc2648de4a7c88c97
24 lines
629 B
YAML
24 lines
629 B
YAML
tosca_definitions_version: tosca_simple_yaml_1_0_0
|
|
|
|
description: Template for deploying a single server with predefined properties.
|
|
|
|
topology_template:
|
|
node_templates:
|
|
my_server:
|
|
type: tosca.nodes.Compute
|
|
capabilities:
|
|
# Host container properties
|
|
host:
|
|
properties:
|
|
num_cpus: 2
|
|
disk_size: 10 GB
|
|
mem_size: 4 MB
|
|
# Guest Operating System properties
|
|
os:
|
|
properties:
|
|
# host Operating System image properties
|
|
architecture: x86_64
|
|
type: Linux
|
|
distribution: RHEL
|
|
version: 6.5
|