API Special Interest Group/Current Design/State vs Status
< API Special Interest Group | Current Design
Revision as of 00:36, 22 January 2015 by Shaunak Kashyap (talk | contribs) (Adding line number anchors to links)
Analysis
13 calls that take a param with the word state in it
20 call that take a param with the word status in it
Nova and Neutron have calls with both state and status
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#L527 | 527 | state |
compute-api/src/v2/ext/os-interface.wadl#L109 | 109 | port_state |
compute-api/src/v2/ext/os-interface.wadl#L134 | 134 | port_state |
netconn-api/src/common.ent#L220 | 220 | admin_state_up |
netconn-api/src/os-networks.wadl#L217 | 217 | admin_state_up |
netconn-api/src/os-networks.wadl#L291 | 291 | admin_state_up |
netconn-api/src/os-networks.wadl#L345 | 345 | admin_state_up |
netconn-api/src/os-networks.wadl#L439 | 439 | admin_state_up |
netconn-api/src/os-networks.wadl#L518 | 518 | admin_state_up |
netconn-api/src/os-networks.wadl#L608 | 608 | admin_state_up |
telemetry-api/src/v2/os-telemetry-api-2.0.wadl#L420 | 420 | state |
volume-api/src/v2/os-attach.wadl#L142 | 142 | port_state |
volume-api/src/v2/os-attach.wadl#L174 | 174 | port_state |