summaryrefslogtreecommitdiffstats
path: root/tosca2heat/tosca-parser/toscaparser/tests/data/node_filter/test_node_filter.yaml
blob: 3dd8e264010d808b363f064e8eebf1cf924ab041 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
tosca_definitions_version: tosca_simple_yaml_1_0

description: Template with requirements against hosting infrastructure.

topology_template:

  node_templates:
    test:
      type: tosca.nodes.DBMS
      requirements:
        - host:
            node_filter:
              capabilities:
                - host:
                    properties:
                      - num_cpus: { in_range: [ 1, 4 ] }
                      - mem_size: { greater_or_equal: 2 GB }