Minor changes to VNF SDK integration
[sdc.git] / catalog-be / src / main / resources / import / tosca / normative-types / port / port.yml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 node_types: 
3   tosca.nodes.network.Port:
4       derived_from: tosca.nodes.Root
5       properties:
6         ip_address:
7           type: string
8           required: false
9         order:
10           type: integer
11           required: true
12           default: 0 
13           constraints:
14             - greater_or_equal: 0
15         is_default:
16           type: boolean
17           required: false
18           default: false
19         ip_range_start:
20           type: string
21           required: false
22         ip_range_end:
23           type: string
24           required: false  
25       requirements:
26        - link: 
27           capability: tosca.capabilities.network.Linkable
28           relationship: tosca.relationships.network.LinksTo 
29        - binding:
30           capability: tosca.capabilities.network.Bindable
31           relationship: tosca.relationships.network.BindsTo