- May 25, 2018
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Change "CSentry" to "CSEntry-test" in the navbar (upper left corner) and set it to red on the staging server. This is done by setting the variable CSENTRY_STAGING to True in the settings.cfg file for the staging server (variable set to False by default). JIRA INFRA-347
-
Benjamin Bertrand authored
JIRA INFRA-302
-
- May 24, 2018
-
-
Benjamin Bertrand authored
a "startsWith" was inserted by commit 1a2f3786 This is the javascript syntax. In Python, it should be lowercase "startswith"...
-
Benjamin Bertrand authored
Passing tags as kwarg to the InterfaceForm doesn't work because obj takes precedence (but interface.tags contain Tag instances and not id) We need to update the default values. Calling process is required. See https://stackoverflow.com/questions/5519729/wtforms-how-to-select-options-in-selectmultiplefield JIRA INFRA-334
-
- May 23, 2018
-
-
Benjamin Bertrand authored
Both AWX_VM_CREATION_ENABLED and AWX_JOB_ENABLED shall be set to True to enable VM creation. An extra variable is used because the core services can be updated from csentry-test but VM creation shouldn't (for now)
-
Benjamin Bertrand authored
Allow to create a VM or Virtual IOC
-
Benjamin Bertrand authored
"gateway" tag removed. It could be re-added if needed to overwrite the default computed gateway for example. JIRA INFRA-339
-
- May 22, 2018
-
-
Benjamin Bertrand authored
A new template 'ics-ans-core @ DHCP test' was created to test the DNS and DHCP deployment. This is the one o use by default. The "real" template should be used in the production settings.cfg
-
Benjamin Bertrand authored
Tags and device_types are used as key in Ansible roles. They shouldn't contain any spaces to avoid issues. JIRA INFRA-334
-
- May 09, 2018
-
-
Benjamin Bertrand authored
AWX jobs should only be triggered on the production server (not from staging). At least until we get a full staging environment.
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
- rename physical to physical machine - IOC should be a tag JIRA INFRA-302
-
- Apr 27, 2018
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
- RQ Dashboard shall only be accessible to admin users - "REDIS_URL" is hard-coded in rq-dashboard (had to rename RQ_REDIS_URL)
-
Benjamin Bertrand authored
The "REDIS_URL" variable is hard-coded in RQ Dashboard. REDIS_URL was used by redis_store that is passed to Flask Session. The url variable used by Flask-Redis can be changed by setting the config_prefix. 1. Rename REDIS_URL to SESSION_REDIS_URL 2. Rename redis_store to session_redis_store 3. Use "SESSION_REDIS" config_prefix to initialize session_redis_store This makes it clear that this Redis instance is used by Flask-Session. REDIS_URL will be used for RQ.
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
- Apr 23, 2018
-
-
Benjamin Bertrand authored
This is to be used for stack of switches only - a stack_member is linked to an host (device_type has to be "Switch") - a stack_member is an integer between 0 and 9 (included) or can be None - the couple (host_id, stack_member) must be unique JIRA INFRA-267
-
Benjamin Bertrand authored
- rename "Virtual" to "Virtual Machine" - add "Virtual IOC" - add several physical devices (Switch, Industrial PC IOC, MicroTCA, VME, PLC)
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Add .pytest_cache/ directory
-
- Apr 20, 2018
-
-
Benjamin Bertrand authored
1. When we have a stack of switches, the same IP is associated to several switches 2. Move the items <-> host assocation to the item create/edit page JIRA INFRA-267
-
Benjamin Bertrand authored
The interface name doesn't need to be displayed in the form as we force it to the hostname. We set the interface name to the hostname when submitting the form. This fixes the copy/paste issue with the mouse that didn't trigger the keyup event. JIRA INFRA-287
-
- Apr 13, 2018
-
-
Benjamin Bertrand authored
-
- Apr 10, 2018
-
-
Benjamin Bertrand authored
JIRA INFRA-281
-
- Apr 09, 2018
-
-
Benjamin Bertrand authored
If an error is raised when submitting the form, we should keep the IP that was entered. JIRA INFRA-285
-
Benjamin Bertrand authored
The class "is-invalid" is removed on all type=text input on keyup event. JIRA INFRA-285
-
Benjamin Bertrand authored
The sorting of the models was done in the utils.get_model_choices funtion but a specific query was passed to not display admin_only networks. The sorting is now done even when passing a specific query to get_model_choices. JIRA INFRA-284
-
Benjamin Bertrand authored
- create many-to-many relationships between the user table and attributes tables (manufacturer / model / location / status / action) - add a checkbox as the first column of the attributes table to add or remove an attribute to the favorites - add a new page to display the favorite attributes JIRA INFRA-283
-
- Apr 06, 2018
-
-
Benjamin Bertrand authored
On page load we have to check the machine type to enable / disable item_id and check / uncheck the random MAC
-
Benjamin Bertrand authored
JIRA INFRA-281
-
Benjamin Bertrand authored
JIRA INFRA-277
-
Benjamin Bertrand authored
"type" field on host replaced with foreign key "machine_type_id" JIRA INFRA-281
-
Benjamin Bertrand authored
The description is only shown if not empty JIRA INFRA-280
-
- Apr 05, 2018
-
-
Benjamin Bertrand authored
Many new models are not descriptive (part number) and being able to search in the model description should help.
-
- Mar 21, 2018
-
-
Benjamin Bertrand authored
-
- Mar 16, 2018
-
-
Benjamin Bertrand authored
We should reserve 10 addresses at the beginning and 5 at the end. Meaning for a /24 network, we should start at 11 and end at 249.
-