Commit Graph

77 Commits

Author SHA1 Message Date
Tobias Genannt f637de88f0 Improved error logging 2021-04-13 14:38:52 +02:00
Tobias Genannt 3673196c16 Fields in Custom links have been renamed 2021-04-07 15:19:14 +02:00
Tobias Genannt 9874cef369 VLAN Groups can be scoped to multiple types 2021-04-07 15:18:33 +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
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 2e5d84612d Update initializers/custom_links.yml
Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
2021-02-08 10:09:55 +01:00
Schylar Utley 744f0e57ad Update initializers/webhooks.yml
Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
2021-02-08 10:09:55 +01:00
Schylar Utley 52c51b5f99 Update initializers/custom_links.yml
Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
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 d0c786e831 Update webhooks.yml
fix comment
2021-02-08 10:09:54 +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
ryanmerolle 2372c1eeff remove site from power_feeds 2021-01-15 15:02:01 -05:00
ryanmerolle 00fa1793d0 update services examples 2021-01-15 14:14:07 -05:00
ryanmerolle 4260e9b864 more comment corrections 2021-01-15 09:26:09 -05:00
ryanmerolle 02713e1465 showcase protcol options in services initializer 2021-01-15 09:23:21 -05:00
ryanmerolle 728a16c93d correct initializers commenting 2021-01-15 09:19:21 -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 e3946af27c added tenant to example aggregates.yml 2020-12-30 19:09:27 -05:00
ryanmerolle 8d8c58df54 optional assoc to cluster & circuit startup_script 2020-12-30 19:09:08 -05:00
ryanmerolle 90018fc6d7 add cluster group startup script 2020-12-29 22:10:19 -05:00
ryanmerolle 621fa12934 comment out secret roles 2020-12-29 22:09:31 -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 349e269356 Remove the legacy select_field from the samples
This was only used for testing.
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 2b361c4541 Merge branch 'develop' of https://github.com/Tassatux/netbox-docker into Tassatux-develop 2020-10-18 11:24:51 +02:00
Eric Geldmacher 1133ef50de Fix sites.yml initializer 2020-09-15 15:38:24 -05:00
Aurélien Dunand df72d6bbb5 Handle primary IPs on devices and VMs 2020-06-05 13:12:27 +02:00
Christian Mäder ba3176f140 Added missing keywords to the yaml
... and moved some documentatory comments to the beginning of the file.
2020-01-31 11:37:05 +01:00
Les Begnaud f4e243d5ad update example to note yaml restriction 2020-01-31 09:27:34 +01:00
Les Begnaud aa0d2a6e01 simplify yml definitions to use wildcard syntax 2020-01-31 09:27:34 +01:00
Les Begnaud cce4370d41 add permission example 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
Christian Mäder 4a58676647 Update Device Initializer for Netbox 2.7
The device 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 devices.yml file as
follows:

- Make sure the rack face 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 7b914d31d6 Update Rack Initializer for Netbox 2.7
The rack 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 racks.yml file as follows:

- Rack types must match one of the 5 rack types given, e.g.
  '4-post-cabinet'.
- Rack width must match one of the 2 rack widths given, i.e. '19' or
  '23'.

See the diff of this commit for further information how this is meant.
2020-01-20 08:39:26 +01:00
Christian Mäder c001626b85 Update Custom Fields Initializer for Netbox 2.7
The custom field 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 custom_fields.yml file as
follows:

- type must be lowercase
  - the `selection` type was changed to `select`
- the filter_logic must be lower case

This is to achieve compatibility with the naming schema that
Netbox uses internally. It allows us to become forward compatible
in case Netbox ever introduces a new type for custom fields.

See the diff of this commit for further information how this is meant.
2020-01-20 08:39:26 +01:00
Jeroen Simonetti 93dee74459 Add rack group initialiser
Fixes #192

Signed-off-by: Jeroen Simonetti <jeroen@simonetti.nl>
2019-12-11 10:57:14 +01:00
Christian Mäder e894cdaa06 Reformat initializers and add some IPv6 examples 2019-10-12 14:23:41 +02:00