Commit graph

98 commits

Author SHA1 Message Date
Kalle Carlbark
cdbabd262a
Woops, edited the wrong dto 2022-02-08 07:48:07 +01:00
Kalle Carlbark
8a12a2668e
Add ability to list virtual machines 2022-02-07 22:01:45 +01:00
Kalle Carlbark
2bca52c094
Migrate to use secrets store plugin
Move secrets related code to plugin_secrets_store
While here, mute gosecs false positive for G101 on
secretsPath
2022-01-31 16:38:37 +01:00
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
Kalle Carlbark
af589e9fc0
Move integration tests 2021-11-29 11:38:01 +01:00
Kalle Carlbark
ce9f27913f
Don't be dependent on static custom_fields
Make custom_fields a interface{}
2021-11-29 10:20:00 +01:00
6a496accb3 Merge pull request 'migrate-to-new-standard' (#1) from migrate-to-new-standard into master
Reviewed-on: #1
2021-11-29 08:03:17 +00:00
Kalle Carlbark
76df693884
Do not clear from memory for now 2021-11-28 00:04:52 +01:00
Kalle Carlbark
a8316057ce
Add forgotten & 2021-11-28 00:00:18 +01:00
Kalle Carlbark
744837b9c7
Fix URL in new request in special FetchSessionKey 2021-11-27 23:57:14 +01:00
Kalle Carlbark
72862609c5
Use built in function for special FetchSessionKey 2021-11-27 23:52:51 +01:00
Kalle Carlbark
36ba50352a
I should add tests.. :) 2021-11-27 23:46:52 +01:00
Kalle Carlbark
03799c289d
Fix wrong path for secret get-session-key 2021-11-27 23:31:44 +01:00
Kalle Carlbark
47dc036112
Fix FetchSessionKey 2021-11-27 13:24:15 +01:00
Kalle Carlbark
b054d32835
Add ability to set custom token prefix 2021-11-27 13:10:56 +01:00
Kalle Carlbark
e23a54368e
Add tls1.2 ciphers. 2021-11-26 13:39:29 +01:00
Kalle Carlbark
eb8f761cbc
Revert categorized services. 2021-11-26 13:34:15 +01:00
Kalle Carlbark
2be4afbbfd
Bump go version and fix relocation. 2021-11-26 13:24:09 +01:00
Kalle Carlbark
c578285a05
Initialize service structs
* DCIM
* Tenancy
* IPAM
* Virtualization
* Secret
2021-11-26 13:21:19 +01:00
Kalle Carlbark
375dc521dc
do not include pre-commit in repo. 2021-11-26 11:16:54 +01:00
Kalle Carlbark
7fb583bd4e
use correct path 2021-11-26 11:15:19 +01:00
Kalle Carlbark
89a5d96e64
Migrate to new client style 2021-11-26 11:09:27 +01:00
3bec026387
features
o Sites
o Sitegroups
2021-06-01 22:53:19 +02:00
3d05f2b930
Add ability to list device roles 2021-05-26 11:03:05 +02:00
3f5f9eff7d
Add ability to list device types 2021-05-26 10:58:32 +02:00
8383ef9bb9
Add Device to its own type 2021-05-24 15:10:20 +02:00
3eb210c9e5
s/string/interface{} 2021-04-13 11:31:51 +02:00
bab46f5a52
Remove duplicate definition 2021-04-13 11:28:35 +02:00
9089204c6e
Add Dcim device Pod 2021-04-13 11:26:34 +02:00
39413751ba
Fix tags for virtualized devices 2021-04-13 10:55:25 +02:00
7bea2b439f
Fix tags to support newer api. 2021-01-20 16:13:53 +01:00
e8bdaa8429
Break out ipam vlan to its own type 2021-01-20 13:56:08 +01:00
Kalle Carlbark
77e28e6f1e
Fix prefixes as well 2020-12-22 16:44:19 +01:00
Kalle Carlbark
550adeb746
Fix VLAN Data as well. 2020-12-22 16:35:30 +01:00
Kalle Carlbark
19e0e8f21d
Fix netbox 2.9 api changes
Status is no longer returning int but string
2020-12-22 16:20:23 +01:00
Kalle Carlbark
5ec76803a5
PrefixCount and VlanCount is integers. 2020-12-01 12:54:14 +01:00
Kalle Carlbark
1f2c63c568
Linting and add custom fields 2020-11-20 09:53:19 +01:00
Kalle Carlbark
6e2b8836b2
Update to work with netbox > 2.9.0. Take 3. 2020-10-15 13:23:05 +02:00
Kalle Carlbark
d84b5df6dd
Update to work with netbox > 2.9.0. Take 2. 2020-10-15 13:16:42 +02:00
Kalle Carlbark
796f1647ee
Update to work with netbox > 2.9.0 2020-10-15 13:01:55 +02:00
Kalle Carlbark
adfcea80d0
Update netbox_inventory. 2020-09-14 09:40:30 +02:00
Kalle Carlbark
6daf77093a
FetchMode optional. 2020-09-03 13:52:52 +02:00
Kalle Carlbark
6f8127e2ed
Add omitempty. 2020-08-10 10:28:22 +02:00
Kalle Carlbark
a27a5c67ea
Add js.fetch:mode to be used in wasm. 2020-05-27 15:47:37 +02:00
Kalle Carlbark
f0c5180e03
s/Vlan/VLAN/g 2020-03-02 10:14:17 +01:00
Kalle Carlbark
03436dbce9
Convert to Go Modules. 2020-03-02 10:06:21 +01:00
Kalle Carlbark
8b437fcdbb
GoMetaLint cleanup. 2020-03-02 10:00:40 +01:00
Kalle Carlbark
d7bf99be52
Update Face to string to work with netbox >= 2.7. 2020-02-24 15:29:51 +01:00
Kalle Carlbark
d6623a46c9
Update to work with Netbox >= 2.7. 2020-02-24 15:25:26 +01:00
42a0bb87e1
Fix listprefixes struct. 2020-02-09 22:59:14 +01:00