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
sshsub-block in the pillar. Seesaltext.vcf.clients.vrli_settingsfor details.CLI Example:
salt '*' vcf_vrli_settings.set_dns_servers '["10.0.0.53","10.0.0.54"]'