blob: e7c87f2edebc56aef07057b2b7a9ee7b74522faa [file] [log] [blame]
Gopinath Taget5e49fe32018-06-25 17:02:05 -07001{{- /*
2Copyright 2017-present Open Networking Foundation
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/ -}}
16
17{{- define "voltha-shovel.cmd" }}
18- "/shovel/shovel/main.py"
Luca Prete78f8b082018-06-26 10:49:34 +020019- "--kafka={{ .Values.kafkaReleaseName }}.default.svc.cluster.local"
Gopinath Taget5e49fe32018-06-25 17:02:05 -070020- "--host=grafana.voltha.svc.cluster.local"
21- "--topic=voltha.kpis"
22{{- end }}
23
24{{- define "voltha-dashd.cmd" }}
25- "/dashd/dashd/main.py"
Luca Prete78f8b082018-06-26 10:49:34 +020026- "--kafka={{ .Values.kafkaReleaseName }}.default.svc.cluster.local"
Gopinath Taget5e49fe32018-06-25 17:02:05 -070027- "--grafana_url=http://admin:admin@grafana.$(NAMESPACE).svc.cluster.local:80/api"
28- "--topic=voltha.kpis"
29{{- end }}
30
31{{- define "voltha-vcore.cmd" }}
32- "voltha/voltha/main.py"
33- "-v"
34- "--etcd=etcd-cluster.default.svc.cluster.local:2379"
Luca Prete78f8b082018-06-26 10:49:34 +020035- "--kafka={{ .Values.kafkaReleaseName }}.default.svc.cluster.local"
Gopinath Taget5e49fe32018-06-25 17:02:05 -070036- "--rest-port=8880"
37- "--grpc-port=50556"
38- "--interface=eth1"
39- "--backend=etcd"
40- "--pon-subnet=10.38.0.0/12"
41- "--ponsim-comm=grpc"
42{{- end }}
43
44