← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2063180] [NEW] Show an address field for Allocate Floating IP if user passes required policies

 

Public bug reported:

This is a feature request.

There are currently two dialogs for allocating a floating IP. One of
these is available from

  Project -> Network -> Floating IPs -> Allocate IP to Project

In the code, this form is called `FloatingIpAllocate` and does not give
an option to set the floating IP address. The other dialog is available
from:

  Admin -> Network -> Floating IPs -> Allocate IP to Project

This form is called `AdminFloatingIpAllocate` in the code and does allow
for allocating a floating IP.


By default, only a user with admin role can allocate a floating IP with a specified address. However, if the policy:

create_floatingip:floating_ip_address

is changed to allow member users to specify a floating IP, then it is
possible to do this from the CLI. What would be great is to allow the
same user to do this via Horizon. Currently this is not possible, as a
user without admin role cannot view the "Admin" panel to go to the
special Allocate IP form.

At the same time, it seems reasonable to consolidate the two forms,
`FloatingIpAllocate` and `AdminFloatingIpAllocate` so that they can
present similar options depending on the roles of the user.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/2063180

Title:
  Show an address field for Allocate Floating IP if user passes required
  policies

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  This is a feature request.

  There are currently two dialogs for allocating a floating IP. One of
  these is available from

    Project -> Network -> Floating IPs -> Allocate IP to Project

  In the code, this form is called `FloatingIpAllocate` and does not
  give an option to set the floating IP address. The other dialog is
  available from:

    Admin -> Network -> Floating IPs -> Allocate IP to Project

  This form is called `AdminFloatingIpAllocate` in the code and does
  allow for allocating a floating IP.

  
  By default, only a user with admin role can allocate a floating IP with a specified address. However, if the policy:

  create_floatingip:floating_ip_address

  is changed to allow member users to specify a floating IP, then it is
  possible to do this from the CLI. What would be great is to allow the
  same user to do this via Horizon. Currently this is not possible, as a
  user without admin role cannot view the "Admin" panel to go to the
  special Allocate IP form.

  At the same time, it seems reasonable to consolidate the two forms,
  `FloatingIpAllocate` and `AdminFloatingIpAllocate` so that they can
  present similar options depending on the roles of the user.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/2063180/+subscriptions