Networking_Info
The Networking.Info structure contains information about the network configuration of a virtual appliance.
{
"dns": {
"mode": "string",
"hostname": "string",
"servers": [
"string"
]
},
"interfaces": {
"interfaces": {
"name": "string",
"status": "string",
"mac": "string",
"ipv4": {
"configurable": false,
"mode": "string",
"address": "string",
"prefix": 0,
"default_gateway": "string"
},
"ipv6": {
"dhcp": false,
"autoconf": false,
"addresses": [
{
"origin": "string",
"status": "string",
"address": "string",
"prefix": 0
}
],
"default_gateway": "string",
"configurable": false
}
}
}
}
The Networking.DnsInfo structure contains information about the DNS configuration of a virtual appliance.
Interface configuration as a key-value map where key is a network interface name, for example, "nic0". When clients pass a value of this structure as a parameter, the key in the field map must be an identifier for the resource type: com.vmware.appliance.networking.interfaces. When operations return a value of this structure as a result, the key in the field map will be an identifier for the resource type: com.vmware.appliance.networking.interfaces.