Merge "Add TripleO Heat Template Parameters for Neutron Tenant MTU"
This commit is contained in:
commit
deec3c56ab
@ -174,6 +174,15 @@ parameters:
|
|||||||
description: Shared secret to prevent spoofing
|
description: Shared secret to prevent spoofing
|
||||||
type: string
|
type: string
|
||||||
hidden: true
|
hidden: true
|
||||||
|
NeutronTenantMtu:
|
||||||
|
description: >
|
||||||
|
The default MTU for tenant networks. For VXLAN/GRE tunneling, this should
|
||||||
|
be at least 50 bytes smaller than the MTU on the physical network. This
|
||||||
|
value will be used to set the MTU on the virtual Ethernet device.
|
||||||
|
This value will be used to construct the NeutronDnsmasqOptions, since that
|
||||||
|
will determine the MTU that is assigned to the VM host through DHCP.
|
||||||
|
default: "1400"
|
||||||
|
type: string
|
||||||
NeutronTunnelTypes:
|
NeutronTunnelTypes:
|
||||||
default: 'vxlan'
|
default: 'vxlan'
|
||||||
description: |
|
description: |
|
||||||
@ -516,8 +525,11 @@ parameters:
|
|||||||
type: number
|
type: number
|
||||||
default: 4096
|
default: 4096
|
||||||
NeutronDnsmasqOptions:
|
NeutronDnsmasqOptions:
|
||||||
default: 'dhcp-option-force=26,1400'
|
default: 'dhcp-option-force=26,%MTU%'
|
||||||
description: Dnsmasq options for neutron-dhcp-agent. The default value here forces MTU to be set to 1400 to account for the tunnel overhead.
|
description: >
|
||||||
|
Dnsmasq options for neutron-dhcp-agent. The default value here forces MTU
|
||||||
|
to be set to the value of NeutronTenantMtu, which should be set to account
|
||||||
|
for tunnel overhead.
|
||||||
type: string
|
type: string
|
||||||
NeutronPublicInterfaceDefaultRoute:
|
NeutronPublicInterfaceDefaultRoute:
|
||||||
default: ''
|
default: ''
|
||||||
@ -916,6 +928,7 @@ resources:
|
|||||||
NeutronPublicInterfaceIP: {get_param: NeutronPublicInterfaceIP}
|
NeutronPublicInterfaceIP: {get_param: NeutronPublicInterfaceIP}
|
||||||
NeutronFlatNetworks: {get_param: NeutronFlatNetworks}
|
NeutronFlatNetworks: {get_param: NeutronFlatNetworks}
|
||||||
NeutronBridgeMappings: {get_param: NeutronBridgeMappings}
|
NeutronBridgeMappings: {get_param: NeutronBridgeMappings}
|
||||||
|
NeutronTenantMtu: {get_param: NeutronTenantMtu}
|
||||||
NeutronExternalNetworkBridge: {get_param: NeutronExternalNetworkBridge}
|
NeutronExternalNetworkBridge: {get_param: NeutronExternalNetworkBridge}
|
||||||
NeutronEnableIsolatedMetadata: {get_param: NeutronEnableIsolatedMetadata}
|
NeutronEnableIsolatedMetadata: {get_param: NeutronEnableIsolatedMetadata}
|
||||||
NeutronEnableTunnelling: {get_param: NeutronEnableTunnelling}
|
NeutronEnableTunnelling: {get_param: NeutronEnableTunnelling}
|
||||||
@ -925,7 +938,11 @@ resources:
|
|||||||
NeutronPublicInterfaceDefaultRoute: {get_param: NeutronPublicInterfaceDefaultRoute}
|
NeutronPublicInterfaceDefaultRoute: {get_param: NeutronPublicInterfaceDefaultRoute}
|
||||||
NeutronPublicInterfaceRawDevice: {get_param: NeutronPublicInterfaceRawDevice}
|
NeutronPublicInterfaceRawDevice: {get_param: NeutronPublicInterfaceRawDevice}
|
||||||
NeutronPassword: {get_param: NeutronPassword}
|
NeutronPassword: {get_param: NeutronPassword}
|
||||||
NeutronDnsmasqOptions: {get_param: NeutronDnsmasqOptions}
|
NeutronDnsmasqOptions:
|
||||||
|
str_replace:
|
||||||
|
template: {get_param: NeutronDnsmasqOptions}
|
||||||
|
params:
|
||||||
|
'%MTU%': {get_param: NeutronTenantMtu}
|
||||||
NeutronDVR: {get_param: NeutronDVR}
|
NeutronDVR: {get_param: NeutronDVR}
|
||||||
NeutronMetadataProxySharedSecret: {get_param: NeutronMetadataProxySharedSecret}
|
NeutronMetadataProxySharedSecret: {get_param: NeutronMetadataProxySharedSecret}
|
||||||
NeutronAgentMode: {get_param: NeutronAgentMode}
|
NeutronAgentMode: {get_param: NeutronAgentMode}
|
||||||
@ -1014,6 +1031,7 @@ resources:
|
|||||||
KeystoneAdminApiVirtualIP: {get_attr: [VipMap, net_ip_map, {get_param: [ServiceNetMap, KeystoneAdminApiNetwork]}]}
|
KeystoneAdminApiVirtualIP: {get_attr: [VipMap, net_ip_map, {get_param: [ServiceNetMap, KeystoneAdminApiNetwork]}]}
|
||||||
KeystonePublicApiVirtualIP: {get_attr: [VipMap, net_ip_map, {get_param: [ServiceNetMap, KeystonePublicApiNetwork]}]}
|
KeystonePublicApiVirtualIP: {get_attr: [VipMap, net_ip_map, {get_param: [ServiceNetMap, KeystonePublicApiNetwork]}]}
|
||||||
NeutronBridgeMappings: {get_param: NeutronBridgeMappings}
|
NeutronBridgeMappings: {get_param: NeutronBridgeMappings}
|
||||||
|
NeutronTenantMtu: {get_param: NeutronTenantMtu}
|
||||||
NeutronEnableTunnelling: {get_param: NeutronEnableTunnelling}
|
NeutronEnableTunnelling: {get_param: NeutronEnableTunnelling}
|
||||||
NeutronEnableL2Pop : {get_param: NeutronEnableL2Pop}
|
NeutronEnableL2Pop : {get_param: NeutronEnableL2Pop}
|
||||||
NeutronFlatNetworks: {get_param: NeutronFlatNetworks}
|
NeutronFlatNetworks: {get_param: NeutronFlatNetworks}
|
||||||
|
@ -118,6 +118,15 @@ parameters:
|
|||||||
default: nic1
|
default: nic1
|
||||||
description: A port to add to the NeutronPhysicalBridge.
|
description: A port to add to the NeutronPhysicalBridge.
|
||||||
type: string
|
type: string
|
||||||
|
NeutronTenantMtu:
|
||||||
|
description: >
|
||||||
|
The default MTU for tenant networks. For VXLAN/GRE tunneling, this should
|
||||||
|
be at least 50 bytes smaller than the MTU on the physical network. This
|
||||||
|
value will be used to set the MTU on the virtual Ethernet device.
|
||||||
|
This number is related to the value of NeutronDnsmasqOptions, since that
|
||||||
|
will determine the MTU that is assigned to the VM host through DHCP.
|
||||||
|
default: 1400
|
||||||
|
type: number
|
||||||
NeutronTunnelTypes:
|
NeutronTunnelTypes:
|
||||||
type: comma_delimited_list
|
type: comma_delimited_list
|
||||||
description: |
|
description: |
|
||||||
@ -463,6 +472,7 @@ resources:
|
|||||||
nova::compute::rbd::ephemeral_storage: {get_input: nova_enable_rbd_backend}
|
nova::compute::rbd::ephemeral_storage: {get_input: nova_enable_rbd_backend}
|
||||||
rbd_persistent_storage: {get_input: cinder_enable_rbd_backend}
|
rbd_persistent_storage: {get_input: cinder_enable_rbd_backend}
|
||||||
nova_password: {get_input: nova_password}
|
nova_password: {get_input: nova_password}
|
||||||
|
nova::compute::network_device_mtu: {get_input: neutron_tenant_mtu}
|
||||||
nova::compute::vncserver_proxyclient_address: {get_input: nova_vnc_proxyclient_address}
|
nova::compute::vncserver_proxyclient_address: {get_input: nova_vnc_proxyclient_address}
|
||||||
nova::network::neutron::neutron_ovs_bridge: {get_input: nova_ovs_bridge}
|
nova::network::neutron::neutron_ovs_bridge: {get_input: nova_ovs_bridge}
|
||||||
nova::network::neutron::security_group_api: {get_input: nova_security_group_api}
|
nova::network::neutron::security_group_api: {get_input: nova_security_group_api}
|
||||||
@ -487,6 +497,7 @@ resources:
|
|||||||
neutron_host: {get_input: neutron_host}
|
neutron_host: {get_input: neutron_host}
|
||||||
neutron::agents::ml2::ovs::local_ip: {get_input: neutron_local_ip}
|
neutron::agents::ml2::ovs::local_ip: {get_input: neutron_local_ip}
|
||||||
|
|
||||||
|
neutron::network_device_mtu: {get_input: neutron_tenant_mtu}
|
||||||
neutron::plugins::ml2::tenant_network_types: {get_input: neutron_tenant_network_types}
|
neutron::plugins::ml2::tenant_network_types: {get_input: neutron_tenant_network_types}
|
||||||
neutron::agents::ml2::ovs::tunnel_types: {get_input: neutron_tunnel_types}
|
neutron::agents::ml2::ovs::tunnel_types: {get_input: neutron_tunnel_types}
|
||||||
neutron::agents::ml2::ovs::extensions: {get_input: neutron_agent_extensions}
|
neutron::agents::ml2::ovs::extensions: {get_input: neutron_agent_extensions}
|
||||||
@ -581,6 +592,7 @@ resources:
|
|||||||
template: MAPPINGS
|
template: MAPPINGS
|
||||||
params:
|
params:
|
||||||
MAPPINGS: {get_param: NeutronBridgeMappings}
|
MAPPINGS: {get_param: NeutronBridgeMappings}
|
||||||
|
neutron_tenant_mtu: {get_param: NeutronTenantMtu}
|
||||||
neutron_enable_tunneling: {get_param: NeutronEnableTunnelling}
|
neutron_enable_tunneling: {get_param: NeutronEnableTunnelling}
|
||||||
neutron_enable_l2pop: {get_param: NeutronEnableL2Pop}
|
neutron_enable_l2pop: {get_param: NeutronEnableL2Pop}
|
||||||
neutron_physical_bridge: {get_param: NeutronPhysicalBridge}
|
neutron_physical_bridge: {get_param: NeutronPhysicalBridge}
|
||||||
|
@ -492,6 +492,15 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
description: If set, the public interface is a vlan with this device as the raw device.
|
description: If set, the public interface is a vlan with this device as the raw device.
|
||||||
type: string
|
type: string
|
||||||
|
NeutronTenantMtu:
|
||||||
|
description: >
|
||||||
|
The default MTU for tenant networks. For VXLAN/GRE tunneling, this should
|
||||||
|
be at least 50 bytes smaller than the MTU on the physical network. This
|
||||||
|
value will be used to set the MTU on the virtual Ethernet device.
|
||||||
|
This number is related to the value of NeutronDnsmasqOptions, since that
|
||||||
|
will determine the MTU that is assigned to the VM host through DHCP.
|
||||||
|
default: 1400
|
||||||
|
type: number
|
||||||
NeutronTunnelTypes:
|
NeutronTunnelTypes:
|
||||||
default: 'vxlan'
|
default: 'vxlan'
|
||||||
description: |
|
description: |
|
||||||
@ -1061,6 +1070,7 @@ resources:
|
|||||||
params:
|
params:
|
||||||
AGENT_EXTENSIONS: {get_param: NeutronAgentExtensions}
|
AGENT_EXTENSIONS: {get_param: NeutronAgentExtensions}
|
||||||
neutron_password: {get_param: NeutronPassword}
|
neutron_password: {get_param: NeutronPassword}
|
||||||
|
neutron_tenant_mtu: {get_param: NeutronTenantMtu}
|
||||||
neutron_dnsmasq_options: {get_param: NeutronDnsmasqOptions}
|
neutron_dnsmasq_options: {get_param: NeutronDnsmasqOptions}
|
||||||
neutron_dsn:
|
neutron_dsn:
|
||||||
list_join:
|
list_join:
|
||||||
@ -1391,6 +1401,7 @@ resources:
|
|||||||
neutron::server::database_connection: {get_input: neutron_dsn}
|
neutron::server::database_connection: {get_input: neutron_dsn}
|
||||||
neutron::server::api_workers: {get_input: neutron_workers}
|
neutron::server::api_workers: {get_input: neutron_workers}
|
||||||
neutron::agents::l3::external_network_bridge: {get_input: neutron_external_network_bridge}
|
neutron::agents::l3::external_network_bridge: {get_input: neutron_external_network_bridge}
|
||||||
|
neutron::network_device_mtu: {get_input: neutron_tenant_mtu}
|
||||||
neutron::agents::ml2::ovs::enable_tunneling: {get_input: neutron_enable_tunneling}
|
neutron::agents::ml2::ovs::enable_tunneling: {get_input: neutron_enable_tunneling}
|
||||||
neutron::agents::ml2::ovs::l2_population: {get_input: neutron_enable_l2pop}
|
neutron::agents::ml2::ovs::l2_population: {get_input: neutron_enable_l2pop}
|
||||||
neutron::agents::dhcp::enable_isolated_metadata: {get_input: neutron_enable_isolated_metadata}
|
neutron::agents::dhcp::enable_isolated_metadata: {get_input: neutron_enable_isolated_metadata}
|
||||||
@ -1475,6 +1486,7 @@ resources:
|
|||||||
nova::api::osapi_compute_workers: {get_input: nova_workers}
|
nova::api::osapi_compute_workers: {get_input: nova_workers}
|
||||||
nova::api::ec2_workers: {get_input: nova_workers}
|
nova::api::ec2_workers: {get_input: nova_workers}
|
||||||
nova::api::metadata_workers: {get_input: nova_workers}
|
nova::api::metadata_workers: {get_input: nova_workers}
|
||||||
|
nova::compute::network_device_mtu: {get_input: neutron_tenant_mtu}
|
||||||
nova::database_connection: {get_input: nova_dsn}
|
nova::database_connection: {get_input: nova_dsn}
|
||||||
nova::api_database_connection: {get_input: nova_api_dsn}
|
nova::api_database_connection: {get_input: nova_api_dsn}
|
||||||
nova::glance_api_servers: {get_input: glance_api_servers}
|
nova::glance_api_servers: {get_input: glance_api_servers}
|
||||||
|
Loading…
Reference in New Issue
Block a user