File: test_invalid_input.yaml

package info (click to toggle)
python-tosca-parser 2.13.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,920 kB
  • sloc: python: 11,185; sh: 144; makefile: 26
file content (18 lines) | stat: -rw-r--r-- 415 bytes parent folder | download
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 for deploying a single server with invalid input function.

topology_template:
  inputs:
    cpus:
      type: integer
      description: Number of CPUs
      default: 1

  node_templates:
    server:
      type: tosca.nodes.Compute
      capabilities:
        host:
         properties:
           num_cpus: { get_input: non_existent_input }