blob: 15b7d6cf99f73c2f8a0ab92a3052a9e75754b581 [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
27rcord_synchronizerImage: "xosproject/rcord-synchronizer:master"
28httpieImage: "clue/httpie:latest"
29
30xosAdminUser: "admin@opencord.org"
31xosAdminPassword: "letmein"
32
33# TOSCA recipes for the tosca-loader
34toscaRecipes:
35 fixtures:
36 tosca_definitions_version: tosca_simple_yaml_1_0
37 description: Some basic fixtures
38 imports:
39 - custom_types/siterole.yaml
40 - custom_types/slicerole.yaml
41 - custom_types/networkparametertype.yaml
42 - custom_types/networktemplate.yaml
43 topology_template:
44 node_templates:
45 # -----------------------------------------------------------------------------
46 # Network Parameter Types
47 # -----------------------------------------------------------------------------
48 s_tag:
49 type: tosca.nodes.NetworkParameterType
50 properties:
51 name: s_tag
52 c_tag:
53 type: tosca.nodes.NetworkParameterType
54 properties:
55 name: c_tag
56 next_hop:
57 type: tosca.nodes.NetworkParameterType
58 properties:
59 name: next_hop
60 device:
61 type: tosca.nodes.NetworkParameterType
62 properties:
63 name: device
64 bridge:
65 type: tosca.nodes.NetworkParameterType
66 properties:
67 name: bridge
68 neutron_port_name:
69 type: tosca.nodes.NetworkParameterType
70 properties:
71 name: neutron_port_name
72 # ----------------------------------------------------------------------------
73 # Roles
74 # ----------------------------------------------------------------------------
75 siterole#admin:
76 type: tosca.nodes.SiteRole
77 properties:
78 role: admin
79 siterole#pi:
80 type: tosca.nodes.SiteRole
81 properties:
82 role: pi
83 siterole#tech:
84 type: tosca.nodes.SiteRole
85 properties:
86 role: tech
87 slicerole#admin:
88 type: tosca.nodes.SliceRole
89 properties:
90 role: admin
91 slicerole#access:
92 type: tosca.nodes.SliceRole
93 properties:
94 role: access
95 # -----------------------------------------------------------------------------
96 # Network Templates
97 # -----------------------------------------------------------------------------
98 Private:
99 type: tosca.nodes.NetworkTemplate
100 properties:
101 name: Private
102 visibility: private
103 translation: none
104 Public shared IPv4:
105 type: tosca.nodes.NetworkTemplate
106 properties:
107 name: Public shared IPv4
108 visibility: private
109 translation: NAT
110 shared_network_name: nat-net
111 Public dedicated IPv4:
112 type: tosca.nodes.NetworkTemplate
113 properties:
114 name: Public dedicated IPv4
115 visibility: public
116 translation: none
117 shared_network_name: ext-net
118
119 deployment:
120 tosca_definitions_version: tosca_simple_yaml_1_0
121 imports:
122 - custom_types/deployment.yaml
123 description: deployment config, generated by platform-install
124 topology_template:
125 node_templates:
126 MyDeployment:
127 type: tosca.nodes.Deployment
128 properties:
129 name: MyDeployment
130
Scott Baker22e46b72018-05-07 09:06:53 -0700131 cordServices:
132 tosca_definitions_version: tosca_simple_yaml_1_0
Scott Bakerba2c2202018-06-11 10:04:28 -0700133 description: Set up Kubernetes Service
Scott Baker22e46b72018-05-07 09:06:53 -0700134 imports:
Scott Baker22e46b72018-05-07 09:06:53 -0700135 - custom_types/kubernetesservice.yaml
Scott Baker22e46b72018-05-07 09:06:53 -0700136 - custom_types/trustdomain.yaml
137 topology_template:
138 node_templates:
139 default_trustdomain:
140 type: tosca.nodes.TrustDomain
141 properties:
142 name: "default"
143 requirements:
144 - owner:
145 node: service#kubernetes
146 relationship: tosca.relationships.BelongsToOne
Scott Baker22e46b72018-05-07 09:06:53 -0700147 service#kubernetes:
148 type: tosca.nodes.KubernetesService
149 properties:
150 name: kubernetes
Scott Baker22e46b72018-05-07 09:06:53 -0700151
152 serviceGraphConstraints:
153 tosca_definitions_version: tosca_simple_yaml_1_0
154 imports:
155 - custom_types/servicegraphconstraint.yaml
156 description: Constraints on the Services position in the graph
157 topology_template:
158 node_templates:
159 constraints:
160 type: tosca.nodes.ServiceGraphConstraint
161 properties:
Scott Bakerba2c2202018-06-11 10:04:28 -0700162 constraints: '[]'