← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1940086] [NEW] [api-ref] doc does not list resource_request as a field of the response of port bulk create

 

Public bug reported:

The API ref of bulk port create[1] is incomplete. It does not list the
resource_request key but the API actually returns that (for admins). See
example run [2].

To reproduce:
1) create a network

openstack network create net0 \
--provider-network-type vlan \
--provider-physical-network physnet0 \
--provider-segment 100 \
##
openstack subnet create subnet0 \
--network net0 \
--subnet-range 10.0.4.0/24 \
##

2) create a QoS policy with a min bw rule

openstack network qos policy create qp0
openstack network qos rule create qp0 \
--type minimum-bandwidth \
--min-kbps 1000 \
--egress \

3) bulk create ports with that QoS policy. See [2]


[1] https://docs.openstack.org/api-ref/network/v2/?expanded=bulk-create-ports-detail#bulk-create-ports
[2] https://paste.opendev.org/show/808111/

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: api-ref doc

** Tags added: api-ref doc

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

Title:
  [api-ref] doc does not list resource_request as a field of the
  response of port bulk create

Status in neutron:
  New

Bug description:
  The API ref of bulk port create[1] is incomplete. It does not list the
  resource_request key but the API actually returns that (for admins).
  See example run [2].

  To reproduce:
  1) create a network

  openstack network create net0 \
  --provider-network-type vlan \
  --provider-physical-network physnet0 \
  --provider-segment 100 \
  ##
  openstack subnet create subnet0 \
  --network net0 \
  --subnet-range 10.0.4.0/24 \
  ##

  2) create a QoS policy with a min bw rule

  openstack network qos policy create qp0
  openstack network qos rule create qp0 \
  --type minimum-bandwidth \
  --min-kbps 1000 \
  --egress \

  3) bulk create ports with that QoS policy. See [2]


  [1] https://docs.openstack.org/api-ref/network/v2/?expanded=bulk-create-ports-detail#bulk-create-ports
  [2] https://paste.opendev.org/show/808111/

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