mmaeso

Data returned by nb_lookup

Jun 3rd, 2022
407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.66 KB | None | 0 0
  1.         {
  2.             "key": 9,
  3.             "value": {
  4.                 "address": "172.16.1.1/32",
  5.                 "assigned_object": {
  6.                     "_occupied": false,
  7.                     "cable": null,
  8.                     "device": {
  9.                         "display": "R1",
  10.                         "id": 21,
  11.                         "name": "R1",
  12.                         "url": "http://netbox-demo:8500/api/dcim/devices/21/"
  13.                     },
  14.                     "display": "Lo1",
  15.                     "id": 33,
  16.                     "name": "Lo1",
  17.                     "url": "http://netbox-demo:8500/api/dcim/interfaces/33/"
  18.                 },
  19.                 "assigned_object_id": 33,
  20.                 "assigned_object_type": "dcim.interface",
  21.                 "created": "2022-02-23T00:00:00Z",
  22.                 "custom_fields": {},
  23.                 "description": "",
  24.                 "display": "172.16.1.1/32",
  25.                 "dns_name": "",
  26.                 "family": {
  27.                     "label": "IPv4",
  28.                     "value": 4
  29.                 },
  30.                 "id": 9,
  31.                 "last_updated": "2022-02-23T14:30:33.803382Z",
  32.                 "nat_inside": null,
  33.                 "nat_outside": null,
  34.                 "role": {
  35.                     "label": "Loopback",
  36.                     "value": "loopback"
  37.                 },
  38.                 "status": {
  39.                     "label": "Active",
  40.                     "value": "active"
  41.                 },
  42.                 "tags": [],
  43.                 "tenant": null,
  44.                 "url": "http://netbox-demo:8500/api/ipam/ip-addresses/9/",
  45.                 "vrf": null
  46.             }
  47.  
Advertisement
Add Comment
Please, Sign In to add comment