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