Skip to content
Snippets Groups Projects
  1. Nov 30, 2018
    • Benjamin Bertrand's avatar
      Add extra fields to the API · e6494e47
      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
      e6494e47
  2. Nov 29, 2018
  3. Nov 28, 2018
  4. Nov 27, 2018
  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
    • Benjamin Bertrand's avatar
      Make mac addresses unique by interface · 16ac3272
      Benjamin Bertrand authored
      - mac is now a column in the interface table (no link to the mac table)
      - mac column is unique (can't have 2 interfaces with the same mac)
      - the mac table is kept for the items
      
      JIRA INFRA-639
      16ac3272
  7. Oct 18, 2018
  8. Oct 15, 2018
  9. Oct 12, 2018
  10. Oct 11, 2018
  11. Oct 05, 2018
  12. Oct 03, 2018
  13. Sep 28, 2018
    • Benjamin Bertrand's avatar
      Version 0.12.0 · 71ccf5c4
      Benjamin Bertrand authored
      0.12.0
      71ccf5c4
    • Benjamin Bertrand's avatar
      Do not take into account old deferred tasks · 2ed77eb2
      Benjamin Bertrand authored
      A deferred task will remain deferred forever if the task it depends on
      fails. When checking for waiting tasks, we should ignore deferred tasks
      that are too old.
      "Too old" is currently set to 30 minutes. We shouldn't have tasks that
      take that long. We might want to shorten that even a bit (to not block
      new identical tasks to be run) but if a task failed there is probably
      something to be done.
      
      JIRA INFRA-559 #action In Progress
      2ed77eb2
    • Benjamin Bertrand's avatar
      Display hosts with no interface · 05191311
      Benjamin Bertrand authored
      JIRA INFRA-569 #action In Progress
      05191311
    • Benjamin Bertrand's avatar
      Allow to delete hosts and interfaces via the API · 9977c3e7
      Benjamin Bertrand authored
      Add endpoints:
      DELETE /network/hosts/<host_id>
      DELETE /network/interfaces/<interface_id>
      
      JIRA INFRA-570 #action In Progress
      9977c3e7
    • Benjamin Bertrand's avatar
      Add button to delete hosts · f3206d0a
      Benjamin Bertrand authored
      - set cascade to all and delete-orphan to delete interfaces when
        deleting a host
      - button added on the view host page to delete host (admin only)
      
      JIRA INFRA-557 #action In Progress
      f3206d0a
    • Benjamin Bertrand's avatar
      Add button to export items to excel file · 8471ec5b
      Benjamin Bertrand authored
      Retrieving all items from the database takes some time.
      The task is thus handled by the RQ worker.
      We use ajax to periodically monitor the status of the job
      and redirect to the file when ready.
      A progress bar is displayed to let the user see the progress.
      
      The mechanism put in place could be re-used for other use cases.
      
      JIRA INFRA-545 #action In Progress
      8471ec5b
Loading