Import normative improvement
[sdc.git] / catalog-be / src / main / resources / import / tosca / nfv-types / Cp / Cp.yml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 node_types:
3   tosca.nodes.nfv.Cp:
4     derived_from: tosca.nodes.Root
5     properties:
6         layer_protocol:
7           type: list
8           entry_schema:
9             type: string
10             constraints:
11               - valid_values: [ethernet, mpls, odu2, ipv4, ipv6, pseudo_wire ]
12           required: true
13         role: #Name in ETSI NFV IFA011 v0.7.3 cpRole
14           type: string
15           constraints:
16             - valid_values: [ root, leaf ]
17           required: false
18         description:
19           type: string
20           required: false
21         protocol_data:
22           type: list
23           entry_schema:
24             type: tosca.datatypes.nfv.CpProtocolData
25           required: true
26         trunk_mode:
27           type: boolean
28           required: true
29         allowed_address_data: # Aligned with ONAP R2 Im.not defined in IFA011 v2.4.1 and SOL001 v0.6.0.             
30           type: tosca.datatypes.nfv.AddressData   #In the IM, it is a array, but here it is not a array. TBD.
31           required: false