Skip to content
Snippets Groups Projects
Forked from ICS Control System Infrastructure / csentry
Source project has a limited visibility.
  • Benjamin Bertrand's avatar
    8d4e8f94
    Pass selected values to register network form · 8d4e8f94
    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...
    8d4e8f94
    History
    Pass selected values to register network form
    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...
Code owners
Assign users and groups as approvers for specific file changes. Learn more.