netboxgo/testdata/dcim_devices_list.json
Kalle Carlbark 92eacc150c
Refactoring and tests
Break out tenant to its own type
Rearrange structs to better align with memory
2021-12-19 21:24:29 +01:00

1234 lines
39 KiB
JSON

{
"count": 1700,
"next": "https://netbox.company.com/api/dcim/devices/?limit=10&offset=10",
"previous": null,
"results": [
{
"id": 828,
"url": "https://netbox.company.com/api/dcim/devices/828/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName",
"device_type": {
"id": 82,
"url": "https://netbox.company.com/api/dcim/device-types/82/",
"display": "obfuscatedDisplay",
"manufacturer": {
"id": 21,
"url": "https://netbox.company.com/api/dcim/manufacturers/21/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"model": "obfuscatedModel",
"slug": "obfuscatedSlug",
"display_name": "obfuscatedDisplayName"
},
"device_role": {
"id": 27,
"url": "https://netbox.company.com/api/dcim/device-roles/27/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"tenant": {
"id": 11,
"url": "https://netbox.company.com/api/tenancy/tenants/11/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"platform": null,
"serial": "",
"asset_tag": null,
"site": {
"id": 3,
"url": "https://netbox.company.com/api/dcim/sites/3/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"location": {
"id": 15,
"url": "https://netbox.company.com/api/dcim/locations/15/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug",
"_depth": 0
},
"rack": {
"id": 124,
"url": "https://netbox.company.com/api/dcim/racks/124/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName"
},
"position": null,
"face": null,
"parent_device": {
"id": 827,
"url": "https://netbox.company.com/api/dcim/devices/827/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName",
"device_bay": {
"id": 215,
"url": "https://netbox.company.com/api/dcim/device-bays/215/",
"display": "obfuscatedDisplay",
"device": {
"id": 827,
"url": "https://netbox.company.com/api/dcim/devices/827/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName"
},
"name": "obfuscatedName"
}
},
"status": {
"value": "active",
"label": "Active"
},
"primary_ip": null,
"primary_ip4": null,
"primary_ip6": null,
"cluster": null,
"virtual_chassis": null,
"vc_position": null,
"vc_priority": null,
"comments": "",
"local_context_data": null,
"tags": [],
"custom_fields": {
"dcim_device_bgp_asn": null,
"dcim_device_systemid": null,
"dcim_device_import_os_version": null,
"dcim_device_pod": null,
"dcim_device_os_version": null,
"dcim_devices_import_interfaces": null,
"dcim_device_importvlan": null,
"dcim_device_vxlan_domain": null,
"dcim_device_l2domain": null,
"dcim_device_count_trunk_vlans": null,
"dcim_device_logicalports_device_limit": null,
"dcim_device_logicalports_active_num": null,
"dcim_device_logicalports_configured_num": null,
"dcim_device_count_times_last_run": null,
"dcim_device_import_vrfs": null,
"dcim_device_vrf_tag": null,
"dcim_device_arbitrary_text": null
},
"config_context": {},
"created": "2020-10-07",
"last_updated": "2021-01-26T11:05:07.200105+01:00"
},
{
"id": 907,
"url": "https://netbox.company.com/api/dcim/devices/907/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName",
"device_type": {
"id": 91,
"url": "https://netbox.company.com/api/dcim/device-types/91/",
"display": "obfuscatedDisplay",
"manufacturer": {
"id": 3,
"url": "https://netbox.company.com/api/dcim/manufacturers/3/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"model": "obfuscatedModel",
"slug": "obfuscatedSlug",
"display_name": "obfuscatedDisplayName"
},
"device_role": {
"id": 32,
"url": "https://netbox.company.com/api/dcim/device-roles/32/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"tenant": {
"id": 18,
"url": "https://netbox.company.com/api/tenancy/tenants/18/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"platform": {
"id": 24,
"url": "https://netbox.company.com/api/dcim/platforms/24/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"serial": "",
"asset_tag": null,
"site": {
"id": 3,
"url": "https://netbox.company.com/api/dcim/sites/3/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"location": {
"id": 15,
"url": "https://netbox.company.com/api/dcim/locations/15/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug",
"_depth": 0
},
"rack": {
"id": 107,
"url": "https://netbox.company.com/api/dcim/racks/107/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName"
},
"position": 35,
"face": {
"value": "front",
"label": "Front"
},
"parent_device": null,
"status": {
"value": "active",
"label": "Active"
},
"primary_ip": {
"id": 3486,
"url": "https://netbox.company.com/api/ipam/ip-addresses/3486/",
"display": "obfuscatedDisplay",
"family": 6,
"address": "10.1.1.1/24"
},
"primary_ip4": {
"id": 3476,
"url": "https://netbox.company.com/api/ipam/ip-addresses/3476/",
"display": "obfuscatedDisplay",
"family": 4,
"address": "10.1.1.1/24"
},
"primary_ip6": {
"id": 3486,
"url": "https://netbox.company.com/api/ipam/ip-addresses/3486/",
"display": "obfuscatedDisplay",
"family": 6,
"address": "10.1.1.1/24"
},
"cluster": null,
"virtual_chassis": null,
"vc_position": null,
"vc_priority": null,
"comments": "",
"local_context_data": {
"isis_net": "00.0000.0001.0000.0008.00",
"prefix_sid": 6,
"in_band_mgmt_peer": {
"remote_as": 65058,
"description": "obfuscatedDescription",
"neighbor_v4": "172.18.128.129",
"neighbor_v6": "obfuscatedIPv6",
"update_source": "GigabitEthernet0/0/0/22"
}
},
"tags": [
{
"id": 1902,
"url": "https://netbox.company.com/api/extras/tags/1902/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug",
"color": "4caf50"
}
],
"custom_fields": {
"dcim_device_bgp_asn": null,
"dcim_device_systemid": "",
"dcim_device_import_os_version": null,
"dcim_device_pod": "",
"dcim_device_os_version": "",
"dcim_devices_import_interfaces": null,
"dcim_device_importvlan": null,
"dcim_device_vxlan_domain": "",
"dcim_device_l2domain": "",
"dcim_device_count_trunk_vlans": null,
"dcim_device_logicalports_device_limit": null,
"dcim_device_logicalports_active_num": null,
"dcim_device_logicalports_configured_num": null,
"dcim_device_count_times_last_run": "",
"dcim_device_import_vrfs": null,
"dcim_device_vrf_tag": "",
"dcim_device_arbitrary_text": ""
},
"config_context": {
"ansible_connection": "network_cli",
"ansible_network_os": "obfuscatedAnsibleNetworkOs",
"iae_platform": "obfuscatedIaePlatform",
"isis_net": "00.0000.0001.0000.0008.00",
"prefix_sid": 6,
"in_band_mgmt_peer": {
"remote_as": 65058,
"description": "obfuscatedDescription",
"neighbor_v4": "172.18.128.129",
"neighbor_v6": "obfuscatedIPv6",
"update_source": "GigabitEthernet0/0/0/22"
}
},
"created": "2021-01-19",
"last_updated": "2021-04-19T15:06:29.032212+02:00"
},
{
"id": 2117,
"url": "https://netbox.company.com/api/dcim/devices/2117/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName",
"device_type": {
"id": 115,
"url": "https://netbox.company.com/api/dcim/device-types/115/",
"display": "obfuscatedDisplay",
"manufacturer": {
"id": 3,
"url": "https://netbox.company.com/api/dcim/manufacturers/3/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"model": "obfuscatedModel",
"slug": "obfuscatedSlug",
"display_name": "obfuscatedDisplayName"
},
"device_role": {
"id": 32,
"url": "https://netbox.company.com/api/dcim/device-roles/32/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"tenant": {
"id": 18,
"url": "https://netbox.company.com/api/tenancy/tenants/18/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"platform": {
"id": 24,
"url": "https://netbox.company.com/api/dcim/platforms/24/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"serial": "FOC2527NUP0",
"asset_tag": null,
"site": {
"id": 3,
"url": "https://netbox.company.com/api/dcim/sites/3/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"location": {
"id": 15,
"url": "https://netbox.company.com/api/dcim/locations/15/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug",
"_depth": 0
},
"rack": {
"id": 107,
"url": "https://netbox.company.com/api/dcim/racks/107/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName"
},
"position": 32,
"face": {
"value": "front",
"label": "Front"
},
"parent_device": null,
"status": {
"value": "active",
"label": "Active"
},
"primary_ip": null,
"primary_ip4": null,
"primary_ip6": null,
"cluster": null,
"virtual_chassis": null,
"vc_position": null,
"vc_priority": null,
"comments": "",
"local_context_data": null,
"tags": [
{
"id": 1902,
"url": "https://netbox.company.com/api/extras/tags/1902/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug",
"color": "4caf50"
}
],
"custom_fields": {
"dcim_device_bgp_asn": null,
"dcim_device_systemid": "",
"dcim_device_import_os_version": null,
"dcim_device_pod": "",
"dcim_device_os_version": "",
"dcim_devices_import_interfaces": null,
"dcim_device_importvlan": null,
"dcim_device_vxlan_domain": "",
"dcim_device_l2domain": "",
"dcim_device_count_trunk_vlans": false,
"dcim_device_logicalports_device_limit": null,
"dcim_device_logicalports_active_num": null,
"dcim_device_logicalports_configured_num": null,
"dcim_device_count_times_last_run": "",
"dcim_device_import_vrfs": null,
"dcim_device_vrf_tag": "",
"dcim_device_arbitrary_text": ""
},
"config_context": {
"ansible_connection": "network_cli",
"ansible_network_os": "obfuscatedAnsibleNetworkOs",
"iae_platform": "obfuscatedIaePlatform"
},
"created": "2021-09-13",
"last_updated": "2021-09-16T16:06:11.665218+02:00"
},
{
"id": 908,
"url": "https://netbox.company.com/api/dcim/devices/908/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName",
"device_type": {
"id": 91,
"url": "https://netbox.company.com/api/dcim/device-types/91/",
"display": "obfuscatedDisplay",
"manufacturer": {
"id": 3,
"url": "https://netbox.company.com/api/dcim/manufacturers/3/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"model": "obfuscatedModel",
"slug": "obfuscatedSlug",
"display_name": "obfuscatedDisplayName"
},
"device_role": {
"id": 32,
"url": "https://netbox.company.com/api/dcim/device-roles/32/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"tenant": {
"id": 18,
"url": "https://netbox.company.com/api/tenancy/tenants/18/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"platform": {
"id": 24,
"url": "https://netbox.company.com/api/dcim/platforms/24/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"serial": "",
"asset_tag": null,
"site": {
"id": 3,
"url": "https://netbox.company.com/api/dcim/sites/3/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"location": {
"id": 15,
"url": "https://netbox.company.com/api/dcim/locations/15/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug",
"_depth": 0
},
"rack": {
"id": 107,
"url": "https://netbox.company.com/api/dcim/racks/107/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName"
},
"position": 31,
"face": {
"value": "front",
"label": "Front"
},
"parent_device": null,
"status": {
"value": "active",
"label": "Active"
},
"primary_ip": {
"id": 3487,
"url": "https://netbox.company.com/api/ipam/ip-addresses/3487/",
"display": "obfuscatedDisplay",
"family": 6,
"address": "10.1.1.1/24"
},
"primary_ip4": {
"id": 3477,
"url": "https://netbox.company.com/api/ipam/ip-addresses/3477/",
"display": "obfuscatedDisplay",
"family": 4,
"address": "10.1.1.1/24"
},
"primary_ip6": {
"id": 3487,
"url": "https://netbox.company.com/api/ipam/ip-addresses/3487/",
"display": "obfuscatedDisplay",
"family": 6,
"address": "10.1.1.1/24"
},
"cluster": null,
"virtual_chassis": null,
"vc_position": null,
"vc_priority": null,
"comments": "",
"local_context_data": {
"isis_net": "00.0000.0001.0000.0008.00",
"prefix_sid": 7,
"in_band_mgmt_peer": {
"remote_as": 65058,
"description": "obfuscatedDescription",
"neighbor_v4": "172.18.128.131",
"neighbor_v6": "obfuscatedIPv6",
"update_source": "GigabitEthernet0/0/0/22"
}
},
"tags": [
{
"id": 1902,
"url": "https://netbox.company.com/api/extras/tags/1902/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug",
"color": "4caf50"
}
],
"custom_fields": {
"dcim_device_bgp_asn": null,
"dcim_device_systemid": "",
"dcim_device_import_os_version": null,
"dcim_device_pod": "",
"dcim_device_os_version": "",
"dcim_devices_import_interfaces": null,
"dcim_device_importvlan": null,
"dcim_device_vxlan_domain": "",
"dcim_device_l2domain": "",
"dcim_device_count_trunk_vlans": null,
"dcim_device_logicalports_device_limit": null,
"dcim_device_logicalports_active_num": null,
"dcim_device_logicalports_configured_num": null,
"dcim_device_count_times_last_run": "",
"dcim_device_import_vrfs": null,
"dcim_device_vrf_tag": "",
"dcim_device_arbitrary_text": ""
},
"config_context": {
"ansible_connection": "network_cli",
"ansible_network_os": "obfuscatedAnsibleNetworkOs",
"iae_platform": "obfuscatedIaePlatform",
"isis_net": "00.0000.0001.0000.0008.00",
"prefix_sid": 7,
"in_band_mgmt_peer": {
"remote_as": 65058,
"description": "obfuscatedDescription",
"neighbor_v4": "172.18.128.131",
"neighbor_v6": "obfuscatedIPv6",
"update_source": "GigabitEthernet0/0/0/22"
}
},
"created": "2021-01-19",
"last_updated": "2021-09-13T13:57:22.032302+02:00"
},
{
"id": 1141,
"url": "https://netbox.company.com/api/dcim/devices/1141/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName",
"device_type": {
"id": 104,
"url": "https://netbox.company.com/api/dcim/device-types/104/",
"display": "obfuscatedDisplay",
"manufacturer": {
"id": 10,
"url": "https://netbox.company.com/api/dcim/manufacturers/10/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"model": "obfuscatedModel",
"slug": "obfuscatedSlug",
"display_name": "obfuscatedDisplayName"
},
"device_role": {
"id": 3,
"url": "https://netbox.company.com/api/dcim/device-roles/3/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"tenant": {
"id": 18,
"url": "https://netbox.company.com/api/tenancy/tenants/18/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"platform": {
"id": 9,
"url": "https://netbox.company.com/api/dcim/platforms/9/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"serial": "70042101110154",
"asset_tag": null,
"site": {
"id": 3,
"url": "https://netbox.company.com/api/dcim/sites/3/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"location": null,
"rack": null,
"position": null,
"face": null,
"parent_device": null,
"status": {
"value": "active",
"label": "Active"
},
"primary_ip": null,
"primary_ip4": null,
"primary_ip6": null,
"cluster": null,
"virtual_chassis": null,
"vc_position": null,
"vc_priority": null,
"comments": "",
"local_context_data": null,
"tags": [],
"custom_fields": {
"dcim_device_bgp_asn": null,
"dcim_device_systemid": "",
"dcim_device_import_os_version": null,
"dcim_device_pod": "",
"dcim_device_os_version": "",
"dcim_devices_import_interfaces": null,
"dcim_device_importvlan": null,
"dcim_device_vxlan_domain": "",
"dcim_device_l2domain": "",
"dcim_device_count_trunk_vlans": false,
"dcim_device_logicalports_device_limit": null,
"dcim_device_logicalports_active_num": null,
"dcim_device_logicalports_configured_num": null,
"dcim_device_count_times_last_run": "",
"dcim_device_import_vrfs": null,
"dcim_device_vrf_tag": "",
"dcim_device_arbitrary_text": ""
},
"config_context": {},
"created": "2021-03-15",
"last_updated": "2021-03-15T08:50:03.129649+01:00"
},
{
"id": 2118,
"url": "https://netbox.company.com/api/dcim/devices/2118/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName",
"device_type": {
"id": 115,
"url": "https://netbox.company.com/api/dcim/device-types/115/",
"display": "obfuscatedDisplay",
"manufacturer": {
"id": 3,
"url": "https://netbox.company.com/api/dcim/manufacturers/3/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"model": "obfuscatedModel",
"slug": "obfuscatedSlug",
"display_name": "obfuscatedDisplayName"
},
"device_role": {
"id": 32,
"url": "https://netbox.company.com/api/dcim/device-roles/32/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"tenant": {
"id": 18,
"url": "https://netbox.company.com/api/tenancy/tenants/18/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"platform": {
"id": 24,
"url": "https://netbox.company.com/api/dcim/platforms/24/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"serial": "FOC2527NUP4",
"asset_tag": null,
"site": {
"id": 4,
"url": "https://netbox.company.com/api/dcim/sites/4/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"location": {
"id": 17,
"url": "https://netbox.company.com/api/dcim/locations/17/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug",
"_depth": 0
},
"rack": {
"id": 282,
"url": "https://netbox.company.com/api/dcim/racks/282/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName"
},
"position": 33,
"face": {
"value": "front",
"label": "Front"
},
"parent_device": null,
"status": {
"value": "active",
"label": "Active"
},
"primary_ip": null,
"primary_ip4": null,
"primary_ip6": null,
"cluster": null,
"virtual_chassis": null,
"vc_position": null,
"vc_priority": null,
"comments": "",
"local_context_data": null,
"tags": [
{
"id": 1902,
"url": "https://netbox.company.com/api/extras/tags/1902/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug",
"color": "4caf50"
}
],
"custom_fields": {
"dcim_device_bgp_asn": null,
"dcim_device_systemid": "",
"dcim_device_import_os_version": null,
"dcim_device_pod": "",
"dcim_device_os_version": "",
"dcim_devices_import_interfaces": null,
"dcim_device_importvlan": null,
"dcim_device_vxlan_domain": "",
"dcim_device_l2domain": "",
"dcim_device_count_trunk_vlans": false,
"dcim_device_logicalports_device_limit": null,
"dcim_device_logicalports_active_num": null,
"dcim_device_logicalports_configured_num": null,
"dcim_device_count_times_last_run": "",
"dcim_device_import_vrfs": null,
"dcim_device_vrf_tag": "",
"dcim_device_arbitrary_text": ""
},
"config_context": {
"ansible_connection": "network_cli",
"ansible_network_os": "obfuscatedAnsibleNetworkOs",
"iae_platform": "obfuscatedIaePlatform"
},
"created": "2021-09-13",
"last_updated": "2021-09-16T16:07:01.353051+02:00"
},
{
"id": 909,
"url": "https://netbox.company.com/api/dcim/devices/909/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName",
"device_type": {
"id": 91,
"url": "https://netbox.company.com/api/dcim/device-types/91/",
"display": "obfuscatedDisplay",
"manufacturer": {
"id": 3,
"url": "https://netbox.company.com/api/dcim/manufacturers/3/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"model": "obfuscatedModel",
"slug": "obfuscatedSlug",
"display_name": "obfuscatedDisplayName"
},
"device_role": {
"id": 32,
"url": "https://netbox.company.com/api/dcim/device-roles/32/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"tenant": {
"id": 18,
"url": "https://netbox.company.com/api/tenancy/tenants/18/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"platform": {
"id": 24,
"url": "https://netbox.company.com/api/dcim/platforms/24/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"serial": "",
"asset_tag": null,
"site": {
"id": 4,
"url": "https://netbox.company.com/api/dcim/sites/4/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"location": {
"id": 17,
"url": "https://netbox.company.com/api/dcim/locations/17/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug",
"_depth": 0
},
"rack": {
"id": 282,
"url": "https://netbox.company.com/api/dcim/racks/282/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName"
},
"position": null,
"face": {
"value": "front",
"label": "Front"
},
"parent_device": null,
"status": {
"value": "active",
"label": "Active"
},
"primary_ip": {
"id": 3488,
"url": "https://netbox.company.com/api/ipam/ip-addresses/3488/",
"display": "obfuscatedDisplay",
"family": 6,
"address": "10.1.1.1/24"
},
"primary_ip4": {
"id": 3478,
"url": "https://netbox.company.com/api/ipam/ip-addresses/3478/",
"display": "obfuscatedDisplay",
"family": 4,
"address": "10.1.1.1/24"
},
"primary_ip6": {
"id": 3488,
"url": "https://netbox.company.com/api/ipam/ip-addresses/3488/",
"display": "obfuscatedDisplay",
"family": 6,
"address": "10.1.1.1/24"
},
"cluster": null,
"virtual_chassis": null,
"vc_position": null,
"vc_priority": null,
"comments": "",
"local_context_data": {
"isis_net": "00.0000.0001.0000.0008.00",
"prefix_sid": 8
},
"tags": [
{
"id": 1902,
"url": "https://netbox.company.com/api/extras/tags/1902/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug",
"color": "4caf50"
}
],
"custom_fields": {
"dcim_device_bgp_asn": null,
"dcim_device_systemid": "",
"dcim_device_import_os_version": null,
"dcim_device_pod": "",
"dcim_device_os_version": "",
"dcim_devices_import_interfaces": null,
"dcim_device_importvlan": null,
"dcim_device_vxlan_domain": "",
"dcim_device_l2domain": "",
"dcim_device_count_trunk_vlans": null,
"dcim_device_logicalports_device_limit": null,
"dcim_device_logicalports_active_num": null,
"dcim_device_logicalports_configured_num": null,
"dcim_device_count_times_last_run": "",
"dcim_device_import_vrfs": null,
"dcim_device_vrf_tag": "",
"dcim_device_arbitrary_text": ""
},
"config_context": {
"ansible_connection": "network_cli",
"ansible_network_os": "obfuscatedAnsibleNetworkOs",
"iae_platform": "obfuscatedIaePlatform",
"isis_net": "00.0000.0001.0000.0008.00",
"prefix_sid": 8
},
"created": "2021-01-19",
"last_updated": "2021-09-13T14:30:44.072832+02:00"
},
{
"id": 1142,
"url": "https://netbox.company.com/api/dcim/devices/1142/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName",
"device_type": {
"id": 104,
"url": "https://netbox.company.com/api/dcim/device-types/104/",
"display": "obfuscatedDisplay",
"manufacturer": {
"id": 10,
"url": "https://netbox.company.com/api/dcim/manufacturers/10/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"model": "obfuscatedModel",
"slug": "obfuscatedSlug",
"display_name": "obfuscatedDisplayName"
},
"device_role": {
"id": 3,
"url": "https://netbox.company.com/api/dcim/device-roles/3/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"tenant": {
"id": 18,
"url": "https://netbox.company.com/api/tenancy/tenants/18/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"platform": {
"id": 9,
"url": "https://netbox.company.com/api/dcim/platforms/9/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"serial": "",
"asset_tag": null,
"site": {
"id": 4,
"url": "https://netbox.company.com/api/dcim/sites/4/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"location": {
"id": 17,
"url": "https://netbox.company.com/api/dcim/locations/17/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug",
"_depth": 0
},
"rack": {
"id": 282,
"url": "https://netbox.company.com/api/dcim/racks/282/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName"
},
"position": null,
"face": null,
"parent_device": null,
"status": {
"value": "offline",
"label": "Offline"
},
"primary_ip": null,
"primary_ip4": null,
"primary_ip6": null,
"cluster": null,
"virtual_chassis": null,
"vc_position": null,
"vc_priority": null,
"comments": "",
"local_context_data": null,
"tags": [],
"custom_fields": {
"dcim_device_bgp_asn": null,
"dcim_device_systemid": "",
"dcim_device_import_os_version": null,
"dcim_device_pod": "",
"dcim_device_os_version": "",
"dcim_devices_import_interfaces": null,
"dcim_device_importvlan": null,
"dcim_device_vxlan_domain": "",
"dcim_device_l2domain": "",
"dcim_device_count_trunk_vlans": false,
"dcim_device_logicalports_device_limit": null,
"dcim_device_logicalports_active_num": null,
"dcim_device_logicalports_configured_num": null,
"dcim_device_count_times_last_run": "",
"dcim_device_import_vrfs": null,
"dcim_device_vrf_tag": "",
"dcim_device_arbitrary_text": ""
},
"config_context": {},
"created": "2021-03-15",
"last_updated": "2021-07-07T14:08:37.149013+02:00"
},
{
"id": 691,
"url": "https://netbox.company.com/api/dcim/devices/691/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName",
"device_type": {
"id": 60,
"url": "https://netbox.company.com/api/dcim/device-types/60/",
"display": "obfuscatedDisplay",
"manufacturer": {
"id": 3,
"url": "https://netbox.company.com/api/dcim/manufacturers/3/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"model": "obfuscatedModel",
"slug": "obfuscatedSlug",
"display_name": "obfuscatedDisplayName"
},
"device_role": {
"id": 1,
"url": "https://netbox.company.com/api/dcim/device-roles/1/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"tenant": null,
"platform": null,
"serial": "FOC2011W52A",
"asset_tag": null,
"site": {
"id": 3,
"url": "https://netbox.company.com/api/dcim/sites/3/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"location": null,
"rack": {
"id": 134,
"url": "https://netbox.company.com/api/dcim/racks/134/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName"
},
"position": 36,
"face": {
"value": "front",
"label": "Front"
},
"parent_device": null,
"status": {
"value": "active",
"label": "Active"
},
"primary_ip": null,
"primary_ip4": null,
"primary_ip6": null,
"cluster": null,
"virtual_chassis": {
"id": 27,
"name": "obfuscatedName",
"url": "https://netbox.company.com/api/dcim/virtual-chassis/27/",
"master": {
"id": 691,
"url": "https://netbox.company.com/api/dcim/devices/691/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName"
}
},
"vc_position": 1,
"vc_priority": 13,
"comments": "",
"local_context_data": null,
"tags": [],
"custom_fields": {
"dcim_device_bgp_asn": null,
"dcim_device_systemid": "S117772",
"dcim_device_import_os_version": null,
"dcim_device_pod": null,
"dcim_device_os_version": null,
"dcim_devices_import_interfaces": null,
"dcim_device_importvlan": null,
"dcim_device_vxlan_domain": null,
"dcim_device_l2domain": null,
"dcim_device_count_trunk_vlans": null,
"dcim_device_logicalports_device_limit": null,
"dcim_device_logicalports_active_num": null,
"dcim_device_logicalports_configured_num": null,
"dcim_device_count_times_last_run": null,
"dcim_device_import_vrfs": null,
"dcim_device_vrf_tag": null,
"dcim_device_arbitrary_text": null
},
"config_context": {},
"created": "2020-09-07",
"last_updated": "2021-01-26T11:05:04.989748+01:00"
},
{
"id": 692,
"url": "https://netbox.company.com/api/dcim/devices/692/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName",
"device_type": {
"id": 60,
"url": "https://netbox.company.com/api/dcim/device-types/60/",
"display": "obfuscatedDisplay",
"manufacturer": {
"id": 3,
"url": "https://netbox.company.com/api/dcim/manufacturers/3/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"model": "obfuscatedModel",
"slug": "obfuscatedSlug",
"display_name": "obfuscatedDisplayName"
},
"device_role": {
"id": 1,
"url": "https://netbox.company.com/api/dcim/device-roles/1/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"tenant": null,
"platform": null,
"serial": "FOC2011W52U",
"asset_tag": null,
"site": {
"id": 3,
"url": "https://netbox.company.com/api/dcim/sites/3/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"slug": "obfuscatedSlug"
},
"location": null,
"rack": {
"id": 134,
"url": "https://netbox.company.com/api/dcim/racks/134/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName"
},
"position": 35,
"face": {
"value": "front",
"label": "Front"
},
"parent_device": null,
"status": {
"value": "active",
"label": "Active"
},
"primary_ip": null,
"primary_ip4": null,
"primary_ip6": null,
"cluster": null,
"virtual_chassis": {
"id": 27,
"name": "obfuscatedName",
"url": "https://netbox.company.com/api/dcim/virtual-chassis/27/",
"master": {
"id": 691,
"url": "https://netbox.company.com/api/dcim/devices/691/",
"display": "obfuscatedDisplay",
"name": "obfuscatedName",
"display_name": "obfuscatedDisplayName"
}
},
"vc_position": 2,
"vc_priority": 5,
"comments": "",
"local_context_data": null,
"tags": [],
"custom_fields": {
"dcim_device_bgp_asn": null,
"dcim_device_systemid": "S117773",
"dcim_device_import_os_version": null,
"dcim_device_pod": null,
"dcim_device_os_version": null,
"dcim_devices_import_interfaces": null,
"dcim_device_importvlan": null,
"dcim_device_vxlan_domain": null,
"dcim_device_l2domain": null,
"dcim_device_count_trunk_vlans": null,
"dcim_device_logicalports_device_limit": null,
"dcim_device_logicalports_active_num": null,
"dcim_device_logicalports_configured_num": null,
"dcim_device_count_times_last_run": null,
"dcim_device_import_vrfs": null,
"dcim_device_vrf_tag": null,
"dcim_device_arbitrary_text": null
},
"config_context": {},
"created": "2020-09-07",
"last_updated": "2021-01-26T11:05:04.996829+01:00"
}
]
}