Commit graph

108 commits

Author SHA1 Message Date
Kalle Carlbark
14c9b748c6
Forgot to add the new services to the client 2022-02-09 10:42:44 +01:00
Kalle Carlbark
9d226de485
remove debug 2022-02-09 10:37:28 +01:00
Kalle Carlbark
91f953156e
slash issue? 2022-02-09 10:36:00 +01:00
Kalle Carlbark
517376dd91
DEBUGGGG 2022-02-09 10:15:31 +01:00
Kalle Carlbark
4a5e3740df
debugf 2022-02-09 10:10:49 +01:00
Kalle Carlbark
4f01c4eb9a
Add debugf 2022-02-09 10:04:17 +01:00
Kalle Carlbark
d98de3282c
Update netbox dto's 2022-02-09 09:59:14 +01:00
Kalle Carlbark
d107d2f742
Add new abilities
* List cluster types
* List Platforms
2022-02-09 08:16:20 +01:00
Kalle Carlbark
e47de1a498
Omit empty fields on NewVirtualMachine 2022-02-08 14:56:51 +01:00
Kalle Carlbark
e6298e598a
Add ability to remove virtual-machine 2022-02-08 08:23:25 +01:00
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