Minor changes to VNF SDK integration
[sdc.git] / catalog-be / src / main / resources / import / tosca / heat-types / underlayVpn / underlayVpn.yml
1 tosca_definitions_version: tosca_simple_yaml_1_0
2 description: underlay L3 vpn type definitions
3 # *****************************************************************************
4 # underlay vpn type definitions
5 # *****************************************************************************
6
7 metadata:
8   id: underlayVpnDefinition
9   version: 0.1
10   vendor: ONAP
11   template_author: ONAP
12
13 # *****************************************************************************
14 # node types
15 # *****************************************************************************
16     
17 node_types:
18     
19   # ***************************************************************************** 
20   #            Underlayvpn Node Types
21   # *****************************************************************************
22   org.openecomp.resource.vl.underlayvpn:
23     derived_from: tosca.nodes.Root
24     description: undelay vpn type definitions
25     properties:
26       id:
27         type: string
28         required: false
29       template_name:
30         type: string
31         required: false
32       version:
33         type: string
34         required: false
35       vendor:
36         type: string
37         required: false
38       template_author:
39         type: string
40         required: false
41       name:
42         type: string
43         required: false
44       description:
45         type: string
46         required: false
47       serviceType:    
48         type: string
49         description: type of VPN service
50         required: false
51         default: 'l3vpn_sptn'
52       topology:
53         type: string
54         description: type of VPN topology
55         constraints:
56           - valid_values: ['full-mesh','point_to_multipoint','point_to_point','singlePoint','hubspoke','hubspoke_via_hubce','hubspoke_disjoint','ADD_DROP_Z']
57         required: false
58         default: 'full-mesh'
59       technology:
60         type: string
61         description: type of VPN technology
62         constraints:
63           - valid_values: ['mpls','rosen multivpn','vxlan overlay l3vpn','eth over sdh','vlan']
64         required: false
65         default: 'mpls'
66       site1_name:       
67         type: string
68         description: name of first site
69         required: false
70       site2_name:       
71         type: string
72         description: name of second site
73         required: false
74       sna1_name:
75         type: string
76         description: name of site network accesses associated with the site1
77         required: false
78       sna2_name:
79         type: string
80         description: name of site network accesses associated with the site2  
81         required: false
82       pe1_id:    
83         type: string
84         description: id of provider edge1, it can be name or ip or uuid 
85         required: false
86       pe2_id:    
87         type: string
88         description: id of provider edge2, it can be name or ip or uuid 
89         required: false
90       ac1_id:
91         type: string
92         description: id of attachment circuit1, it can be port name or uuid    
93         required: false
94       ac1_svlan:
95         type: integer
96         description: ac1 svlan
97         required: false
98       ac1_ip:
99         type: string
100         description: ip of ac1, only for layer3 vpn, it should contain mask
101         required: false
102       ac1_peer_ip:
103         type: string
104         description: ip of ac1 peer CE tp, only for layer3 vpn, it should contain mask
105         required: false
106       ac1_route:
107         type: string
108         description: route configure of ac1, only for layer3 vpn    
109         required: false
110       ac1_protocol:
111         type: string
112         description: routing protocol type of ac1, only for layer3 vpn    
113         constraints:
114           - valid_values: ['STATIC','OSPF','ISIS','BGP','other']
115         required: false    
116       ac1_protocol_bgp_as:
117         type: string
118         description: autonomous-system number of ac1, , only required for ebgp protocol
119         required: false                    
120       ac2_id:
121         type: string
122         description: id of attachment circuit2, it can be port name or uuid  
123         required: false    
124       ac2_svlan:
125         type: integer
126         description: ac2 svlan
127         required: false    
128       ac2_ip:
129         type: string
130         description: ip of ac2, only for layer3 vpn, it should contain mask
131         required: false    
132       ac2_peer_ip:
133         type: string
134         description: ip of ac2 peer CE tp, only for layer3 vpn, it should contain mask
135         required: false    
136       ac2_route:
137         type: string
138         description: route configure of ac2, only for layer3 vpn
139         required: false    
140       ac2_protocol:
141         type: string
142         description: routing protocol type of ac2, only for layer3 vpn   
143         constraints:
144           - valid_values: ['STATIC','OSPF','ISIS','BGP','other']        
145         default: 'STATIC'    
146         required: false    
147       ac2_protocol_bgp_as:
148         type: string
149         description: autonomous-system number of ac2, , only required for ebgp protocol        
150         required: false    
151       af_type:
152         type: string
153         description: address family type
154         default: 'ipv4'
155         required: false
156     requirements:
157     - virtualLink:
158         capability: tosca.capabilities.network.Linkable
159         relationship: tosca.relationships.network.LinksTo
160     capabilities:
161       virtual_linkable:
162         type: tosca.capabilities.network.Linkable