blob: f9449276d23c52caacec7c34cc50787f2f5d20d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
tosca_definitions_version: tosca_simple_yaml_1_0
description: TOSCA test PortSpec Additional Requirement clauses
node_types:
MyNodeType:
derived_from: Root
properties:
test_port:
type: PortSpec
topology_template:
node_templates:
# Test invalid source value below (default) specified range constraint
test_node2:
type: MyNodeType
properties:
test_port:
protocol: tcp
source: 0
# Test invalid source value over specified range
test_node3:
type: MyNodeType
properties:
test_port:
protocol: tcp
source: 65535
source_range: [ 2, 65534 ]
# Test invalid source value under specified range
test_node4:
type: MyNodeType
properties:
test_port:
protocol: tcp
source: 1
source_range: [ 2, 65534 ]
|