[RFE] Configure switch ports for control plane hosts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Networking ML2 Generic Switch |
Fix Committed
|
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: | In Progress → Fix Committed |
Fix proposed to branch: master /review. openstack. org/524135
Review: https:/