1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | $ curl --silent http://169.254.169.254/openstack/2017-02-22/network_data.json | python3 -m json.tool
{
"services": [
{
"type": "dns",
"address": "10.245.160.2"
}
],
"networks": [
{
"network_id": "dde23855-5cd8-4a08-a200-098679aa6a27",
"link": "tap5cfc3216-16",
"type": "ipv4_dhcp",
"id": "network0"
}
],
"links": [
{
"ethernet_mac_address": "fa:16:3e:94:4c:aa",
"mtu": 8958,
"type": "ovs",
"id": "tap5cfc3216-16",
"vif_id": "5cfc3216-16d0-4fdf-8a42-f016d562a684"
}
]
}
|