Woojoong Kim | a053c4a | 2019-08-09 16:19:14 -0700 | [diff] [blame] | 1 | --- |
| 2 | # Copyright 2019-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 | apiVersion: v1 |
| 17 | kind: ConfigMap |
| 18 | metadata: |
| 19 | name: comac-tosca |
| 20 | data: |
| 21 | {{- if .Values.wired_service.enabled }} |
| 22 | 010-rcord-subscriber-service.yaml: | |
| 23 | {{ include "rcord.serviceTosca" .Values.rcord | indent 4 }} |
| 24 | 020-volt-service.yaml: | |
| 25 | {{ include "volt.serviceTosca" .Values.volt | indent 4 }} |
| 26 | 030-fabric-crossconnect-service.yaml: | |
| 27 | {{ include "fabric-crossconnect.serviceTosca" (index .Values "fabric-crossconnect") | indent 4 }} |
| 28 | {{- end }} |
| 29 | 040-onos-service.yaml: | |
| 30 | {{ include "comac.onosTosca" .Values | indent 4 }} |
| 31 | {{- if .Values.fabric.enabled }} |
| 32 | 050-fabric-service.yaml: | |
| 33 | {{ include "fabric.serviceTosca" .Values.fabric | indent 4 }} |
| 34 | {{- end }} |
| 35 | {{- if .Values.wired_service.enabled }} |
| 36 | 060-fixtures.yaml: | |
| 37 | {{ include "comac.basicFixturesTosca" . | indent 4 }} |
| 38 | {{- end }} |
| 39 | 070-vrouter-service.yaml: | |
| 40 | {{ include "vrouter.serviceTosca" .Values.vrouter | indent 4 }} |
| 41 | 080-mcord-subscriber-service.yaml: | |
| 42 | {{ include "mcord-subscriber.serviceTosca" (index .Values "mcord-subscriber") | indent 4 }} |
| 43 | 300-service-graph.yaml: | |
| 44 | {{ include "comac.serviceGraphTosca" . | indent 4 }} |