Handle allocation assignment using services
Function is significantly quicker and uses 1 SQL query per IP rather than 1 query per port.
This commit is contained in:
parent
396b5c22d9
commit
669119c8f8
17 changed files with 754 additions and 5915 deletions
|
@ -28,4 +28,9 @@ return [
|
|||
'servers_attached' => 'A node must have no servers linked to it in order to be deleted.',
|
||||
'daemon_off_config_updated' => 'The daemon configuration <strong>has been updated</strong>, however there was an error encountered while attempting to automatically update the configuration file on the Daemon. You will need to manually update the configuration file (core.json) for the daemon to apply these changes. The daemon responded with a HTTP/:code response code and the error has been logged.',
|
||||
],
|
||||
'allocations' => [
|
||||
'too_many_ports' => 'Adding more than 1000 ports at a single time is not supported. Please use a smaller range.',
|
||||
'invalid_mapping' => 'The mapping provided for :port was invalid and could not be processed.',
|
||||
'cidr_out_of_range' => 'CIDR notation only allows masks between /25 and /32.',
|
||||
],
|
||||
];
|
||||
|
|
|
@ -28,6 +28,7 @@ return [
|
|||
'fqdn_required_for_ssl' => 'A fully qualified domain name that resolves to a public IP address is required in order to use SSL for this node.',
|
||||
],
|
||||
'notices' => [
|
||||
'allocations_added' => 'Allocations have successfully been added to this node.',
|
||||
'node_deleted' => 'Node has been successfully removed from the panel.',
|
||||
'location_required' => 'You must have at least one location configured before you can add a node to this panel.',
|
||||
'node_created' => 'Successfully created new node. You can automatically configure the daemon on this machine by visiting the \'Configuration\' tab. <strong>Before you can add any servers you must first allocate at least one IP address and port.</strong>',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue