-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Summary
We propose the addition of two properties, default-gw-ipv4 and default-gw-ipv6, to the Network object in the onmetal-api. These properties will provide the ability to disable the automatic injection of the default gateway in the network. By introducing these properties, we aim to enhance the flexibility and control of network configurations for users of onmetal-api.
Objective
The objective of this proposal is to extend the functionality of the Network object by incorporating default-gw-ipv4 and default-gw-ipv6 properties. The addition of these properties will allow users to have finer-grained control over the default gateway injection within their networks.
Technical Implementation
To achieve this objective, we will make the following changes to the onmetal-api:
Modify the Network object to include the properties default-gw-ipv4 and default-gw-ipv6.
Implement validation checks to ensure that these properties are omitted when empty.
Update the network configuration process to respect the values of these properties and disable the automatic injection of the default gateway if they are specified.
Impact and Benefits
The addition of default-gw-ipv4 and default-gw-ipv6 properties to the Network object will offer the following benefits:
Flexibility: Users will have the ability to disable the automatic injection of the default gateway in their network configurations, providing greater flexibility in managing network routing.
Customization: By allowing users to specify their own default gateway settings, the onmetal-api becomes more adaptable to different networking requirements and scenarios.
Control: The properties enable users to have precise control over the behavior of default gateway injection, empowering them to fine-tune network configurations according to their specific needs.