1 tosca_definitions_version: tosca_simple_yaml_1_0
4 Queue subsystem, which is service template with topology_template,
5 act as a nested system inside another system and also act as stand
6 alone service template.
12 description: Template of a queue including its hosting stack.
17 description: IP address of the message queuing server to receive messages from.
21 description: Port to be used for receiving messages.
25 description: Number of CPUs for the server.
28 - valid_values: [ 1, 2, 4, 8 ]
30 substitution_mappings:
31 node_type: example.QueuingSubsystem
33 # message_receiver: [ app, message_receiver ]
35 receiver1: [ tran_app, receiver1 ]
36 receiver2: [ tran_app, receiver2 ]
40 type: example.QueuingSubsystem
42 server_ip: { get_input: mq_server_ip }
43 server_port: { get_input: my_receiver_port }
49 type: tosca.nodes.Compute
54 num_cpus: { get_input: my_cpus }
65 description: private IP address of the message receiver application
66 value: { get_attribute: [ server, private_address ] }
67 # It seems current _process_intrisic_function can not handle more than 2 arguments, save it for later
69 # description: Port of the message receiver endpoint
70 # value: { get_attribute: [ app, data_endpoint, port_name ] }
74 members: [ tran_app, server ]
75 type: tosca.groups.Root