infinity: improve RV descriptions (#10618)

This commit is contained in:
Alexei Znamensky 2025-08-10 23:29:28 +12:00 committed by GitHub
commit 4e8a6c03dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -110,26 +110,38 @@ network_id:
type: str type: str
sample: '1501' sample: '1501'
ip_info: ip_info:
description: When reserve next available IP address from a network, the IP address info is returned. description:
- When reserve next available IP address from a network, the IP address info is returned.
- Please note that the value is a B(string) containing JSON data.
returned: success returned: success
type: str type: str
sample: '{"address": "192.168.10.3", "hostname": "", "FQDN": "", "domainname": "", "id": 3229}' sample: >-
{
"address": "192.168.10.3",
"hostname": "",
"FQDN": "",
"domainname": "",
"id": 3229
}
network_info: network_info:
description: When reserving a LAN network from a Infinity supernet by providing network_size, the information about the description:
reserved network is returned. - When reserving a LAN network from a Infinity supernet by providing network_size, the information about the reserved
network is returned.
- Please note that the value is a B(string) containing JSON data.
returned: success returned: success
type: str type: str
sample: { sample: >-
"network_address": "192.168.10.32/28", {
"network_family": "4", "network_address": "192.168.10.32/28",
"network_id": 3102, "network_family": "4",
"network_size": null, "network_id": 3102,
"description": null, "network_size": null,
"network_location": "3085", "description": null,
"ranges": {"id": 0, "name": null, "first_ip": null, "type": null, "last_ip": null}, "network_location": "3085",
"network_type": "lan", "ranges": {"id": 0, "name": null, "first_ip": null, "type": null, "last_ip": null},
"network_name": "'reserve_new_ansible_network'" "network_type": "lan",
} "network_name": "'reserve_new_ansible_network'"
}
""" """