← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1639220] Re: [RFE] Introduce Network QoS policy "is_default" behaviour

 

Reviewed:  https://review.openstack.org/428304
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=9d69822e4391edcfb659538f18069a61037d3f12
Submitter: Jenkins
Branch:    master

commit 9d69822e4391edcfb659538f18069a61037d3f12
Author: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@xxxxxxxxx>
Date:   Wed Feb 1 15:15:16 2017 +0000

    Add "default" behaviour to QoS policies
    
    This patch implements the "default" behaviour for QoS policies.
    If this flag is enabled for a QoS policy in a project, all
    new networks created will have this QoS policy assigned by default.
    
    If a new QoS policy is created or updated with this flag and another
    QoS policy in the same project is set as the default policy, the new
    one won't be created or updated. To set another QoS policy as default,
    the current one must be unset.
    
    DocImpact: A "default" flag is introduced for QoS policies. If this flag
               is enabled in a QoS policy (attached to a project), then all
               networks created in this project would have this QoS policy
               assigned, unless an explicit policy is specified.
    APIImpact
    
    Closes-Bug: #1639220
    Change-Id: If5ff2b00fa828f93aa089e275ddbd1ff542b79d4


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1639220

Title:
  [RFE] Introduce Network QoS policy "is_default" behaviour

Status in neutron:
  Fix Released
Status in python-openstackclient:
  In Progress
Status in OpenStack SDK:
  In Progress

Bug description:
  Introduce a new parameter in Network QoS policy: "is_default".

  If a new Network QoS policy is created/set with the parameter
  "is_default" equal to True, any new network created for that project
  will have this default QoS policy assigned.

  E.g.:
  - Create a new QoS policy
      openstack network qos policy create --is-default qos_1
  - Create a new network
      openstack network create net_1
  This new network, "net_1", will have "qos_1" as QoS policy.

  The parameter "is-default" can be set in the creation and the update
  commands.

  If a new Network QoS policy is created or updated with this flag and
  another Network QoS policy in the same project is set as the default
  policy, the new one won't be created or updated (see subnet-pool
  behaviour).

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


References