Difference between revisions of "API Special Interest Group/Current Design/State vs Status"
(Created page with "= Current Design = == Methodology == <pre><nowiki> git clone https://github.com/openstack/api-site.git cd api-ref/src/wadls/ grep -nR "param .*state.*" * grep -nR "param .*s...") |
|||
Line 1: | Line 1: | ||
+ | = Analysis = | ||
+ | |||
+ | |||
+ | |||
= Current Design = | = Current Design = | ||
Line 9: | Line 13: | ||
grep -nR "param .*status.*" * | grep -nR "param .*status.*" * | ||
</nowiki></pre> | </nowiki></pre> | ||
+ | |||
+ | == State == | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! WADL !! Line !! Param | ||
+ | |- | ||
+ | | [https://github.com/openstack/api-site/tree/master/api-ref/src/wadls/compute-api/src/v2/ext/os-admin-actions.wadl compute-api/src/v2/ext/os-admin-actions.wadl] || 527 || state | ||
+ | |- | ||
+ | | compute-api/src/v2/ext/os-interface.wadl || 109 || port_state | ||
+ | |- | ||
+ | | compute-api/src/v2/ext/os-interface.wadl || 134 || port_state | ||
+ | |- | ||
+ | | netconn-api/src/common.ent || 220 || admin_state_up | ||
+ | |- | ||
+ | | netconn-api/src/os-networks.wadl || 217 || admin_state_up | ||
+ | |- | ||
+ | | netconn-api/src/os-networks.wadl || 291 || admin_state_up | ||
+ | |- | ||
+ | | netconn-api/src/os-networks.wadl || 345 || admin_state_up | ||
+ | |- | ||
+ | | netconn-api/src/os-networks.wadl || 439 || admin_state_up | ||
+ | |- | ||
+ | | netconn-api/src/os-networks.wadl || 518 || admin_state_up | ||
+ | |- | ||
+ | | netconn-api/src/os-networks.wadl || 608 || admin_state_up | ||
+ | |- | ||
+ | | telemetry-api/src/v2/os-telemetry-api-2.0.wadl || 420 || state | ||
+ | |- | ||
+ | | volume-api/src/v2/os-attach.wadl || 142 || port_state | ||
+ | |- | ||
+ | | volume-api/src/v2/os-attach.wadl || 174 || port_state | ||
+ | |} | ||
+ | |||
+ | == Status == | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! WADL !! Line !! Param | ||
+ | |- | ||
+ | | [https://github.com/openstack/api-site/tree/master/api-ref/src/wadls/compute-api/src/v2/ext/os-hosts.wadl compute-api/src/v2/ext/os-hosts.wadl] || 118 || status | ||
+ | |- | ||
+ | | [https://github.com/openstack/api-site/tree/master/api-ref/src/wadls/compute-api/src/v2/ext/os-migrations.wadl compute-api/src/v2/ext/os-migrations.wadl] || 29 || status | ||
+ | |- | ||
+ | | [https://github.com/openstack/api-site/tree/master/api-ref/src/wadls/compute-api/src/v2/ext/os-migrations.wadl compute-api/src/v2/ext/os-migrations.wadl] || 138 || status | ||
+ | |- | ||
+ | | [https://github.com/openstack/api-site/tree/master/api-ref/src/wadls/identity-api/src/v3/wadl/common.ent identity-api/src/v3/wadl/common.ent] || 128 || status | ||
+ | |- | ||
+ | | [https://github.com/openstack/api-site/tree/master/api-ref/src/wadls/image-api/src/v2/common.ent image-api/src/v2/common.ent] || 98 || member_status | ||
+ | |- | ||
+ | | [https://github.com/openstack/api-site/tree/master/api-ref/src/wadls/image-api/src/v2/common.ent image-api/src/v2/common.ent] || 118 || status | ||
+ | |- | ||
+ | | [https://github.com/openstack/api-site/tree/master/api-ref/src/wadls/image-api/src/v2/common.ent image-api/src/v2/common.ent] || 186 || status | ||
+ | |- | ||
+ | | [https://github.com/openstack/api-site/tree/master/api-ref/src/wadls/netconn-api/src/common.ent image-api/src/v2/common.ent] || 202 || status | ||
+ | |- | ||
+ | | [https://github.com/openstack/api-site/tree/master/api-ref/src/wadls/netconn-api/src/os-networks.wadl netconn-api/src/os-networks.wadl] || 245 || status | ||
+ | |- | ||
+ | | [https://github.com/openstack/api-site/tree/master/api-ref/src/wadls/netconn-api/src/os-networks.wadl netconn-api/src/os-networks.wadl] || 373 || status | ||
+ | |- | ||
+ | | [https://github.com/openstack/api-site/tree/master/api-ref/src/wadls/netconn-api/src/os-networks.wadl netconn-api/src/os-networks.wadl] || 467 || status | ||
+ | |- | ||
+ | | [https://github.com/openstack/api-site/tree/master/api-ref/src/wadls/netconn-api/src/os-networks.wadl netconn-api/src/os-networks.wadl] || 546 || status | ||
+ | |- | ||
+ | | [https://github.com/openstack/api-site/tree/master/api-ref/src/wadls/netconn-api/src/os-networks.wadl netconn-api/src/os-networks.wadl] || 636 || status | ||
+ | |- | ||
+ | | [https://github.com/openstack/api-site/tree/master/api-ref/src/wadls/orchestration-api/src/v1/orchestration-api.wadl orchestration-api/src/v1/orchestration-api.wadl] || 285 || status | ||
+ | |- | ||
+ | | [https://github.com/openstack/api-site/tree/master/api-ref/src/wadls/orchestration-api/src/v1/orchestration-api.wadl orchestration-api/src/v1/orchestration-api.wadl] || 1105 || resource_status | ||
+ | |- | ||
+ | | [https://github.com/openstack/api-site/tree/master/api-ref/src/wadls/orchestration-api/src/v1/orchestration-api.wadl orchestration-api/src/v1/orchestration-api.wadl] || 1208 || resource_status | ||
+ | |- | ||
+ | | [https://github.com/openstack/api-site/tree/master/api-ref/src/wadls/orchestration-api/src/v1/orchestration-api.wadl orchestration-api/src/v1/orchestration-api.wadl] || 1491 || status | ||
+ | |- | ||
+ | | [https://github.com/openstack/api-site/tree/master/api-ref/src/wadls/orchestration-api/src/v1/orchestration-api.wadl orchestration-api/src/v1/orchestration-api.wadl] || 1499 || status_reason | ||
+ | |- | ||
+ | | [https://github.com/openstack/api-site/tree/master/api-ref/src/wadls/orchestration-api/src/v1/orchestration-api.wadl orchestration-api/src/v1/orchestration-api.wadl] || 1567 || status | ||
+ | |- | ||
+ | | [https://github.com/openstack/api-site/tree/master/api-ref/src/wadls/orchestration-api/src/v1/orchestration-api.wadl orchestration-api/src/v1/orchestration-api.wadl] || 1575 || status_reason | ||
+ | |} |
Revision as of 20:10, 21 January 2015
Analysis
Current Design
Methodology
git clone https://github.com/openstack/api-site.git cd api-ref/src/wadls/ grep -nR "param .*state.*" * grep -nR "param .*status.*" *
State
WADL | Line | Param |
---|---|---|
compute-api/src/v2/ext/os-admin-actions.wadl | 527 | state |
compute-api/src/v2/ext/os-interface.wadl | 109 | port_state |
compute-api/src/v2/ext/os-interface.wadl | 134 | port_state |
netconn-api/src/common.ent | 220 | admin_state_up |
netconn-api/src/os-networks.wadl | 217 | admin_state_up |
netconn-api/src/os-networks.wadl | 291 | admin_state_up |
netconn-api/src/os-networks.wadl | 345 | admin_state_up |
netconn-api/src/os-networks.wadl | 439 | admin_state_up |
netconn-api/src/os-networks.wadl | 518 | admin_state_up |
netconn-api/src/os-networks.wadl | 608 | admin_state_up |
telemetry-api/src/v2/os-telemetry-api-2.0.wadl | 420 | state |
volume-api/src/v2/os-attach.wadl | 142 | port_state |
volume-api/src/v2/os-attach.wadl | 174 | port_state |