https://blueprints.launchpad.net/fuel/+spec/ip-ranges-for-all-networks
Extend Fuel UI with an ability to specify IP ranges for all networks, to use the ranges with some omitted addresses which are reserved or already in use.
When deploying an environment using Fuel it is often necessary to be able to specify IPs to be excluded from Fuel’s auto-provisioning so that the deployment does not fail due to an IP already being assigned to or reserved for another resource. But in current Fuel UI not all networks allow to do this (storage and management does not).
All networks on Networks tab should have the same algorithm to set network addresses, based on network notation (‘ip_ranges’ or ‘cidr’), which is stored in network metadata):
specifying custom IP range(s) and gateway: in this case CIDR field is used for IP range(s) and gateway validation only (this mode corresponds to ‘ip_ranges’ notation).
specifying CIDR value: in this case network default IP range and gateway are set automatically according to the CIDR value and can not be configured by user (this mode corresponds to ‘cidr’ notation).
When switching between these two modes, Fuel UI set an appropriate notation in network metadata.
To determine whether to specify network gateway or not, Fuel UI continues to observe use_gateway flag from network metadata.
No changes required in network validation logic (IP range(s) should match specified CIDR, gateway should not be included in IP range(s), IP range(s) should not intersect each other, etc.).
Network base (first) and broadcast (last) addresses are not used, when calculating default IP range and gateway from CIDR.
UI controls for a network should go in the following order:
No changes required.
None
No changes required.
None
None
None
None
None
None
None
None
None
User guide should be updated according to the changes.
None
None