Skip to content
Snippets Groups Projects
  1. Mar 27, 2019
  2. Mar 05, 2019
    • Benjamin Bertrand's avatar
      Remove tags and add is_ioc field to host table · f331b452
      Benjamin Bertrand authored
      Tags were basically only used for IOCs.
      Tags were linked to the interface (and not the host).
      But for IOC we assume it should always be the main (first) interface.
      
      Using a field on the host table will make it more obvious for users.
      
      Created a IOC dynamic group type, to create a group including all IOCs
      
      JIRA INFRA-862 #action In Progress
      f331b452
  3. Feb 28, 2019
    • Benjamin Bertrand's avatar
      Add view network page · 862e5f8d
      Benjamin Bertrand authored
      JIRA INFRA-860 #action In Progress
      862e5f8d
    • Benjamin Bertrand's avatar
      Clean networks view · e7c1bf6e
      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
      e7c1bf6e
    • Benjamin Bertrand's avatar
      Add gateway field to network table · 780a8c1c
      Benjamin Bertrand authored
      Allow to specify the gateway for each network
      
      JIRA INFRA-809
      780a8c1c
  4. Jan 25, 2019
  5. Nov 09, 2018
  6. Nov 06, 2018
    • Benjamin Bertrand's avatar
      Make host/interface/cname unique · fc7ac34a
      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
      fc7ac34a
    • Benjamin Bertrand's avatar
      Replace bootstrap-select with selectize · 733736e1
      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
      733736e1
  7. Oct 18, 2018
  8. Oct 11, 2018
  9. Oct 05, 2018
  10. Oct 03, 2018
  11. Sep 28, 2018
  12. Sep 21, 2018
  13. Sep 20, 2018
  14. Aug 02, 2018
    • Benjamin Bertrand's avatar
      Remove flask-bootstrap dependency · 7c98683d
      Benjamin Bertrand authored
      The official flask-bootstrap is still not compatible with bootstrap 4.
      The application basically only uses the main template and one macro.
      It's easier to include directly bootstrap in CSEntry.
      It makes upgrading to the latest bootstrap much easier and removes a
      dependency.
      
      Update to bootstrap 4.1.3
      
      Added:
      - jquery-3.3.1.min.js
      - bootstrap.bundle.min.js (include popper but not jquery)
      
      Note that jquery.slim can't be used.
      We need for example $.getJSON for datatables.
      7c98683d
  15. Aug 01, 2018
  16. Jul 31, 2018
  17. Jul 17, 2018
  18. Jul 13, 2018
  19. Jul 12, 2018
  20. Jul 11, 2018
  21. Jul 03, 2018
  22. Jul 02, 2018
  23. May 25, 2018
  24. May 09, 2018
  25. Apr 23, 2018
    • Benjamin Bertrand's avatar
      Add stack_member field to item · ce031db6
      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
      ce031db6
    • Benjamin Bertrand's avatar
      Add extra default device types · 1a2f3786
      Benjamin Bertrand authored
      - rename "Virtual" to "Virtual Machine"
      - add "Virtual IOC"
      - add several physical devices (Switch, Industrial PC IOC, MicroTCA,
        VME, PLC)
      1a2f3786
  26. Apr 20, 2018
    • Benjamin Bertrand's avatar
      Allow to link several items to one host · 4209cdb8
      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
      4209cdb8
    • Benjamin Bertrand's avatar
      Hide interface name in create host form · e884acd3
      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
      e884acd3
  27. Apr 10, 2018
  28. Apr 09, 2018
Loading