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
Schylar Utley
7f8cc76af6
address issue #365
2021-01-20 09:03:04 +01:00
Christian Mäder
21bd7f426c
Merge pull request #393 from MajesticFalcon/vm_init_bug
...
Bugfix - Allow primary device IP without virtual machine initialization
2021-01-20 08:54:13 +01:00
Schylar Utley
385c66e30d
Update startup_scripts/270_primary_ips.py
...
Ah, of course.. I would agree. :)
Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
2021-01-19 12:54:52 -06:00
Schylar Utley
584566b0f0
allow simultaneous virtual machine and device primary ip initialization
2021-01-15 23:44:10 -06:00
Schylar Utley
5399f8c890
Update 270_primary_ips.py
...
fix issue where user has no virtual machines defined, but startup script still tries to iterate over empty file.
2021-01-15 23:42:26 -06:00
ryanmerolle
2372c1eeff
remove site from power_feeds
2021-01-15 15:02:01 -05:00
ryanmerolle
788aeacd9b
correct missing required sites in power_feeds
2021-01-15 14:25:42 -05:00
ryanmerolle
94509f86d7
added route_targets startup_script
2020-12-30 19:11:09 -05:00
ryanmerolle
818266ace1
added services startup_script
2020-12-30 19:10:46 -05:00
ryanmerolle
dfb0327340
Added power startup_scripts
2020-12-30 19:10:30 -05:00
ryanmerolle
8d8c58df54
optional assoc to cluster & circuit startup_script
2020-12-30 19:09:08 -05:00
ryanmerolle
cbaaffc589
add extra space after ▶️ to remove text overlap
2020-12-30 18:23:12 -05:00
ryanmerolle
0f1cc9eea0
add tenant to aggregate startup_script
2020-12-30 18:22:12 -05:00
ryanmerolle
90018fc6d7
add cluster group startup script
2020-12-29 22:10:19 -05:00
ryanmerolle
3094665092
add tags & secret roles
2020-12-29 19:36:58 -05:00
ryanmerolle
31f52041f8
correct circuit model startup scripts
2020-12-29 18:27:41 -05:00
ryanmerolle
6ab38472be
circuits model startup_scripts
2020-12-29 16:24:16 -05:00
Christian Mäder
e383fd42bd
Fix custom fields initializer
2020-12-14 22:11:01 +01:00
Christian Mäder
234baa40a5
Remove redundant assignment in for loop
2020-12-14 20:58:50 +01:00
Christian Mäder
5c9bea8b50
Update Custom Field logic for Netbox v2.10.x
2020-12-14 20:58:43 +01:00
Christian Mäder
fd3d3d11d1
Tiny refactoring
2020-10-20 20:46:43 +02:00
Christian Mäder
f553d17655
Change log message
2020-10-18 11:31:48 +02:00
Christian Mäder
2b361c4541
Merge branch 'develop' of https://github.com/Tassatux/netbox-docker into Tassatux-develop
2020-10-18 11:24:51 +02:00
Tobias Genannt
b02a93904e
Fixed IP address creation for Netbox 2.9
2020-08-24 14:20:35 +02:00
Tobias Genannt
3ace32dfc2
Fixed creation of passwords for Netbox 2.9
2020-08-24 11:08:28 +02:00
Tobias Genannt
9fae2b0f74
Fixed VM interface creation for Netbox 2.9
2020-08-24 11:08:23 +02:00
Aurélien Dunand
df72d6bbb5
Handle primary IPs on devices and VMs
2020-06-05 13:12:27 +02:00
Christian Mäder
ccad15ecf7
Don't try to run non-python files
2020-06-02 13:37:57 +02:00
Tobias Genannt
b7ad18afb0
Fix #303 for Netbox v2.8.5
...
In this Netbox version the ColorChoices where moved to utilities.choiceFix #303 for Netbox v2.8.5
In this Netbox version the ColorChoices where moved to utilities.choicess
2020-05-27 09:10:24 +02:00
Aurélien Dunand
a9232e4f30
Add optional primary_ip on virtual machines initializer
2020-05-22 17:40:11 +02:00
Christian Mäder
77feec30a0
Don't stop when startup_scripts quit
...
Fixes #284
2020-05-14 16:59:30 +02:00
Tobias Genannt
8d3bd48c7a
Permission handling in external function
...
This move the setting of user and group permissions in the startup
script to its own function.
2020-02-12 09:36:49 +01:00
Tobias Genannt
50ade7bce1
Add function to load YAML files
...
This commit starts to remove some code redundancy from the startup
scripts for easier maintenance.
2020-02-10 07:47:17 +01:00
Christian Mäder
3d80cc5a72
Tiny code refactoring
2020-02-02 09:48:02 +01:00
Christian Mäder
69ef7b7827
Removed the eval from the code
...
... and changed it to make it work with the latest Netbox version.
2020-01-31 11:39:05 +01:00
Christian Mäder
a2c06026d5
Ajdust indents in __main__.py
...
... so that the match the style of the other python code in this project
2020-01-31 11:35:25 +01:00
Les Begnaud
aa0d2a6e01
simplify yml definitions to use wildcard syntax
2020-01-31 09:27:34 +01:00
Les Begnaud
927a545f41
adjust groups and users startup scripts to allow custom codename filter
2020-01-31 09:27:34 +01:00
Christian Mäder
27f671e41a
Update IP Initializer for Netbox 2.7
...
The ip address database model has changed in Netbox 2.7.
Therefore the initializer code, that was used before, broke.
As a user, you will need to update your ip_addresses.yml
file as follows:
- Make sure the status is written in lower case.
See the diff of this commit for further information how this is meant.
2020-01-20 08:39:26 +01:00
Christian Mäder
74a0e2cf6e
Update Interfaces Initializer for Netbox 2.7
...
The interface database model has changed in Netbox 2.7.
Therefore the initializer code, that was used before, broke.
As a user, you will need to update your dcim_interfaces.yml
file as follows:
- Make sure the type is a value out of the possible choices.
See the diff of this commit for further information how this is meant.
2020-01-20 08:39:26 +01:00
Christian Mäder
f3403cd0f5
Update VM Initializer for Netbox 2.7
...
The vm database model has changed in Netbox 2.7.
Therefore the initializer code, that was used before, broke.
As a user, you will need to update your virtual_machines.yml
file as follows:
- Make sure the status is spelled lowercase.
See the diff of this commit for further information how this is meant.
2020-01-20 08:39:26 +01:00
Christian Mäder
8d8b9a157e
Update VLAN Initializer for Netbox 2.7
...
The VLAN database model has changed in Netbox 2.7.
Therefore the initializer code, that was used before, broke.
As a user, you will need to update your vlans.yml file as follows:
- Make sure the status is spelled lowercase.
See the diff of this commit for further information how this is meant.
2020-01-20 08:39:26 +01:00