Thompson, Lon
047f2abdb5
adding contact startups
2022-04-25 15:51:32 +02:00
Tobias Genannt
f13a6573a8
Merge pull request #736 from kr3ator/feature/cable_initializers
...
Startup script for cables
2022-04-25 15:44:36 +02:00
kr3ator
d482e623df
fix: Template and non-template fields example
2022-04-19 12:54:37 +02:00
kr3ator
57da852af6
Cabling script minor updates
2022-04-12 14:47:24 +02:00
Tobias Genannt
4c21344e8b
Merge pull request #744 from kr3ator/feature/interfaces_improvements
...
Add support for bridge, lag, parent in DCIM Interfaces startup script
2022-04-12 14:07:56 +02:00
kr3ator
302c0fed59
Cable startup script
2022-04-12 13:51:57 +02:00
kr3ator
0e7afe466d
feat: Add support for bridge, lag, parent
2022-04-12 13:49:44 +02:00
kr3ator
dd8dce1b49
feat: Add support for DeviceType components
2022-04-08 15:57:46 +02:00
kr3ator
9be7b0e109
feat: Make startup scripts idempotent
2022-04-07 19:47:19 +02:00
kr3ator
d1c69e8fe5
fix: invalid Interface optional assoc
2022-04-06 16:45:25 +02:00
kr3ator
81d9e4f560
Fix setting CF data if CF object is missing
2022-04-06 14:09:07 +02:00
Ryan Merolle
8860d32f97
Cleanup & Reorg startup scripts ( #691 )
...
* Cleanup & Reorg startup scripts
2022-02-03 17:10:39 +01:00
Tobias Genannt
ee47ba04bc
Added ASN initializer script
2022-01-10 10:49:51 +01:00
Uwe Grawert
ce8db1065d
Fix some small typos in startup_scripts
...
- group creation prints proper group name
- permission creation prints proper permission name
2021-10-25 14:36:37 +02:00
Tobias Genannt
2b4c058af8
Set filter_logic from YAML file
2021-10-21 17:06:24 +02:00
Jelizaveta Lemeševa
057728b774
Allow sites to be initialized with tenants
2021-05-28 11:26:34 +03:00
Tobias Genannt
e2cc9386fb
Secrets are removed in Netbox 2.12
2021-05-18 09:32:48 +02:00
Tobias Genannt
fd55ec220c
Merge pull request #497 from ryanmerolle/startup-scripts-2.10+
...
user, group, & permissions fix
2021-04-27 09:05:14 +02:00
ryanmerolle
1f3d9463f9
apply black formating to all startup_scripts
2021-04-26 10:26:10 -04:00
ryanmerolle
8678ad92ce
update permission user & group lookup as suggested
2021-04-26 09:17:25 -04:00
ryanmerolle
474ca9e78f
fully working object permissions
2021-04-25 16:31:50 -04:00
ryanmerolle
12401f2a3f
correct black formatting for object_permissions.py
2021-04-25 12:13:27 -04:00
ryanmerolle
528bc17eb8
correct flake8 in object_permissions.py
2021-04-25 11:59:13 -04:00
ryanmerolle
4e31218ce6
update object permission conditionals
2021-04-25 11:15:46 -04:00
ryanmerolle
a1e0c52825
revert startup scripts to use key for object name
2021-04-24 10:41:06 -04:00
ryanmerolle
744ed91e2a
permissions script cleanup
2021-04-21 12:33:35 -04:00
ryanmerolle
b1bcfcbc4e
fix isort on groups & permissions scripts
2021-04-21 08:27:20 -04:00
ryanmerolle
a7a5d13637
updated given linting feedback
2021-04-20 18:05:47 -04:00
ryanmerolle
5d4ecb7f9e
user, group, & permissions fix
2021-04-20 17:47:49 -04:00
Tobias Genannt
c7df608696
Merge pull request #485 from tobiasge/prepare-2.11
...
Initializer updates for Netbox 2.11
2021-04-16 20:00:35 +02:00
Tobias Genannt
752f592e58
Fixed Python f-string
...
Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
2021-04-13 15:50:23 +02:00
Tobias Genannt
f637de88f0
Improved error logging
2021-04-13 14:38:52 +02:00
Tobias Genannt
9874cef369
VLAN Groups can be scoped to multiple types
2021-04-07 15:18:33 +02:00
Tobias Genannt
1c4b6741ac
Fixed isort issues
2021-04-07 11:01:01 +02:00
Tobias Genannt
45824ba4f3
Devices can be added to locations
2021-04-07 09:57:59 +02:00
Tobias Genannt
5944086435
Rack groups have been renamed to locations
2021-04-07 09:40:58 +02:00
Marcus Crane
a2e33c166d
Fix link name reference if content type is invalid
...
Currently, the name of a custom link is referenced
as if it is an object attribute which causes a break
due to it actually being a dictionary.
This minor change means that the startup script won't
*ahem* fail upon failing :)
Signed-Off-by: Marcus Crane <marcus.crane@daimler.com>
2021-04-01 18:48:13 +13:00
Christian Mäder
493fc60401
Use black as formatter for python files
2021-02-08 18:24:29 +01:00
Christian Mäder
16ae063321
Adjust to repository standards
2021-02-08 10:36:50 +01:00
Schylar Utley
e4e2c788a9
Update 290_webhooks.py
...
Move to a more standard method of object handling
2021-02-08 10:09:55 +01:00
Schylar Utley
f88f4e1579
Update startup_scripts/290_webhooks.py
...
Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
2021-02-08 10:09:55 +01:00
Schylar Utley
95f4d7856a
Update startup_scripts/280_custom_links.py
...
Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
2021-02-08 10:09:55 +01:00
Schylar Utley
07a0b1d7ef
Update startup_scripts/280_custom_links.py
...
Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
2021-02-08 10:09:55 +01:00
Schylar Utley
fe811f37bd
replace loop with list comprehension
2021-02-08 10:09:55 +01:00
Schylar Utleye
8321449cc0
add icons to help messages
2021-02-08 10:09:55 +01:00
Schylar Utleye
618feff63a
add error handling for webhook and custom links. fix initializer comments
2021-02-08 10:09:55 +01:00
Schylar Utleye
a3cf645dc5
fix webhook initializer yaml and webhook startup script to work with latest netbox release
2021-02-08 10:09:55 +01:00
Schylar Utleye
7112a88359
add webhook initializer
2021-02-08 10:09:54 +01:00
Schylar Utleye
187ae4b2a1
add custom link initializers
2021-02-08 10:09:54 +01:00
Schylar Utley
a0f7737916
rebase and fix script order
2021-01-20 09:03:04 +01:00