Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> print(json.dumps(a, indent=4))
- {
- "links": [
- {
- "mtu": 1500,
- "ethernet_mac_address": "fa:16:3e:99:59:c6",
- "type": "ovs",
- "vif_id": "68f096f7-8155-4cfc-8b87-dedb565cc2eb",
- "id": "tap68f096f7-81"
- }
- ],
- "networks": [
- {
- "link": "tap68f096f7-81",
- "type": "ipv4_dhcp",
- "network_id": "dd30bcfe-1e79-4839-8982-375a33f8e649",
- "id": "network0"
- },
- {
- "network_id": "dd30bcfe-1e79-4839-8982-375a33f8e649",
- "routes": [
- {
- "network": "::",
- "gateway": "2604:???:9::1",
- "netmask": "::"
- }
- ],
- "services": [],
- "id": "network1",
- "link": "tap68f096f7-81",
- "type": "ipv6",
- "ip_address": "2604:???:9:19:f180:658c:2eeb:520c",
- "netmask": "ffff:ffff:ffff::"
- }
- ],
- "services": [
- {
- "address": "8.8.8.8",
- "type": "dns"
- },
- {
- "address": "8.8.4.4",
- "type": "dns"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement