yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #81457
[Bug 1861027] Re: neutron-lib - api-ref - port dns_assignment is a list?
Reviewed: https://review.opendev.org/704517
Committed: https://git.openstack.org/cgit/openstack/neutron-lib/commit/?id=fe653c2047b268797b83e2be198fcd5ca8e7b8b3
Submitter: Zuul
Branch: master
commit fe653c2047b268797b83e2be198fcd5ca8e7b8b3
Author: Slawek Kaplonski <skaplons@xxxxxxxxxx>
Date: Tue Jan 28 10:40:09 2020 +0100
[Api-Ref][Docs] Change dns_assignment parameter to be list
In api-ref dns_assignment parameter was listed as dict but in fact it
is list of dicts.
This patch fixes api-ref to reflect what is actually in neutron's code.
Change-Id: I898633cd360cd9619f5e9a87acb718e01e99b647
Closes-Bug: #1861027
** 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/1861027
Title:
neutron-lib - api-ref - port dns_assignment is a list?
Status in neutron:
Fix Released
Bug description:
In the api reference documentation dns_assignment is documented as:
"dns_assignment": {
"hostname": "myport",
"ip_address": "172.24.4.2",
"fqdn": "myport.my-domain.org"
},
Is it not in actually a list?
"dns_assignment": [
{
"hostname": "myport",
"ip_address": "172.24.4.2",
"fqdn": "myport.my-domain.org"
}
]
https://opendev.org/openstack/neutron-lib/src/branch/master/api-
ref/source/v2/samples/ports/ports-list-response.json#L11-L15
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1861027/+subscriptions
References