Ubuntu Pastebin

Paste from smoser at Fri, 27 May 2016 16:59:17 +0000

Download as text
 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
$ python3 -c 'from cloudinit.url_helper import readurl; import sys, json; print(json.dumps(json.loads(readurl(sys.argv[1]).contents.decode()), indent=1))' http://169.254.169.254/openstack/latest/network_data.json 
{
 "links": [
  {
   "id": "tapf6f6405e-15",
   "mtu": null,
   "type": "ovs",
   "ethernet_mac_address": "fa:16:3e:a6:41:0b",
   "vif_id": "f6f6405e-15f5-44c0-bb40-75488b4dae41"
  }
 ],
 "networks": [
  {
   "network_id": "db6a8975-5ca2-49d6-8ca7-f8747a163e58",
   "id": "network0",
   "link": "tapf6f6405e-15",
   "type": "ipv4_dhcp"
  }
 ],
 "services": [
  {
   "address": "10.245.160.2",
   "type": "dns"
  }
 ]
}
Download as text