You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
system-tests/templates/615_kernel-modules.yaml.tt2

21 lines
365 B

[%
hostname = ngcp.get_hostname();
is_proxy = ngcp.has_role(hostname, 'proxy');
-%]
command:
lsmod | grep -Eq "^sunrpc ":
exit-status: 0
stdout: []
stderr: []
{{if and [% (rtpproxy.enable == "yes" && is_proxy) ? 1 : 0 %] .Vars.NODE_ACTIVE}}
lsmod | grep -c xt_RTPENGINE:
exit-status: 0
stdout:
- '/^2$/'
stderr: []
{{end}}