Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. >>> print(json.dumps(a, indent=4))
  2. {
  3. "links": [
  4. {
  5. "mtu": 1500,
  6. "ethernet_mac_address": "fa:16:3e:99:59:c6",
  7. "type": "ovs",
  8. "vif_id": "68f096f7-8155-4cfc-8b87-dedb565cc2eb",
  9. "id": "tap68f096f7-81"
  10. }
  11. ],
  12. "networks": [
  13. {
  14. "link": "tap68f096f7-81",
  15. "type": "ipv4_dhcp",
  16. "network_id": "dd30bcfe-1e79-4839-8982-375a33f8e649",
  17. "id": "network0"
  18. },
  19. {
  20. "network_id": "dd30bcfe-1e79-4839-8982-375a33f8e649",
  21. "routes": [
  22. {
  23. "network": "::",
  24. "gateway": "2604:???:9::1",
  25. "netmask": "::"
  26. }
  27. ],
  28. "services": [],
  29. "id": "network1",
  30. "link": "tap68f096f7-81",
  31. "type": "ipv6",
  32. "ip_address": "2604:???:9:19:f180:658c:2eeb:520c",
  33. "netmask": "ffff:ffff:ffff::"
  34. }
  35. ],
  36. "services": [
  37. {
  38. "address": "8.8.8.8",
  39. "type": "dns"
  40. },
  41. {
  42. "address": "8.8.4.4",
  43. "type": "dns"
  44. }
  45. ]
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement