3 Commits

Author SHA1 Message Date
Brian Haley
670f83b0de Fix some api-ref typos
There were some places in the API ref that it shows a 202 is
returned on Update, but we always return a 200 (HTTPOk).
Fixed a few other cases where Create (should be 201) and
Delete (should be 204) were wrong as well.

Change-Id: I4f6eb742f4420d0844e9c254ce989fc62973b0cf
Closes-bug: #1942448
2021-09-03 14:28:50 -04:00
YAMAMOTO Takashi
ab39764fec Add a space after comma
For consistency.

Also,
- Sort codes in "Error responce codes"
- Remove 5xx from "Error response codes"
- Move 2xx to "Normal response codes"

This is mechanically done by applying the following on each *.inc:

    gawk -F": " 'function p(h,a){r=s="";asort(a);
    for(i in a){r=r s a[i];s=", "};print h ": " r}
    /^Error response codes:/{split($2,a,/[, ]*/);
    delete n;ni=1;delete e;ei=1;
    for(i in a){x=a[i];v=x-x%100;if(v==200)n[ni++]=x;
    else if(v!=500)e[ei++]=x};
    if(ni>1){p("Normal response codes",n);
    print ""};p($1,e);next}//{print}'

Change-Id: I5447e660117e56b057d2b2cf509666a1d56e63bf
2017-02-06 09:09:38 +09:00
YAMAMOTO Takashi
691ca918f0 Migrate logging-resource extension from networking-midonet
This is a part of the stadium implosion effort. [1]

References:
    http://docs.openstack.org/developer/networking-midonet/specs/mitaka/logging-API-for-firewall-rules.html
    http://docs.openstack.org/developer/networking-midonet/devstack.html#logging-resource-service

[1] https://review.openstack.org/#/c/389397/

Partial-Bug: #1614349
Change-Id: I078974c6c583caa2b1713595874c7e039a82884d
2017-02-06 09:09:38 +09:00