Skip to content
Snippets Groups Projects
Commit 3ba2d249 authored by Hakan Calim's avatar Hakan Calim
Browse files

NAT-286: fixtures folder with json files removed

parent 78d8f1aa
No related branches found
No related tags found
1 merge request!89Feature/nat 286 create unit tests for netbox client
Pipeline #84294 passed
{
"id": 1,
"name": "test1-edge1",
"display_name": "test1-edge1",
"device_type": {
"id": 1,
"url": "http://localhost:8000/api/dcim/device-types/1/",
"manufacturer": {
"id": 1,
"url": "http://localhost:8000/api/dcim/manufacturers/1/",
"name": "Juniper",
"slug": "juniper"
},
"model": "MX960",
"slug": "mx960"
},
"role": {
"id": 1,
"url": "http://localhost:8000/api/dcim/device-roles/1/",
"name": "Router",
"slug": "router"
},
"tenant": null,
"platform": {
"id": 1,
"url": "http://localhost:8000/api/dcim/platforms/1/",
"name": "Juniper Junos",
"slug": "juniper-junos"
},
"serial": "5555555555",
"asset_tag": null,
"site": {
"id": 1,
"url": "http://localhost:8000/api/dcim/sites/1/",
"name": "TEST1",
"slug": "test1"
},
"rack": {
"id": 1,
"url": "http://localhost:8000/api/dcim/racks/1/",
"name": "A1R1",
"display_name": "A1R1 (T23A01)"
},
"position": 1,
"face": {
"value": 0,
"label": "Front"
},
"parent_device": null,
"status": {
"value": true,
"label": "Active"
},
"primary_ip": {
"id": 1,
"url": "http://localhost:8000/api/ipam/ip-addresses/1/",
"family": 4,
"address": "10.0.255.1/32"
},
"primary_ip4": {
"id": 1,
"url": "http://localhost:8000/api/ipam/ip-addresses/1/",
"family": 4,
"address": "10.0.255.1/32"
},
"primary_ip6": null,
"comments": "",
"local_context_data": {
"testing": "test"
},
"custom_fields": {},
"config_context": {
"test_key": "test_val"
}
}
{
"id": 1,
"device": {
"id": 13,
"url": "http://localhost:8000/api/dcim/devices/13/",
"name": "test1-mothership",
"display_name": "test1-mothership"
},
"name": "thing-1",
"installed_device": null
}
\ No newline at end of file
{
"id": 1,
"name": "Router",
"slug": "router",
"color": "purple"
}
\ No newline at end of file
{
"id": 1,
"manufacturer": {
"id": 1,
"url": "http://localhost:8000/api/dcim/manufacturers/1/",
"name": "Juniper",
"slug": "juniper"
},
"model": "MX960",
"slug": "mx960",
"part_number": "",
"u_height": 16,
"is_full_depth": true,
"interface_ordering": {
"value": 1,
"label": "Slot/position"
},
"is_console_server": false,
"is_pdu": false,
"is_network_device": true,
"subdevice_role": null,
"comments": "",
"custom_fields": {},
"instance_count": 2
}
\ No newline at end of file
{
"id": 1,
"device": {
"id": 2,
"url": "http://localhost:8000/api/dcim/devices/2/",
"name": "test1-core1",
"display_name": "test1-core1"
},
"name": "et-0/0/0",
"form_factor": {
"value": 1400,
"label": "QSFP+ (40GE)"
},
"enabled": true,
"lag": {
"id": 223,
"url": "http://localhost:8000/api/dcim/interfaces/223/",
"name": "ae0"
},
"mtu": null,
"mac_address": null,
"mgmt_only": false,
"description": "",
"is_connected": true,
"connected_endpoint": {
"id": 1,
"url": "http://localhost:8000/api/dcim/interfaces/1/",
"device": {
"id": 1,
"url": "http://localhost:8000/api/dcim/devices/1/",
"name": "tst-endpoint",
"display_name": "tst-endpoint"
},
"name": "eth0",
"cable": 1
},
"connection_status": {
"value": true,
"label": "Connected"
},
"cable": {
"id": 1,
"url": "http://localhost:8000/api/dcim/cables/1/",
"label": ""
},
"mode": {
"value": "tagged",
"label": "Tagged",
"id": 200
},
"untagged_vlan": {
"id": 2,
"url": "http://localhost:8000/api/ipam/vlans/792/",
"vid": 2069,
"name": "v2069",
"display_name": "2069 (v2069)"
},
"tagged_vlans": [
{
"id": 3,
"url": "http://localhost:8000/api/ipam/vlans/248/",
"vid": 1210,
"name": "v1210",
"display_name": "1210 (v1210)"
}
]
}
\ No newline at end of file
{
"id": 1,
"name": "TEST1",
"slug": "test1",
"region": null,
"tenant": null,
"facility": "Test Facility",
"asn": 65535,
"physical_address": "555 Test Ave.\r\nTest, NY 55555",
"shipping_address": "",
"contact_name": "",
"contact_phone": "",
"contact_email": "",
"comments": "",
"custom_fields": {
"test_custom": "Hello",
"test_selection": {
"value": 2,
"label": "second"
}
},
"count_prefixes": 2,
"count_vlans": 1,
"count_racks": 2,
"count_devices": 11,
"count_circuits": 0
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment