generate_dns_config
Generate required DNS records and validation commands for OpenShift cluster provisioning, including A and PTR records for hosts, API, and ingress VIPs.
Instructions
Generate DNS configuration for the cluster.
Args: cluster_name: Cluster name base_domain: Base domain api_vip: API VIP address ingress_vip: Ingress VIP address hosts: Optional JSON string of hosts list. Each host should have 'name' and 'ip' keys. Example: '[{"name": "master-0", "ip": "10.1.235.25"}, {"name": "master-1", "ip": "10.1.235.26"}]'
Returns: Required DNS records and validation commands including A and PTR records for hosts
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cluster_name": "<cluster_name>",
"base_domain": "<base_domain>",
"api_vip": "<api_vip>",
"ingress_vip": "<ingress_vip>"
},
"name": "generate_dns_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hosts | No | ||
| api_vip | Yes | ||
| base_domain | Yes | ||
| ingress_vip | Yes | ||
| cluster_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||