
This is a functioning neutron chart that leverages a flat network but supports vxlan and gre networks in values.yaml. We were unable to test the vxlan functionality as it tickles the bnx2x cards in our HP blade lab. For now, this leverages daemonsets which make sense. It does require a new label, namely openvswitch=enabled as we need a label that can be applied both to the control plane and tenant compute hosts as both require neutron agents and openvswitch. The interfaces today match our labs, namely enp11s0f0 for the flat network on physnet1 and enp12s0f0 for the external network. These can be overriden in values.yaml via set or a global environmental file. It depends on the keystone endpoint work. This chart was tested against a working nova chart not commited as DTadrzak has one open in PR#45
44 lines
1.7 KiB
Smarty
44 lines
1.7 KiB
Smarty
[ml2]
|
|
# Changing type_drivers after bootstrap can lead to database inconsistencies
|
|
type_drivers = {{ include "joinListWithColon" .Values.ml2.type_drivers }}
|
|
tenant_network_types = {{ .Values.ml2.tenant_network_types }}
|
|
mechanism_drivers = {{ include "joinListWithColon" .Values.ml2.mechanism_drivers }}
|
|
|
|
[ml2_type_flat]
|
|
flat_networks = {{ include "joinListWithColon" .Values.ml2.ml2_type_flat.flat_networks }}
|
|
|
|
[ml2_type_gre]
|
|
# (ListOpt) Comma-separated list of <tun_min>:<tun_max> tuples enumerating ranges
|
|
# of GRE tunnel IDs that are available for tenant network allocation
|
|
tunnel_id_ranges = {{ .Values.ml2.ml2_type_gre.tunnel_id_ranges }}
|
|
|
|
[ml2_type_vxlan]
|
|
vni_ranges = {{ .Values.ml2.ml2_type_vxlan.vni_ranges }}
|
|
vxlan_group = {{ .Values.ml2.ml2_type_vxlan.vxlan_group }}
|
|
|
|
[ml2_type_vlan]
|
|
# (ListOpt) List of <physical_network>[:<vlan_min>:<vlan_max>] tuples
|
|
# specifying physical_network names usable for VLAN provider and
|
|
# tenant networks, as well as ranges of VLAN tags on each
|
|
# physical_network available for allocation as tenant networks.
|
|
network_vlan_ranges = {{ .Values.ml2.ml2_type_vlan.network_vlan_ranges }}
|
|
|
|
[securitygroup]
|
|
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
|
|
enable_security_group = True
|
|
|
|
{{- if .Values.ml2.agent.tunnel_types }}
|
|
[agent]
|
|
tunnel_types = {{ .Values.ml2.agent.tunnel_types }}
|
|
l2_population = false
|
|
arp_responder = false
|
|
{{- end }}
|
|
|
|
[ovs]
|
|
bridge_mappings = {{ include "joinListWithColon" .Values.ml2.ovs.bridge_mappings }}
|
|
tenant_network_type = {{ .Values.ml2.agent.tunnel_types }}
|
|
|
|
[vxlan]
|
|
l2_population = true
|
|
ovsdb_interface = {{ .Values.network.interface.openvswitch | default .Values.network.interface.default }}
|