This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tsg-tsg-os-buildimage/ansible/roles/traffic-engine/files/helm/conf/spec.toml

63 lines
1.9 KiB
TOML

{{ if eq .Values.session_flags.enable .Values.define_enable_val_yes -}}
[[plugin]]
path = "./stellar_plugin/session_flags.so"
init = "session_flags_plugin_init"
exit = "session_flags_plugin_exit"
{{- end }}
[[plugin]]
path = "./stellar_plugin/glimpse_detector.so"
init = "APP_GLIMPSE_DETECTOR_INIT"
exit = "APP_GLIMPSE_DETECTOR_DESTROY"
[[plugin]]
path = "./plug/business/firewall/firewall.so"
init = "firewall_stellar_runtime_init"
exit = "firewall_stellar_runtime_exit"
[[plugin]]
path = "./stellar_plugin/sf_classifier.so"
init = "sf_classifier_init"
exit = "sf_classifier_exit"
{{ if and (eq .Values.appsketch.qdpi_detector .Values.define_enable_val_yes) (eq .Values.appsketch.enable .Values.define_enable_val_yes) -}}
[[plugin]]
path = "./stellar_plugin/qdpi_detector/qdpi_detector.so"
init = "qdpi_detector_init"
exit = "qdpi_detector_destroy"
{{- end }}
{{ if and (eq .Values.appsketch.context_based_detector .Values.define_enable_val_yes) (eq .Values.appsketch.enable .Values.define_enable_val_yes) -}}
[[plugin]]
path = "./stellar_plugin/context_based_detector.so"
init = "context_based_detector_init"
exit = "context_based_detector_destroy"
{{- end }}
{{ if eq .Values.dos_protector.enable .Values.define_enable_val_yes -}}
[[plugin]]
path = "./stellar_plugin/dos_protector.so"
init = "dos_protector_init"
exit = "dos_protector_deinit"
{{- end }}
{{ if eq .Values.stat_policy_enforcer.enable .Values.define_enable_val_yes -}}
[[plugin]]
path = "./stellar_plugin/stat_policy_enforcer.so"
init = "STATISTICS_INIT"
exit = "STATISTICS_EXIT"
{{- end }}
{{ if eq .Values.traffic_sketch.enable .Values.define_enable_val_yes -}}
[[plugin]]
path = "./stellar_plugin/traffic_sketch.so"
init = "TRAFFIC_SKETCH_INIT"
exit = "TRAFFIC_SKETCH_EXIT"
{{- end }}
{{ if eq .Values.policy_sketch.enable .Values.define_enable_val_yes -}}
[[plugin]]
path = "./stellar_plugin/policy_sketch.so"
init = "POLICY_SKETCH_INIT"
exit = "POLICY_SKETCH_EXIT"
{{- end }}