- Feb 28, 2019
-
-
Benjamin Bertrand authored
JIRA INFRA-860 #action In Progress
-
Benjamin Bertrand authored
No need to use ajax to retrieve the content of simple tables. For Ansible groups, it takes some time to retrieve the data due to the list of hosts for each group to compute. We keep the ajax request so that the page is displayed quickly. We might switch to server side processing (like for hosts). JIRA INFRA-860
-
Benjamin Bertrand authored
Allow to specify the gateway for each network JIRA INFRA-809
-
- Feb 07, 2019
-
-
Benjamin Bertrand authored
-
- Feb 04, 2019
-
-
Benjamin Bertrand authored
Host interfaces are always returned sorted by name JIRA INFRA-785 #action In Progress
-
Benjamin Bertrand authored
For Network and Network scope dynamic groups, only the interface with the same name as the host (the main interface) is taken into account. If only another interface is part of the network or network scope, the host is not part of the group. JIRA INFRA-784 #action In Progress
-
- Jan 29, 2019
-
-
Benjamin Bertrand authored
The MAC field has both a Regexp and Unique validators. In wtforms, the validation doesn't stop on the first error (all validators are run). In case of invalid mac address, the Unique validator makes a request to the database that raises a DataError. This exception has to be catched. JIRA INFRA-777 #action In Progress
-
- Jan 28, 2019
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
After a VM or VIOC creation, a post install job can be triggered. The job to trigger is based on the domain and defined in the AWX_POST_INSTALL dictionary. Admin users have the option to skip this post job if required. The job is enqueued in RQ with a dependency on the creation job. So it's only triggered after successful completion of the first one. JIRA INFRA-769
-
- Jan 25, 2019
-
-
Benjamin Bertrand authored
JIRA INFRA-763
-
Benjamin Bertrand authored
- Restrict the width of the vars column - Make the children and hosts a list of comma separated words with space to allow line break JIRA INFRA-763
-
Benjamin Bertrand authored
JIRA INFRA-763
-
Benjamin Bertrand authored
Search on keyword can be made case insensitive by using a normalizer. But some fields with type keyword include several words. They are only returned by entering all words. This is not what most users expect. It's better to use the "text" type by default (for text fields) and add an extra "keyword" field of type "keyword" for sorting. JIRA INFRA-770
-
Benjamin Bertrand authored
JIRA INFRA-763
-
Benjamin Bertrand authored
JIRA INFRA-763 #action In Progress
-
- Jan 23, 2019
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
- Disk size added to the create VM form - Disk size saved to proxmox_disk_space variable in host inventory The proxmox_disk_space variable is used by the Ansible job when creating the machine. JIRA INFRA-759 #action In Progress
-
- Jan 19, 2019
-
-
Benjamin Bertrand authored
JIRA INFRA-725 #action In Progress
-
- Dec 18, 2018
-
-
Benjamin Bertrand authored
Dynamic mapping set to "strict" so that we don't forget to update the mapping when adding new fields to a model. JIRA INFRA-723 #action In Progress
-
- Dec 10, 2018
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Not sure why a tuple instead of network was returned... There must have been a comma at the end of the line due to copy/pasting and black converted that to a tuple. Added a test for the create_interface function. JIRA INFRA-697 #action In Progress
-
- Nov 30, 2018
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Linked to click update to 7.x Subcommands that are named by the function now automatically have the underscore replaced with a dash. If you register a function named my_command it becomes my-command in the command line interface. JIRA INFRA-687
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
- create_host doesn't return 403 for user_lab but 200 because the form validation fails (the network_id is not part of the form choices) - caching disabled during tests the current_user could sometimes return a different username because of caching: the database is cleaned between each test, so different users can have the same id and an old user could be returned instead of the new one due to caching JIRA INFRA-578
-
Benjamin Bertrand authored
- flask-bootstrap dependency removed a while ago - the full static directory shall be passed JIRA INFRA-683
-
Benjamin Bertrand authored
All dependencies upgraded except: - redis (3.0.1 not compatible with rq) - WTForms JIRA INFRA-684
-
Benjamin Bertrand authored
- add fqdn to host - add gateway to network - add netmask to interface - allow to pass recursive via the API (to expand interfaces in host) - add is_main property to interface (True if the interface is the main interface of the host) JIRA INFRA-640
-
- Nov 29, 2018
-
-
Benjamin Bertrand authored
JIRA INFRA-640
-
Benjamin Bertrand authored
JIRA INFRA-640
-
- Nov 28, 2018
-
-
Benjamin Bertrand authored
JIRA INFRA-678 #action In Progress
-
- Nov 27, 2018
-
-
Benjamin Bertrand authored
Mac table removed from Network part (mac is saved as a column in the Interface table). JIRA INFRA-674 #action In Progress
-
Benjamin Bertrand authored
JIRA INFRA-578 #action In Progress
-
Benjamin Bertrand authored
JIRA INFRA-578
-
Benjamin Bertrand authored
JIRA INFRA-673 #action In Progress
-
- Nov 09, 2018
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
- mac is now a column - the id of the input field changed from #mac_address to #mac JIRA INFRA-639
-
Benjamin Bertrand authored
dns parameter removed (retrieved dynamically by the playbook) JIRA INFRA-651 #action In Progress
-
- Nov 06, 2018
-
-
Benjamin Bertrand authored
- Host names are unique (no 2 hosts with same name) - A host name shall not conflict with a cname or interface (if not main interface) - Interface names are unique (no 2 interfaces with same name) - An interface shall not conflict with a cname or host (if not assigned host) - cnames are only unique by domain (2 cnames can have the same name if different domains) - A cname shall not conflict with a host or interface - An interface has to be linked to a host Validation is implemented at the model level. Some is also implemented at the form level as it gives nicer feedback, but not all as it's a bit more complex when it requires check on several fields. JIRA INFRA-245
-
Benjamin Bertrand authored
selectize-bootstrap4-theme v2.0.2 from https://github.com/const-se/selectize-bootstrap4-theme To use selectize on a Select or MultiSelect field, add the selectize-default class. It initializes selectize with the default options. JIRA INFRA-644 #action In Progress
-