commit 09efe2d432c7a17c696e7240f69b3c76b481e3f3
Author: Akihiro Motoki <email address hidden>
Date: Sat Oct 21 00:48:42 2017 +0000
Allow regular users to specify VNIC type for port
VNIC type needs to be specified when creating a server with an SR-IOV
port. In this case, a user first creates a port with vnic_type=direct
and creates a server with the created port. To allow this scenario,
horizon needs to allow users to specify VNIC type for port.
This commit also clean up the code duplication on the port security and
mac state fields in the port create form. The code in the admin form for
them are completely duplicated with that in the project form.
Reviewed: https:/ /review. openstack. org/513887 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=09efe2d432c 7a17c696e7240f6 9b3c76b481e3f3
Committed: https:/
Submitter: Zuul
Branch: master
commit 09efe2d432c7a17 c696e7240f69b3c 76b481e3f3
Author: Akihiro Motoki <email address hidden>
Date: Sat Oct 21 00:48:42 2017 +0000
Allow regular users to specify VNIC type for port
VNIC type needs to be specified when creating a server with an SR-IOV
port. In this case, a user first creates a port with vnic_type=direct
and creates a server with the created port. To allow this scenario,
horizon needs to allow users to specify VNIC type for port.
This commit also clean up the code duplication on the port security and
mac state fields in the port create form. The code in the admin form for
them are completely duplicated with that in the project form.
Change-Id: Ib6e91ed7f720e2 720994025429da0 dcef2fa4e25
Closes-Bug: #1402959