summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources/import/tosca/nfv-types/Cp/Cp.yml
blob: 9cee00aaa9da29ef0d8ea2bb9bbd1eacda700279 (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
tosca_definitions_version: tosca_simple_yaml_1_0_0
node_types:
  tosca.nodes.nfv.Cp:
    derived_from: tosca.nodes.Root
    properties:
        layer_protocol:
          type: list
          entry_schema:
            type: string
            constraints:
              - valid_values: [ethernet, mpls, odu2, ipv4, ipv6, pseudo_wire ]
          required: true
        role: #Name in ETSI NFV IFA011 v0.7.3 cpRole
          type: string
          constraints:
            - valid_values: [ root, leaf ]
          required: false
        description:
          type: string
          required: false
        protocol_data:
          type: list
          entry_schema:
            type: tosca.datatypes.nfv.CpProtocolData
          required: true
        trunk_mode:
          type: boolean
          required: true
        allowed_address_data: # Aligned with ONAP R2 Im.not defined in IFA011 v2.4.1 and SOL001 v0.6.0.             
          type: tosca.datatypes.nfv.AddressData   #In the IM, it is a array, but here it is not a array. TBD.
          required: false