- Feb 09, 2018
-
-
Benjamin Bertrand authored
Fixes INFRA-197
-
Benjamin Bertrand authored
- add domain_id on NetworkScope table to define a default domain - add domain_id on Network (default to the Network Scope one) Fixes INFRA-194
-
- Dec 22, 2017
-
-
Benjamin Bertrand authored
One should be able to enter a MAC when creating/editing an interface.
-
- Dec 20, 2017
-
-
Benjamin Bertrand authored
- Only admin should be able to create networks - Deleting an interface should require at least create group (should that be restricted to admin?)
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Add delete and delete-orphan options to the cascade behavior: - delete: delete from database associated cnames when deleting an interface - delete-orphan: delete cname when removing it from the list of interface.cnames
-
- Dec 19, 2017
-
-
Benjamin Bertrand authored
Allow to create/delete cnames when creating/deleting interfaces
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
- Dec 18, 2017
-
-
Benjamin Bertrand authored
Allow to customize the default selected values: - the default network prefix can be defined in the configuration (default to 24) - the default first and last IP chosen can probably be improved it defaults to hosts[9] and hosts[-5] if the list has more than 15 elements or the first and last otherwise Note that when using a small prefix (< 19), the number of possilbe IPs is quite large and updating the first and last IP select field takes some time...
-
- Dec 15, 2017
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Use endpoint argument to avoid collision with flask-admin Network
-
Benjamin Bertrand authored
If a selectfield is disabled, None is returned (not a string). To pass wtforms validation, that value shall be part of the choices. We use None as the value for SelectField that are optional (instead of ''). We were previously converting '' to None when creating a model. We now use the coerce function to let the form convert 'None' to None.
-
Benjamin Bertrand authored
-
- Dec 13, 2017
-
-
Benjamin Bertrand authored
main blueprint splitted in: - inventory - networks
-