Gopinath Taget | 5e49fe3 | 2018-06-25 17:02:05 -0700 | [diff] [blame] | 1 | {{- /* |
| 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 | |
| 17 | {{- define "voltha-shovel.cmd" }} |
| 18 | - "/shovel/shovel/main.py" |
Luca Prete | 78f8b08 | 2018-06-26 10:49:34 +0200 | [diff] [blame] | 19 | - "--kafka={{ .Values.kafkaReleaseName }}.default.svc.cluster.local" |
Gopinath Taget | 5e49fe3 | 2018-06-25 17:02:05 -0700 | [diff] [blame] | 20 | - "--host=grafana.voltha.svc.cluster.local" |
| 21 | - "--topic=voltha.kpis" |
| 22 | {{- end }} |
| 23 | |
| 24 | {{- define "voltha-dashd.cmd" }} |
| 25 | - "/dashd/dashd/main.py" |
Luca Prete | 78f8b08 | 2018-06-26 10:49:34 +0200 | [diff] [blame] | 26 | - "--kafka={{ .Values.kafkaReleaseName }}.default.svc.cluster.local" |
Gopinath Taget | 5e49fe3 | 2018-06-25 17:02:05 -0700 | [diff] [blame] | 27 | - "--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 Prete | 78f8b08 | 2018-06-26 10:49:34 +0200 | [diff] [blame] | 35 | - "--kafka={{ .Values.kafkaReleaseName }}.default.svc.cluster.local" |
Gopinath Taget | 5e49fe3 | 2018-06-25 17:02:05 -0700 | [diff] [blame] | 36 | - "--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" |
Gopinath Taget | 7f357cf | 2018-07-03 12:34:38 -0700 | [diff] [blame] | 42 | - "--core-number-extractor=^.*-([0-9]+)_.*$" |
Gopinath Taget | 5e49fe3 | 2018-06-25 17:02:05 -0700 | [diff] [blame] | 43 | {{- end }} |
| 44 | |
| 45 | |