Can not specified security groups when creating a port

Bug #1746985 reported by wei.ying
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Wishlist
wei.ying

Bug Description

Env: devstack master branch

Currently, after a user creates a port through Horizon, the port security group defaults to 'default', and the user can modify the port's security group by 'Edit Port' row action.

According to the neutron api doc[1], when creating a port, we can actually specify security groups as well.

[1] https://developer.openstack.org/api-ref/network/v2/index.html#create-port

Tags: neutron
wei.ying (wei.yy)
Changed in horizon:
assignee: nobody → wei.ying (wei.yy)
Revision history for this message
Akihiro Motoki (amotoki) wrote :

Yeah, there is no reason not to implement it yet. This is just due to developer resource.

Changed in horizon:
importance: Undecided → Wishlist
status: New → Confirmed
milestone: none → rocky-1
tags: added: neutron
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to horizon (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/540462

Changed in horizon:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/540463

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to horizon (master)

Reviewed: https://review.openstack.org/540462
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=88d78a489b6e83d8f113a6ada7a993edeeec837b
Submitter: Zuul
Branch: master

commit 88d78a489b6e83d8f113a6ada7a993edeeec837b
Author: wei.ying <email address hidden>
Date: Fri Feb 2 17:35:34 2018 +0800

    Refactor the create port form to workflow

    The neutron API allows the users to specify security group(s) when
    creating a port [1], but at the moment the Horizon can only modify
    the security group of a port by 'Edit Port' row action.

    As with edit port workflow, refactoring the creation of port form
    to workflow is to support the creation of ports as well as the
    assignment of security groups. Since the change may be more, this
    patch only contains reconstruct the form, support the security
    groups will be submitted in another patch.

    [1] https://developer.openstack.org/api-ref/network/v2/index.html#create-port

    Change-Id: Ie7e5242cc885b6eb0316f695453b0d2844360d67
    Related-bug: #1746985

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/540463
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=736312b8d92512e6a964bdd4f7d35ca630b190e9
Submitter: Zuul
Branch: master

commit 736312b8d92512e6a964bdd4f7d35ca630b190e9
Author: wei.ying <email address hidden>
Date: Fri Feb 2 21:27:56 2018 +0800

    Support specified security groups when creating a port

    This patch allows users to specifie security groups when creating
    a port. After a port is created, the backend specifies a 'default'
    security group. To be consistent with this configuration, the page
    initialization also defaults to a 'default' security group.

    Change-Id: I13fe4648c3b5f8311602844e08044af8f7b47fd8
    Closes-Bug:#1746985

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 14.0.0.0b1

This issue was fixed in the openstack/horizon 14.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.