aboutsummaryrefslogtreecommitdiffstats
path: root/asdc-tests/src/test/resources/CI/importResource-VCE-Brocade/tosca.nodes.nfv.VDU/tosca.nodes.nfv.VDU.yaml
blob: d1cba804e672b87873937964a45da5bbec8495ab (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
  ##################################################################
  ###################### TOSCA  VDU Node  ##########################
  ##################################################################
tosca_definitions_version: tosca_simple_yaml_1_0_0
node_types:
      tosca.nodes.nfv.VDU: 
          derived_from: tosca.nodes.SoftwareComponent
          #properties: 
          
          capabilities: 
            high_availability: 
              type: tosca.capabilities.nfv.HA
              occurrences: [1, UNBOUNDED] # this is default
            
            virtual_binding: 
              type: tosca.capabilities.nfv.vdu.VirtualBindable
              occurrences: [1, UNBOUNDED] # this is default
             
          requirements: 
            - high_availability: 
                capability: tosca.capabilities.nfv.HA
                occurrences: [0,1]
              
            - host: ##Is hosted in a VM
                capability: tosca.capabilities.Container
                node: tosca.nodes.Compute
                relationship: tosca.relationships.HostedOn
                occurrences: [1, 1] #this is default