[RFE] Configure switch ports for control plane hosts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Networking ML2 Generic Switch |
Undecided
|
Mark Goddard |
Bug Description
Trunk ports are necessary to support connectivity of VLAN networks between multiple switches and to extend L2 networks to control plane nodes for higher layer services (routing, DHCP, etc.). For inter-switch links we may be able to use a dynamic protocol such as GVRP to ensure VLAN membership on trunk ports. For ports attached to control plane nodes this is not always possible.
Currently only switch ports corresponding to neutron ports are configured by the generic switch driver. This is a problem for some switches that do not support adding a port to a VLAN that has not been created on the switch.
For example, with Dell Force10 switches (at least the S6010-ON), it does not appear to be possible to add an interface to all VLANs, or to have an interface be a member of a VLAN when the corresponding VLAN interface has not been created. Since NGS manages the creation and destruction of these VLAN interfaces, it must also manage tagged membership of them for ports that require it.
This RFE proposes adding support to the generic switch driver for configuration of a static set of ports on each switch as tagged members of each network managed by the generic switch driver. On deletion of networks, these ports will be removed.
The proposed configuration mechanism is via a new per-switch configuration option, ngs_trunk_ports. The option format would be a comma-separated list of ports. For example:
[genericswitch:
device_type = acme
ip = 1.2.3.4
username = bob
password = drowssap
ngs_trunk_ports = port1,port2
Changed in networking-generic-switch: | |
assignee: | nobody → Mark Goddard (mgoddard) |
Changed in networking-generic-switch: | |
status: | New → In Progress |
OpenStack Infra (hudson-openstack) wrote : | #2 |
Fix proposed to branch: master
Review: https:/
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: master
commit 16c50b691bbe67c
Author: Mark Goddard <email address hidden>
Date: Thu May 11 09:45:54 2017 +0100
Support configuration of trunk ports
Trunk ports are necessary to support connectivity of VLAN networks between
multiple switches and to control plane nodes. Currently only switch
ports corresponding to neutron ports are configured by the generic
switch driver. This is a problem for some switches that do not support
adding a port to a VLAN that has not been created on the switch.
This change adds support for configuration of trunk ports when networks
are created and destroyed. These trunk ports are configured via the
per-switch configuration option 'ngs_trunk_ports', which is a
comma-separated list. Currently no drivers support this option.
Change-Id: I6c40f7f31058bc
Partial-Bug: #1690115
OpenStack Infra (hudson-openstack) wrote : | #4 |
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: master
commit d8d58a81565116a
Author: Mark Goddard <email address hidden>
Date: Thu May 11 10:39:05 2017 +0100
Add support for trunk ports on Dell switches
On Dell Force10 switches, interfaces are added as tagged members of a
VLAN using the following commands:
interface vlan <id>
tagged <if>
They can be removed similarly:
interface vlan <id>
no tagged <if>
This change uses these commands to support configuration of trunk ports
for all networks.
Change-Id: I77f57ac1730eac
Partial-Bug: #1690115
Changed in networking-generic-switch: | |
status: | In Progress → Fix Committed |
Fix proposed to branch: master /review. openstack. org/524135
Review: https:/