Commit Graph

50 Commits

Author SHA1 Message Date
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
Alvaro Arriola
992a8f1d5f More typos. Tested all changes. 2019-10-11 18:08:22 +02:00
Alvaro Arriola
2d25907cba Fixing typos. 2019-10-11 17:30:38 +02:00
Alvaro Arriola
8a40c6e0a3 Merge branch 'master' of https://github.com/netbox-community/netbox-docker 2019-10-11 17:06:18 +02:00
Christian Mäder
86de0d850b
Updating the initializer platform examples
rpc client was removed from netbox
2019-10-11 16:15:03 +02:00
Alvaro Arriola
4e1ac2392d Added newline and breaks. 2019-10-11 15:46:32 +02:00
Alvaro Arriola
821d6c8672 Fixed further requirements. 2019-10-10 17:35:06 +02:00
Alvaro Arriola
0b5214d247 Fixed aesthetics. 2019-10-10 16:52:29 +02:00
Alvaro Arriola
4cb5b9f20d Added more startup_scripts and initializers examples. 2019-07-04 14:10:56 +02:00
Aleksandar Radunovic
2fe139cb3c Reorder device types data 2018-10-31 10:58:42 +01:00
Aleksandar Radunovic
aa68548f41 Add Plaform seeds 2018-10-30 14:22:04 +01:00
Aleksandar Radunovic
8b8620864c Replace trademarked names with generic ones 2018-10-30 10:11:05 +01:00
Aleksandar Radunovic
a120a95184 Fix initializers 2018-10-16 13:26:23 +02:00
Aleksandar Radunovic
7e6edd1bf5 Merge branch 'master' into add-more-seeds 2018-10-16 11:32:41 +02:00
Aleksandar Radunovic
90ae5cf01d Add device seeds 2018-10-15 15:15:41 +02:00
Aleksandar Radunovic
ebb7779b5f Add device role seeds 2018-10-15 15:15:23 +02:00
Aleksandar Radunovic
60f7de1898 Add rack seeds 2018-10-15 15:15:09 +02:00
Aleksandar Radunovic
89fddbe0ab Add rack role seeds 2018-10-15 15:14:42 +02:00
Aleksandar Radunovic
a2b08a6ca5 Add device type seeds 2018-10-15 15:14:27 +02:00
Aleksandar Radunovic
86675278ab Add manufacturer seeds 2018-10-15 15:14:11 +02:00
Aleksandar Radunovic
791027f77b Add site seeds 2018-10-15 15:13:51 +02:00
Aleksandar Radunovic
819f325bd5 Add region seeds 2018-10-15 15:13:26 +02:00
Christian Mäder
4053a714f8 Add permissions to user/group initializers
Thank you @bdlamprecht for researching how to add permissions to
users and groups in #92.

Fixes #92
2018-10-13 17:44:01 +02:00
thde
d851f28913 fix deprecated value 2018-06-28 09:28:07 +02:00
Demian
c85f658982
Merge branch 'master' into auto_weight_choices 2018-06-25 16:31:39 +02:00
Grokzen
187c349fde Add support for auto_weight counter on choices when loading selection field from custom_fields.yml
This also fixes a bug when using the same value for 2 different custom fields breaks becuase it tries to
create a new CustomFieldChoice object instead of reusing the one that already exists.
2018-05-18 21:17:21 +02:00
Grokzen
cdbfdaf361 Implement fix for field 'filterable' that was broken. Added new custom field parameter 'filter_logic' 2018-05-18 21:16:01 +02:00
Christian Mäder
43cb9f7e50
Include Initializers
Initializers are startup scripts for common tasks like creating custom
fields. These are problems many users of Netbox Docker potentially face
and are therefore worth sharing.
2018-02-16 10:25:51 +01:00