Commit graph

34 commits

Author SHA1 Message Date
4f2515ba26
Use correct api path for devices. Idiot. 2019-09-11 21:01:23 +02:00
1f7e699718
Remove unused package. 2019-09-11 20:59:39 +02:00
315815cf9d
if filter is nil. 2019-09-11 20:59:08 +02:00
7fb13bea74
Add debugging. 2019-09-11 20:57:54 +02:00
dcf73c1daf
Fix device_list when filter struct is empty.. 2019-09-11 20:48:47 +02:00
69e732abcd
Add forgotten "?" 2019-09-11 20:26:54 +02:00
037c44b93f
Simplify device_list. 2019-09-11 20:25:49 +02:00
b1803645b8
s/nbclient/netboxgo/g 2019-09-11 20:12:42 +02:00
Kalle Carlbark
fdadc620e7
Discard local context json data. 2019-09-11 14:18:18 +02:00
Kalle Carlbark
e346c5c0e8
Add forgotten omitempty in DeviceFilter. 2019-09-11 14:01:58 +02:00
Kalle Carlbark
08c0cd8ace
Add forgotten omitempty in DeviceFilter. 2019-09-11 14:01:03 +02:00
Kalle Carlbark
4b671c2ac4
add ListDevices() 2019-09-11 13:53:11 +02:00
Kalle Carlbark
36129c8f88
Refactor functions. 2019-09-11 13:13:22 +02:00
Kalle Carlbark
37458a35ed
Fix ListInterfaces 2019-09-11 11:39:31 +02:00
Kalle Carlbark
f174476cdc
omitempty for offset and limimt. 2019-09-11 11:19:36 +02:00
Kalle Carlbark
764ebce42b
omitempty for URL schema. 2019-09-11 11:18:45 +02:00
Kalle Carlbark
275013bd15
Query. 2019-09-11 11:17:20 +02:00
Kalle Carlbark
7f3a92bc64
Query. 2019-09-11 11:16:13 +02:00
Kalle Carlbark
45f1db6263
Add schema et all. 2019-09-11 11:09:09 +02:00
Kalle Carlbark
45da04bec7
add ListInterface() method. 2019-09-11 11:04:53 +02:00
Kalle Carlbark
491acef347
Perhaps it is good to use the right path for api? Idiot. 2019-09-11 10:03:06 +02:00
Kalle Carlbark
53d15e76f4
fix auth. 2019-09-11 09:59:24 +02:00
Kalle Carlbark
bbed21d42b
Fix auth. 2019-09-11 09:55:15 +02:00
Kalle Carlbark
16e67cac95
Check response. 2019-09-11 09:45:38 +02:00
Kalle Carlbark
7e370ae5f2
Check response. 2019-09-11 09:43:40 +02:00
Kalle Carlbark
5db9681213
Debug print. 2019-09-11 09:39:44 +02:00
Kalle Carlbark
62df6ed37f
Add InsecureSkipVerify functionality. 2019-09-11 09:38:29 +02:00
Kalle Carlbark
79ae6869a7
fix. 2019-09-11 09:32:51 +02:00
Kalle Carlbark
f554667faa
Lo. 2019-09-11 09:32:15 +02:00
Kalle Carlbark
a10a3eb619
Usable variables and functions must start with a capital letter. 2019-09-11 09:26:41 +02:00
Kalle Carlbark
64cc98fe52
Usable variables and functions must start with a capital letter. 2019-09-11 09:25:23 +02:00
Kalle Carlbark
0f32a49e83
Rename to nbclient. 2019-09-11 09:19:24 +02:00
44968a9d6f
Netbox librarararary. 2019-09-10 22:32:20 +02:00
066a3e5251
first commit 2019-09-10 22:05:25 +02:00