← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1610520] [NEW] nova api policy doesn't support floating ip actions rule

 

Public bug reported:

For Nova master branch , the floating ip policy have no rule for
create,delete, show, associate,disassociate floating ip. therefore user
can't manage those actions accurately.


nova/nova/policies/floating_ips.py

BASE_POLICY_NAME = 'os_compute_api:os-floating-ips'
POLICY_ROOT = 'os_compute_api:os-floating-ips:%s'


floating_ips_policies = [
    policy.RuleDefault(
        name=BASE_POLICY_NAME,
        check_str=base.RULE_ADMIN_OR_OWNER),
    policy.RuleDefault(
        name=POLICY_ROOT % 'discoverable',
        check_str=base.RULE_ANY),
]

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  nova api policy doesn't support floating ip actions rule

Status in OpenStack Compute (nova):
  New

Bug description:
  For Nova master branch , the floating ip policy have no rule for
  create,delete, show, associate,disassociate floating ip. therefore
  user can't manage those actions accurately.


  nova/nova/policies/floating_ips.py

  BASE_POLICY_NAME = 'os_compute_api:os-floating-ips'
  POLICY_ROOT = 'os_compute_api:os-floating-ips:%s'

  
  floating_ips_policies = [
      policy.RuleDefault(
          name=BASE_POLICY_NAME,
          check_str=base.RULE_ADMIN_OR_OWNER),
      policy.RuleDefault(
          name=POLICY_ROOT % 'discoverable',
          check_str=base.RULE_ANY),
  ]

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


Follow ups