Created
November 10, 2017 01:33
-
-
Save harlowja/ccd24cd802bdf54a0061a5a02e2f8e2a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat sr0/openstack/latest/network_data.json | python -mjson.tool | |
{ | |
"links": [ | |
{ | |
"ethernet_mac_address": "fa:16:3e:60:32:83", | |
"id": "tapf7f00564-60", | |
"mtu": null, | |
"type": "ovs", | |
"vif_id": "f7f00564-60c4-4237-b8fb-cb36bb66458a" | |
} | |
], | |
"networks": [ | |
{ | |
"id": "network0", | |
"ip_address": "10.192.35.66", | |
"link": "tapf7f00564-60", | |
"netmask": "255.255.252.0", | |
"network_id": "edbd37df-7fa8-4e34-a411-5edfc29ff3ca", | |
"routes": [ | |
{ | |
"gateway": "10.192.35.254", | |
"netmask": "0.0.0.0", | |
"network": "0.0.0.0" | |
} | |
], | |
"type": "ipv4" | |
} | |
], | |
"services": [ | |
{ | |
"address": "10.255.250.40", | |
"type": "dns" | |
}, | |
{ | |
"address": "10.255.251.40", | |
"type": "dns" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment