forked from openstack/networking-generic-switch
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently, when a port is unbound by NGS, this is typically implemented by removing the VLAN association from the corresponding switch interface. This puts the interface on the default VLAN of the switch, and leaves it administratively up (active). This may be an issue in some scenarios, such as: * If there is more than one interface on the server, subsequent instances may choose not to attach a network to one or more interfaces. If these interfaces are active on a default VLAN this would be a security hole. * If configuration of an interface fails but is silently ignored by NGS, the interface will remain on the default VLAN. To avoid these issues this change adds support for administratively disabling ports when they are not in use. This behaviour is optional, since it might not be appropriate on all devices or in all scenarios. Configuration of the behaviour is controlled by a per-device config flag, 'ngs_disable_inactive_ports'. Change-Id: Ibdbb871d7f3e9ad0d3ade1049cc09a2da5e36fab Story: 2003391 Task: 24511
- Loading branch information
1 parent
cd0fa3c
commit e373156
Showing
3 changed files
with
45 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters