Skip to content

Commit 98b4edb

Browse files
authored
Merge pull request #742 from rackerlabs/neutron-defaults
feat(neutron): set some neutron defaults
2 parents bfc92ec + 1bfcd0a commit 98b4edb

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

components/neutron/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ conf:
4848
plugins:
4949
ml2_conf:
5050
ml2:
51+
# at this time due to physical switches not doing OpenFlow and enabling
52+
# port security rules being different per model (or supported at all)
53+
# disable it by default. this is necessary because openstack-helm enables
54+
# it by default
55+
extension_drivers: ''
5156
# set the default ml2 backend to our plugin, neutron_understack
5257
# we'll need to use the ovn ML2 plugin to hook the routers to our network
5358
mechanism_drivers: "understack,ovn"
@@ -75,6 +80,8 @@ conf:
7580
# we aren't using availability zones so having calls attempt to add things to
7681
# availability zones won't work.
7782
default_availability_zones: ""
83+
# add 50 to the max MTU we want of 9000 to handle Neutron's -50 for VXLAN type
84+
global_physnet_mtu: 9050
7885
service_providers:
7986
service_provider: "L3_ROUTER_NAT:cisco-asa:neutron_understack.l3_service_cisco_asa.CiscoAsa"
8087
ovn:
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Neutron
2+
3+
OpenStack Neutron is used for the user facing API for networks. While
4+
much of the focus of Neutron is around virtual networks on top of
5+
physical networks for delivering cloud services. However controlling
6+
physical networks is supported and utilized by OpenStack Ironic for
7+
example with the [networking-generic-switch][ngs] ML2 mechanism.
8+
9+
Given our focus on physical networks with physical switches, there
10+
are some features we are disabling by default that can be enabled
11+
in your specific deploy configs.
12+
13+
MTU override
14+
: Bare metal switch networks support using up to 9000 MTU. Neutron assumes
15+
a 50 byte overhead with the VXLAN type for encapsulation so we need to
16+
specify what the physical MTU is with the encapsulation overhead.
17+
: `global_physnet_mtu = 9050`
18+
19+
Security Groups
20+
: Our focus is on bare metal switches and not OpenFlow based OVS so these
21+
switches implement this differently or not at all. Disable this to not
22+
have confusiona until we can enable it generically.
23+
: `extension_drivers` lacking `port_security`
24+
25+
[ngs]: <https://opendev.org/openstack/networking-generic-switch>

mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ nav:
112112
- networking.md
113113
- Components:
114114
- component-overview.md
115+
- Networking:
116+
- component-networking-neutron.md
115117
- component-argo-workflows.md
116118
- component-understack-workflows.md
117119
- 'Deployment Guide':

0 commit comments

Comments
 (0)