Make MTU configurable
Allow users to tune the MTU value in the configuration drive network_info.json. Change-Id: Id686eb940545463ceb796704dfdd6bd2726ea753 Closes-Bug: 1463195
This commit is contained in:
parent
9f9b6c17f7
commit
6e46828a39
@ -33,6 +33,7 @@ node_default_network_interface: eth0
|
||||
ipv4_subnet_mask: 255.255.255.0
|
||||
ipv4_gateway: 192.168.1.1
|
||||
ipv4_nameserver: 8.8.8.8
|
||||
network_mtu: 1500
|
||||
dhcp_pool_start: 192.168.1.200
|
||||
dhcp_pool_end: 192.168.1.250
|
||||
# ipmi_bridging: Default undefined. Valid values: "no", "single", and "dual"
|
||||
|
@ -10,7 +10,7 @@ with the information that we have available to us in nics.
|
||||
{% for nic in nics %}
|
||||
{%- if loop.first %} "ethernet_mac_address": "{{ nic.mac }}",{% endif %}
|
||||
{% endfor %}
|
||||
"mtu":1500
|
||||
"mtu":{{network_mtu}}
|
||||
}
|
||||
],
|
||||
"networks": [
|
||||
|
@ -4,7 +4,7 @@
|
||||
"id": "{{node_default_network_interface}}",
|
||||
"type": "phy",
|
||||
"ethernet_mac_address": "{{item.split(',')[0]}}",
|
||||
"mtu":1500
|
||||
"mtu":{{network_mtu}}
|
||||
}
|
||||
],
|
||||
"networks": [
|
||||
|
Loading…
Reference in New Issue
Block a user