blob: 5f14242a391a88dd07adcd97cd3dc889b7dc5789 [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# -----------------------------------------------------------------------------
91# Dashboard Views
92# -----------------------------------------------------------------------------
93
94# Temporary removed, waiting for a new Angular Base Implementation
95# xsh:
96# type: tosca.nodes.DashboardView
97# properties:
98# url: template:xsh
99
100 Customize:
101 type: tosca.nodes.DashboardView
102 properties:
Zack Williams1396aa32017-06-06 10:28:29 -0700103 url: template:xosDashboardManager
104 custom_icon: true
Zack Williamsa2763112017-01-03 11:38:38 -0700105
106 Diagnostic:
107 type: tosca.nodes.DashboardView
108 properties:
Zack Williams1396aa32017-06-06 10:28:29 -0700109 url: template:xosDiagnostic
110 custom_icon: true
Zack Williamsa2763112017-01-03 11:38:38 -0700111
112 Truckroll:
113 type: tosca.nodes.DashboardView
114 properties:
Zack Williams1396aa32017-06-06 10:28:29 -0700115 url: template:xosTruckroll
116 custom_icon: true
Zack Williamsa2763112017-01-03 11:38:38 -0700117
118 Monitoring:
119 type: tosca.nodes.DashboardView
120 properties:
Zack Williams1396aa32017-06-06 10:28:29 -0700121 url: template:xosCeilometerDashboard
Zack Williamsa2763112017-01-03 11:38:38 -0700122
123 Subscribers:
124 type: tosca.nodes.DashboardView
125 properties:
Zack Williams1396aa32017-06-06 10:28:29 -0700126 url: template:xosSubscribers
Zack Williamsa2763112017-01-03 11:38:38 -0700127
128 Tenant:
129 type: tosca.nodes.DashboardView
130 properties:
Zack Williams1396aa32017-06-06 10:28:29 -0700131 url: template:xosTenant
Zack Williamsa2763112017-01-03 11:38:38 -0700132
133 Developer:
134 type: tosca.nodes.DashboardView
135 properties:
Zack Williams1396aa32017-06-06 10:28:29 -0700136 url: template:xosDeveloper
Zack Williamsa2763112017-01-03 11:38:38 -0700137
138 Services Grid:
139 type: tosca.nodes.DashboardView
140 properties:
Zack Williams1396aa32017-06-06 10:28:29 -0700141 url: template:xosServiceGrid
Zack Williamsa2763112017-01-03 11:38:38 -0700142
143# -----------------------------------------------------------------------------
144# Network Templates
145# -----------------------------------------------------------------------------
146
147 Private:
148 type: tosca.nodes.NetworkTemplate
149 properties:
Zack Williams1396aa32017-06-06 10:28:29 -0700150 visibility: private
151 translation: none
Zack Williamsa2763112017-01-03 11:38:38 -0700152
153 Public shared IPv4:
154 type: tosca.nodes.NetworkTemplate
155 properties:
Zack Williams1396aa32017-06-06 10:28:29 -0700156 visibility: private
157 translation: NAT
158 shared_network_name: nat-net
Zack Williamsa2763112017-01-03 11:38:38 -0700159
160 Public dedicated IPv4:
161 type: tosca.nodes.NetworkTemplate
162 properties:
Zack Williams1396aa32017-06-06 10:28:29 -0700163 visibility: public
164 translation: none
165 shared_network_name: ext-net
Zack Williamsa2763112017-01-03 11:38:38 -0700166