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