yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #59945
[Bug 1643121] Re: The Result is different from API document about 'qos-policy-show'
Reviewed: https://review.openstack.org/400660
Committed: https://git.openstack.org/cgit/openstack/neutron-lib/commit/?id=1152f9d4c39cc5994255e193ce3b56667c3a84fd
Submitter: Jenkins
Branch: master
commit 1152f9d4c39cc5994255e193ce3b56667c3a84fd
Author: QunyingRan <ran.qunying@xxxxxxxxxx>
Date: Tue Nov 22 18:10:02 2016 +0800
Modify API response information in API documents
The result is different from API document about 'qos-policy-show',
bandwidth and DSCP description in rules list not in policy
Change-Id: I1d857f5061f4fc7a58ed13766016d04ff6d315eb
Closes-Bug: #1643121
** 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/1643121
Title:
The Result is different from API document about 'qos-policy-show'
Status in neutron:
Fix Released
Bug description:
The rules descriptions In response of 'qos-policy-show' is different from actual result.
In API document,the response of 'qos-policy-show' is follow:
{
"policy": {
"project_id": "8d4c70a21fed4aeba121a1a429ba0d04",
"tenant_id": "8d4c70a21fed4aeba121a1a429ba0d04",
"id": "46ebaec0-0570-43ac-82f6-60d2b03168c4",
"name": "10Mbit",
"description": "This policy limits the ports to 10Mbit max.",
"shared": false,
"bandwidth_limit_rules": [
{
"id": "5f126d84-551a-4dcf-bb01-0e9c0df0c793",
"policy_id": "46ebaec0-0570-43ac-82f6-60d2b03168c4",
"max_kbps": "10000",
"max_burst_kbps": "0"
}
],
"dscp_marking_rules": [
{
"id": "5f126d84-551a-4dcf-bb01-0e9c0df0c794",
"policy_id": "46ebaec0-0570-43ac-82f6-60d2b03168c4",
"dscp_mark": "26"
}
]
}
}
but the result in fact is:
{"policy":
{"name": "p1",
"rules": [
{"max_kbps": 10000,
"type": "bandwidth_limit",
"id": "25352eaa-0651-4c3d-b0e0-f1eb5857d4b7",
"max_burst_kbps": 0,
"qos_policy_id": "d92847df-38b2-48db-bf56-d12288e9cdbb"},
{"dscp_mark": 20,
"type": "dscp_marking",
"id": "4c31a158-73ff-484f-aef4-7cfb14035009",
"qos_policy_id": "d92847df-38b2-48db-bf56-d12288e9cdbb"}
],
"tenant_id": "9a5b27e4da8b4aec99df42b222a8a696",
"created_at": "2016-11-19T03:48:05Z",
"updated_at": "2016-11-19T03:49:30Z",
"revision_number": 3,
"shared": false,
"project_id": "9a5b27e4da8b4aec99df42b222a8a696",
"id": "d92847df-38b2-48db-bf56-d12288e9cdbb",
"description": ""}
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1643121/+subscriptions
References