blob: b0d50e144213c92677a506ccbce7c8a6e5275892 [file] [log] [blame]
Scott Baker22e46b72018-05-07 09:06:53 -07001---
2# Copyright 2018-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
Scott Baker25ae3952018-06-07 15:10:48 -070016# Default values for the base-kubernetes profile.
Scott Baker22e46b72018-05-07 09:06:53 -070017# This is a YAML-formatted file.
18# Declare variables to be passed into your templates.
19
20replicaCount: 1
21
22nameOverride: ""
23fullnameOverride: ""
24
25imagePullPolicy: 'IfNotPresent'
26
Zack Williams0e094e82018-07-06 12:38:51 -070027tosca_loaderImage: "xosproject/tosca-loader:1.0.1"
Scott Baker22e46b72018-05-07 09:06:53 -070028
29xosAdminUser: "admin@opencord.org"
30xosAdminPassword: "letmein"
31
32# TOSCA recipes for the tosca-loader
33toscaRecipes:
34 fixtures:
35 tosca_definitions_version: tosca_simple_yaml_1_0
36 description: Some basic fixtures
37 imports:
38 - custom_types/siterole.yaml
39 - custom_types/slicerole.yaml
40 - custom_types/networkparametertype.yaml
41 - custom_types/networktemplate.yaml
42 topology_template:
43 node_templates:
44 # -----------------------------------------------------------------------------
45 # Network Parameter Types
46 # -----------------------------------------------------------------------------
47 s_tag:
48 type: tosca.nodes.NetworkParameterType
49 properties:
50 name: s_tag
51 c_tag:
52 type: tosca.nodes.NetworkParameterType
53 properties:
54 name: c_tag
55 next_hop:
56 type: tosca.nodes.NetworkParameterType
57 properties:
58 name: next_hop
59 device:
60 type: tosca.nodes.NetworkParameterType
61 properties:
62 name: device
63 bridge:
64 type: tosca.nodes.NetworkParameterType
65 properties:
66 name: bridge
67 neutron_port_name:
68 type: tosca.nodes.NetworkParameterType
69 properties:
70 name: neutron_port_name
71 # ----------------------------------------------------------------------------
72 # Roles
73 # ----------------------------------------------------------------------------
74 siterole#admin:
75 type: tosca.nodes.SiteRole
76 properties:
77 role: admin
78 siterole#pi:
79 type: tosca.nodes.SiteRole
80 properties:
81 role: pi
82 siterole#tech:
83 type: tosca.nodes.SiteRole
84 properties:
85 role: tech
86 slicerole#admin:
87 type: tosca.nodes.SliceRole
88 properties:
89 role: admin
90 slicerole#access:
91 type: tosca.nodes.SliceRole
92 properties:
93 role: access
94 # -----------------------------------------------------------------------------
95 # Network Templates
96 # -----------------------------------------------------------------------------
97 Private:
98 type: tosca.nodes.NetworkTemplate
99 properties:
100 name: Private
101 visibility: private
102 translation: none
103 Public shared IPv4:
104 type: tosca.nodes.NetworkTemplate
105 properties:
106 name: Public shared IPv4
107 visibility: private
108 translation: NAT
109 shared_network_name: nat-net
110 Public dedicated IPv4:
111 type: tosca.nodes.NetworkTemplate
112 properties:
113 name: Public dedicated IPv4
114 visibility: public
115 translation: none
116 shared_network_name: ext-net
117
118 deployment:
119 tosca_definitions_version: tosca_simple_yaml_1_0
120 imports:
121 - custom_types/deployment.yaml
122 description: deployment config, generated by platform-install
123 topology_template:
124 node_templates:
125 MyDeployment:
126 type: tosca.nodes.Deployment
127 properties:
128 name: MyDeployment
129
Scott Baker22e46b72018-05-07 09:06:53 -0700130 cordServices:
131 tosca_definitions_version: tosca_simple_yaml_1_0
Scott Bakerba2c2202018-06-11 10:04:28 -0700132 description: Set up Kubernetes Service
Scott Baker22e46b72018-05-07 09:06:53 -0700133 imports:
Scott Baker22e46b72018-05-07 09:06:53 -0700134 - custom_types/kubernetesservice.yaml
Scott Baker22e46b72018-05-07 09:06:53 -0700135 - custom_types/trustdomain.yaml
136 topology_template:
137 node_templates:
138 default_trustdomain:
139 type: tosca.nodes.TrustDomain
140 properties:
141 name: "default"
142 requirements:
143 - owner:
144 node: service#kubernetes
145 relationship: tosca.relationships.BelongsToOne
Scott Baker22e46b72018-05-07 09:06:53 -0700146 service#kubernetes:
147 type: tosca.nodes.KubernetesService
148 properties:
149 name: kubernetes
Scott Baker22e46b72018-05-07 09:06:53 -0700150
151 serviceGraphConstraints:
152 tosca_definitions_version: tosca_simple_yaml_1_0
153 imports:
154 - custom_types/servicegraphconstraint.yaml
155 description: Constraints on the Services position in the graph
156 topology_template:
157 node_templates:
158 constraints:
159 type: tosca.nodes.ServiceGraphConstraint
160 properties:
Scott Bakerba2c2202018-06-11 10:04:28 -0700161 constraints: '[]'