vcf_vrli_settings

Execution module for VCF Operations for Logs (vRLI) appliance settings.

Wraps saltext.vcf.clients.vrli_settings. Some sub-operations require root SSH access to the appliance — see the docstrings on the underlying client for the file paths edited.

saltext.vcf.modules.vcf_vrli_settings.get_cluster_nodes(profile=None)[source]

Return the nodes reported by GET /api/v2/cluster/nodes.

saltext.vcf.modules.vcf_vrli_settings.get_dns_servers(profile=None)[source]

Return the IPv4 DNS servers reported by the REST API.

CLI Example:

salt '*' vcf_vrli_settings.get_dns_servers
saltext.vcf.modules.vcf_vrli_settings.get_dns_servers_from_appliance(profile=None)[source]

SSH read of the on-appliance DNS config (for verification).

saltext.vcf.modules.vcf_vrli_settings.set_dns_servers(servers, profile=None)[source]

Set the IPv4 DNS servers by rewriting 10-eth0.network.

Requires ssh sub-block in the pillar. See saltext.vcf.clients.vrli_settings for details.

CLI Example:

salt '*' vcf_vrli_settings.set_dns_servers '["10.0.0.53","10.0.0.54"]'
saltext.vcf.modules.vcf_vrli_settings.get_session_timeout(profile=None)[source]

Return the current session inactivity timeout in seconds.

Reads web.xml via SSH.

saltext.vcf.modules.vcf_vrli_settings.set_session_timeout(seconds, profile=None)[source]

Set the session inactivity timeout (seconds -> minutes in web.xml).

Restarts the loginsight service so Jetty re-reads the descriptor.