blob: f1ff639a442116e8a336c01d7f7fc970ddf23fa5 [file] [log] [blame]
Matteo Scandolo3896c472017-08-01 13:31:42 -07001
2# Copyright 2017-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16
Zack Williamsa2763112017-01-03 11:38:38 -070017tosca_definitions_version: tosca_simple_yaml_1_0
18
19description: Some basic fixtures
20
21imports:
22 - custom_types/xos.yaml
23
24topology_template:
25 node_templates:
26
27 xos:
28 type: tosca.nodes.XOS
29
30# -----------------------------------------------------------------------------
31# Network Parameter Types
32# -----------------------------------------------------------------------------
33
34 s_tag:
35 type: tosca.nodes.NetworkParameterType
36
37 c_tag:
38 type: tosca.nodes.NetworkParameterType
39
40 next_hop:
41 type: tosca.nodes.NetworkParameterType
42
43 device:
44 type: tosca.nodes.NetworkParameterType
45
46 bridge:
47 type: tosca.nodes.NetworkParameterType
48
49 neutron_port_name:
50 type: tosca.nodes.NetworkParameterType
51
52# ----------------------------------------------------------------------------
53# Roles
54# ----------------------------------------------------------------------------
55
56 siterole#admin:
57 type: tosca.nodes.SiteRole
58
59 siterole#pi:
60 type: tosca.nodes.SiteRole
61
62 siterole#tech:
63 type: tosca.nodes.SiteRole
64
Zack Williamsa2763112017-01-03 11:38:38 -070065 deploymentrole#admin:
66 type: tosca.nodes.DeploymentRole
67
68 slicerole#admin:
69 type: tosca.nodes.SliceRole
70
71 slicerole#access:
72 type: tosca.nodes.SliceRole
73
74# -----------------------------------------------------------------------------
75# Flavors
76# -----------------------------------------------------------------------------
77
78 m1.small:
79 type: tosca.nodes.Flavor
80
81 m1.medium:
82 type: tosca.nodes.Flavor
83
84 m1.large:
85 type: tosca.nodes.Flavor
86
87 m1.xlarge:
88 type: tosca.nodes.Flavor
89
90# -----------------------------------------------------------------------------
Zack Williamsa2763112017-01-03 11:38:38 -070091# Network Templates
92# -----------------------------------------------------------------------------
93
94 Private:
95 type: tosca.nodes.NetworkTemplate
96 properties:
Zack Williams1396aa32017-06-06 10:28:29 -070097 visibility: private
98 translation: none
Zack Williamsa2763112017-01-03 11:38:38 -070099
100 Public shared IPv4:
101 type: tosca.nodes.NetworkTemplate
102 properties:
Zack Williams1396aa32017-06-06 10:28:29 -0700103 visibility: private
104 translation: NAT
105 shared_network_name: nat-net
Zack Williamsa2763112017-01-03 11:38:38 -0700106
107 Public dedicated IPv4:
108 type: tosca.nodes.NetworkTemplate
109 properties:
Zack Williams1396aa32017-06-06 10:28:29 -0700110 visibility: public
111 translation: none
112 shared_network_name: ext-net
Zack Williamsa2763112017-01-03 11:38:38 -0700113