No need for PCI interface class options during interface creation
A change has been made in forms.py to remove 'pci-passthrough' and 'pci-sriov' as an ifclass when creating an interface. As the code stands, provider networks are only listed for either 'pci-passthrough' and 'pci-sriov' when editing an interface, and a PCI interface cannot be created if a provider network is not selected. Thus, those options have been removed from the creation form. Closes-Bug: 1795717 Change-Id: I898d21807d16375d3ccaa40c29a3920656aad44b Signed-off-by: Patrick Bonnell <patrick.bonnell@windriver.com>
This commit is contained in:
parent
281bcabe48
commit
fe946621b1
|
@ -1,2 +1,2 @@
|
||||||
SRC_DIR="starlingx-dashboard"
|
SRC_DIR="starlingx-dashboard"
|
||||||
TIS_PATCH_VER=14
|
TIS_PATCH_VER=15
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013-2016 Wind River Systems, Inc.
|
# Copyright (c) 2013-2018 Wind River Systems, Inc.
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
@ -144,9 +144,7 @@ class AddInterface(forms.SelfHandlingForm):
|
||||||
INTERFACE_CLASS_CHOICES = (
|
INTERFACE_CLASS_CHOICES = (
|
||||||
('none', _("none")),
|
('none', _("none")),
|
||||||
('platform', _("platform")),
|
('platform', _("platform")),
|
||||||
('data', _("data")),
|
('data', _("data"))
|
||||||
('pci-sriov', _("pci-sriov")),
|
|
||||||
('pci-passthrough', _("pci-passthrough")),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
INTERFACE_TYPE_CHOICES = (
|
INTERFACE_TYPE_CHOICES = (
|
||||||
|
|
Loading…
Reference in New Issue