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/822_network-ports-ngcp-pro....

35 lines
810 B

[%
hostname = ngcp.get_hostname();
peername = ngcp.get_peername(hostname);
argv.type = 'ha_int';
argv.host = hostname;
PROCESS '/usr/lib/ngcp-ngcpcfg/get_iface';
host_ha_iface = out;
-%]
port:
# Monit
tcp:2812:
listening: true
ip: ["127.0.0.1"]
# snmpd
udp:161:
listening: true
ip: ["127.0.0.1"]
# InfluxDB Relay
tcp:9096:
listening: [% monitoring.backend == 'influxdb' && general.ngcp_type != 'spce' ? 'true' : 'false' %]
ip: ["127.0.0.1"]
# Corosync
udp:5405:
listening: [% ha.gcs == 'corosync' ? 'true' : 'false' %]
ip: ["[% hosts.$hostname.$host_ha_iface.ip %]"]
# Heartbeat
udp:[% heartbeat.port ? heartbeat.port : '694' %]:
listening: [% ha.gcs == 'heartbeat-2' || ha.crm == 'heartbeat-2' ? 'true' : 'false' %]
ip: ["0.0.0.0"]