Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 487.65 KB | None | 0 0
  1. user@ubuntu:/opt/stack/python-congressclient$ ../congress/scripts/manual_testing/general.sh
  2. +../congress/scripts/manual_testing/general.sh:main:14 openstack congress version list
  3. +----+---------+----------------------+
  4. | id | status | updated |
  5. +----+---------+----------------------+
  6. | v1 | CURRENT | 2013-08-12T17:42:13Z |
  7. +----+---------+----------------------+
  8. ++../congress/scripts/manual_testing/general.sh:main:15 openstack congress datasource create --config username=admin --config tenant_name=admin --config auth_url=http://127.0.0.1:5000/v3 --config password=password --config poll_time=5 nova nova2 -f value
  9. ++../congress/scripts/manual_testing/general.sh:main:15 sed -n 5p
  10. +../congress/scripts/manual_testing/general.sh:main:15 UUID=7632adb5-c106-468b-ae60-bc576a73072d
  11. +../congress/scripts/manual_testing/general.sh:main:16 openstack congress datasource actions show nova2
  12. +-------------------------+-------------------------+--------------------------+
  13. | action | args | description |
  14. +-------------------------+-------------------------+--------------------------+
  15. | agents.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  16. | | 'cls: class that | specified type. |
  17. | | registers hooks'}, | |
  18. | | {'name': 'hook_type', | |
  19. | | 'desc': "hook_type: | |
  20. | | hook type, e.g., | |
  21. | | '__pre_parse_args__'"}, | |
  22. | | {'name': 'hook_func', | |
  23. | | 'desc': 'hook_func: | |
  24. | | hook function'} | |
  25. | | | |
  26. | agents.alternate_servic | | |
  27. | e_type | | |
  28. | agents.completion_cache | | The completion cache for |
  29. | | | bash autocompletion. |
  30. | | | The completion cache |
  31. | | | store items that can be |
  32. | | | used for bash |
  33. | | | autocompletion, like |
  34. | | | UUIDs or human-friendly |
  35. | | | IDs. A resource listing |
  36. | | | will clear and |
  37. | | | repopulate the cache. A |
  38. | | | resource create will |
  39. | | | append to the cache. |
  40. | | | Delete is not handled |
  41. | | | because listings are |
  42. | | | assumed to be performed |
  43. | | | often enough to keep the |
  44. | | | cache reasonably up-to- |
  45. | | | date. |
  46. | agents.convert_into_wit | | |
  47. | h_meta | | |
  48. | agents.create | {'name': 'os', 'desc': | Create a new agent |
  49. | | 'None'}, | build. |
  50. | | {'name': | |
  51. | | 'architecture', 'desc': | |
  52. | | 'None'}, | |
  53. | | {'name': 'version', | |
  54. | | 'desc': 'None'}, | |
  55. | | {'name': 'url', 'desc': | |
  56. | | 'None'}, | |
  57. | | {'name': 'md5hash', | |
  58. | | 'desc': 'None'}, | |
  59. | | {'name': 'hypervisor', | |
  60. | | 'desc': 'None'} | |
  61. | | | |
  62. | agents.delete | {'name': 'id', 'desc': | Deletes an existing |
  63. | | "id: The agent's id to | agent build. |
  64. | | delete :returns: An | |
  65. | | instance of novaclient. | |
  66. | | base.TupleWithMeta"} | |
  67. | | | |
  68. | agents.find | | Find a single item with |
  69. | | | attributes matching |
  70. | | | ``**kwargs``. |
  71. | agents.findall | | Find all items with |
  72. | | | attributes matching |
  73. | | | ``**kwargs``. |
  74. | agents.list | {'name': 'hypervisor', | List all agent builds. |
  75. | | 'desc': 'None'} | |
  76. | | | |
  77. | agents.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  78. | | 'cls: class that | specified type. |
  79. | | registers hooks'}, | |
  80. | | {'name': 'hook_type', | |
  81. | | 'desc': "hook_type: | |
  82. | | hook type, e.g., | |
  83. | | '__pre_parse_args__'"} | |
  84. | | | |
  85. | agents.update | {'name': 'id', 'desc': | Update an existing agent |
  86. | | 'None'}, | build. |
  87. | | {'name': 'version', | |
  88. | | 'desc': 'None'}, | |
  89. | | {'name': 'url', 'desc': | |
  90. | | 'None'}, | |
  91. | | {'name': 'md5hash', | |
  92. | | 'desc': 'None'} | |
  93. | | | |
  94. | agents.write_to_complet | | |
  95. | ion_cache | | |
  96. | aggregates.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  97. | | 'cls: class that | specified type. |
  98. | | registers hooks'}, | |
  99. | | {'name': 'hook_type', | |
  100. | | 'desc': "hook_type: | |
  101. | | hook type, e.g., | |
  102. | | '__pre_parse_args__'"}, | |
  103. | | {'name': 'hook_func', | |
  104. | | 'desc': 'hook_func: | |
  105. | | hook function'} | |
  106. | | | |
  107. | aggregates.add_host | {'name': 'aggregate', | Add a host into the Host |
  108. | | 'desc': 'None'}, | Aggregate. |
  109. | | {'name': 'host', | |
  110. | | 'desc': 'None'} | |
  111. | | | |
  112. | aggregates.alternate_se | | |
  113. | rvice_type | | |
  114. | aggregates.completion_c | | The completion cache for |
  115. | ache | | bash autocompletion. |
  116. | | | The completion cache |
  117. | | | store items that can be |
  118. | | | used for bash |
  119. | | | autocompletion, like |
  120. | | | UUIDs or human-friendly |
  121. | | | IDs. A resource listing |
  122. | | | will clear and |
  123. | | | repopulate the cache. A |
  124. | | | resource create will |
  125. | | | append to the cache. |
  126. | | | Delete is not handled |
  127. | | | because listings are |
  128. | | | assumed to be performed |
  129. | | | often enough to keep the |
  130. | | | cache reasonably up-to- |
  131. | | | date. |
  132. | aggregates.convert_into | | |
  133. | _with_meta | | |
  134. | aggregates.create | {'name': 'name', | Create a new aggregate. |
  135. | | 'desc': 'None'}, | |
  136. | | {'name': | |
  137. | | 'availability_zone', | |
  138. | | 'desc': 'None'} | |
  139. | | | |
  140. | aggregates.delete | {'name': 'aggregate', | Delete the specified |
  141. | | 'desc': 'aggregate: The | aggregate. |
  142. | | aggregate to delete | |
  143. | | :returns: An instance | |
  144. | | of novaclient.base.Tupl | |
  145. | | eWithMeta'} | |
  146. | | | |
  147. | aggregates.find | | Find a single item with |
  148. | | | attributes matching |
  149. | | | ``**kwargs``. |
  150. | aggregates.findall | | Find all items with |
  151. | | | attributes matching |
  152. | | | ``**kwargs``. |
  153. | aggregates.get | {'name': 'aggregate', | Get details of the |
  154. | | 'desc': 'None'} | specified aggregate. |
  155. | | | |
  156. | aggregates.get_details | {'name': 'aggregate', | Get details of the |
  157. | | 'desc': 'None'} | specified aggregate. |
  158. | | | |
  159. | aggregates.list | | Get a list of os- |
  160. | | | aggregates. |
  161. | aggregates.remove_host | {'name': 'aggregate', | Remove a host from the |
  162. | | 'desc': 'None'}, | Host Aggregate. |
  163. | | {'name': 'host', | |
  164. | | 'desc': 'None'} | |
  165. | | | |
  166. | aggregates.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  167. | | 'cls: class that | specified type. |
  168. | | registers hooks'}, | |
  169. | | {'name': 'hook_type', | |
  170. | | 'desc': "hook_type: | |
  171. | | hook type, e.g., | |
  172. | | '__pre_parse_args__'"} | |
  173. | | | |
  174. | aggregates.set_metadata | {'name': 'aggregate', | Set aggregate metadata, |
  175. | | 'desc': 'None'}, | replacing the existing |
  176. | | {'name': 'metadata', | metadata. |
  177. | | 'desc': 'None'} | |
  178. | | | |
  179. | aggregates.update | {'name': 'aggregate', | Update the name and/or |
  180. | | 'desc': 'None'}, | availability zone. |
  181. | | {'name': 'values', | |
  182. | | 'desc': 'None'} | |
  183. | | | |
  184. | aggregates.write_to_com | | |
  185. | pletion_cache | | |
  186. | assisted_volume_snapsho | {'name': 'cls', 'desc': | Add a new hook of |
  187. | ts.add_hook | 'cls: class that | specified type. |
  188. | | registers hooks'}, | |
  189. | | {'name': 'hook_type', | |
  190. | | 'desc': "hook_type: | |
  191. | | hook type, e.g., | |
  192. | | '__pre_parse_args__'"}, | |
  193. | | {'name': 'hook_func', | |
  194. | | 'desc': 'hook_func: | |
  195. | | hook function'} | |
  196. | | | |
  197. | assisted_volume_snapsho | | |
  198. | ts.alternate_service_ty | | |
  199. | pe | | |
  200. | assisted_volume_snapsho | | The completion cache for |
  201. | ts.completion_cache | | bash autocompletion. |
  202. | | | The completion cache |
  203. | | | store items that can be |
  204. | | | used for bash |
  205. | | | autocompletion, like |
  206. | | | UUIDs or human-friendly |
  207. | | | IDs. A resource listing |
  208. | | | will clear and |
  209. | | | repopulate the cache. A |
  210. | | | resource create will |
  211. | | | append to the cache. |
  212. | | | Delete is not handled |
  213. | | | because listings are |
  214. | | | assumed to be performed |
  215. | | | often enough to keep the |
  216. | | | cache reasonably up-to- |
  217. | | | date. |
  218. | assisted_volume_snapsho | | |
  219. | ts.convert_into_with_me | | |
  220. | ta | | |
  221. | assisted_volume_snapsho | | |
  222. | ts.create | | |
  223. | assisted_volume_snapsho | {'name': 'snapshot', | Delete a specified |
  224. | ts.delete | 'desc': 'snapshot: an | assisted volume |
  225. | | assisted volume | snapshot. |
  226. | | snapshot to delete'}, | |
  227. | | {'name': 'delete_info', | |
  228. | | 'desc': 'delete_info: | |
  229. | | Information for | |
  230. | | snapshot deletion | |
  231. | | :returns: An instance | |
  232. | | of novaclient.base.Tupl | |
  233. | | eWithMeta'} | |
  234. | | | |
  235. | assisted_volume_snapsho | {'name': 'cls', 'desc': | Run all hooks of |
  236. | ts.run_hooks | 'cls: class that | specified type. |
  237. | | registers hooks'}, | |
  238. | | {'name': 'hook_type', | |
  239. | | 'desc': "hook_type: | |
  240. | | hook type, e.g., | |
  241. | | '__pre_parse_args__'"} | |
  242. | | | |
  243. | assisted_volume_snapsho | | |
  244. | ts.write_to_completion_ | | |
  245. | cache | | |
  246. | availability_zones.add_ | {'name': 'cls', 'desc': | Add a new hook of |
  247. | hook | 'cls: class that | specified type. |
  248. | | registers hooks'}, | |
  249. | | {'name': 'hook_type', | |
  250. | | 'desc': "hook_type: | |
  251. | | hook type, e.g., | |
  252. | | '__pre_parse_args__'"}, | |
  253. | | {'name': 'hook_func', | |
  254. | | 'desc': 'hook_func: | |
  255. | | hook function'} | |
  256. | | | |
  257. | availability_zones.alte | | |
  258. | rnate_service_type | | |
  259. | availability_zones.comp | | The completion cache for |
  260. | letion_cache | | bash autocompletion. |
  261. | | | The completion cache |
  262. | | | store items that can be |
  263. | | | used for bash |
  264. | | | autocompletion, like |
  265. | | | UUIDs or human-friendly |
  266. | | | IDs. A resource listing |
  267. | | | will clear and |
  268. | | | repopulate the cache. A |
  269. | | | resource create will |
  270. | | | append to the cache. |
  271. | | | Delete is not handled |
  272. | | | because listings are |
  273. | | | assumed to be performed |
  274. | | | often enough to keep the |
  275. | | | cache reasonably up-to- |
  276. | | | date. |
  277. | availability_zones.conv | | |
  278. | ert_into_with_meta | | |
  279. | availability_zones.find | | Find a single item with |
  280. | | | attributes matching |
  281. | | | ``**kwargs``. |
  282. | availability_zones.find | | Find all items with |
  283. | all | | attributes matching |
  284. | | | ``**kwargs``. |
  285. | availability_zones.list | {'name': 'detailed', | Get a list of all |
  286. | | 'desc': 'detailed: If | availability zones. |
  287. | | True, list availability | |
  288. | | zones with details. | |
  289. | | :returns: list of :clas | |
  290. | | s:`AvailabilityZone`'} | |
  291. | | | |
  292. | availability_zones.run_ | {'name': 'cls', 'desc': | Run all hooks of |
  293. | hooks | 'cls: class that | specified type. |
  294. | | registers hooks'}, | |
  295. | | {'name': 'hook_type', | |
  296. | | 'desc': "hook_type: | |
  297. | | hook type, e.g., | |
  298. | | '__pre_parse_args__'"} | |
  299. | | | |
  300. | availability_zones.writ | | |
  301. | e_to_completion_cache | | |
  302. | cells.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  303. | | 'cls: class that | specified type. |
  304. | | registers hooks'}, | |
  305. | | {'name': 'hook_type', | |
  306. | | 'desc': "hook_type: | |
  307. | | hook type, e.g., | |
  308. | | '__pre_parse_args__'"}, | |
  309. | | {'name': 'hook_func', | |
  310. | | 'desc': 'hook_func: | |
  311. | | hook function'} | |
  312. | | | |
  313. | cells.alternate_service | | |
  314. | _type | | |
  315. | cells.capacities | {'name': 'cell_name', | Get capacities for a |
  316. | | 'desc': 'cell_name: | cell. |
  317. | | Name of the | |
  318. | | :class:`Cell` to get | |
  319. | | capacities for. :rtype: | |
  320. | | :class:`Cell`'} | |
  321. | | | |
  322. | cells.completion_cache | | The completion cache for |
  323. | | | bash autocompletion. |
  324. | | | The completion cache |
  325. | | | store items that can be |
  326. | | | used for bash |
  327. | | | autocompletion, like |
  328. | | | UUIDs or human-friendly |
  329. | | | IDs. A resource listing |
  330. | | | will clear and |
  331. | | | repopulate the cache. A |
  332. | | | resource create will |
  333. | | | append to the cache. |
  334. | | | Delete is not handled |
  335. | | | because listings are |
  336. | | | assumed to be performed |
  337. | | | often enough to keep the |
  338. | | | cache reasonably up-to- |
  339. | | | date. |
  340. | cells.convert_into_with | | |
  341. | _meta | | |
  342. | cells.get | {'name': 'cell_name', | Get a cell. |
  343. | | 'desc': 'cell_name: | |
  344. | | Name of the | |
  345. | | :class:`Cell` to get. | |
  346. | | :rtype: :class:`Cell`'} | |
  347. | | | |
  348. | cells.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  349. | | 'cls: class that | specified type. |
  350. | | registers hooks'}, | |
  351. | | {'name': 'hook_type', | |
  352. | | 'desc': "hook_type: | |
  353. | | hook type, e.g., | |
  354. | | '__pre_parse_args__'"} | |
  355. | | | |
  356. | cells.write_to_completi | | |
  357. | on_cache | | |
  358. | certs.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  359. | | 'cls: class that | specified type. |
  360. | | registers hooks'}, | |
  361. | | {'name': 'hook_type', | |
  362. | | 'desc': "hook_type: | |
  363. | | hook type, e.g., | |
  364. | | '__pre_parse_args__'"}, | |
  365. | | {'name': 'hook_func', | |
  366. | | 'desc': 'hook_func: | |
  367. | | hook function'} | |
  368. | | | |
  369. | certs.alternate_service | | |
  370. | _type | | |
  371. | certs.completion_cache | | The completion cache for |
  372. | | | bash autocompletion. |
  373. | | | The completion cache |
  374. | | | store items that can be |
  375. | | | used for bash |
  376. | | | autocompletion, like |
  377. | | | UUIDs or human-friendly |
  378. | | | IDs. A resource listing |
  379. | | | will clear and |
  380. | | | repopulate the cache. A |
  381. | | | resource create will |
  382. | | | append to the cache. |
  383. | | | Delete is not handled |
  384. | | | because listings are |
  385. | | | assumed to be performed |
  386. | | | often enough to keep the |
  387. | | | cache reasonably up-to- |
  388. | | | date. |
  389. | certs.convert_into_with | | |
  390. | _meta | | |
  391. | certs.create | | DEPRECATED Create a x509 |
  392. | | | certificate for a user |
  393. | | | in tenant. |
  394. | certs.get | | DEPRECATED Get root |
  395. | | | certificate. |
  396. | certs.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  397. | | 'cls: class that | specified type. |
  398. | | registers hooks'}, | |
  399. | | {'name': 'hook_type', | |
  400. | | 'desc': "hook_type: | |
  401. | | hook type, e.g., | |
  402. | | '__pre_parse_args__'"} | |
  403. | | | |
  404. | certs.write_to_completi | | |
  405. | on_cache | | |
  406. | client.authenticate | | Authenticate against the |
  407. | | | server. Normally this |
  408. | | | is called automatically |
  409. | | | when you first access |
  410. | | | the API, but you can |
  411. | | | call this method to |
  412. | | | force authentication |
  413. | | | right now. Returns on |
  414. | | | success; raises :exc:`ex |
  415. | | | ceptions.Unauthorized` |
  416. | | | if the credentials are |
  417. | | | wrong. |
  418. | client.get_timings | | |
  419. | | | |
  420. | client.reset_timings | | |
  421. | | | |
  422. | client.set_management_u | | |
  423. | rl | | |
  424. | cloudpipe.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  425. | | 'cls: class that | specified type. |
  426. | | registers hooks'}, | |
  427. | | {'name': 'hook_type', | |
  428. | | 'desc': "hook_type: | |
  429. | | hook type, e.g., | |
  430. | | '__pre_parse_args__'"}, | |
  431. | | {'name': 'hook_func', | |
  432. | | 'desc': 'hook_func: | |
  433. | | hook function'} | |
  434. | | | |
  435. | cloudpipe.alternate_ser | | |
  436. | vice_type | | |
  437. | cloudpipe.completion_ca | | The completion cache for |
  438. | che | | bash autocompletion. |
  439. | | | The completion cache |
  440. | | | store items that can be |
  441. | | | used for bash |
  442. | | | autocompletion, like |
  443. | | | UUIDs or human-friendly |
  444. | | | IDs. A resource listing |
  445. | | | will clear and |
  446. | | | repopulate the cache. A |
  447. | | | resource create will |
  448. | | | append to the cache. |
  449. | | | Delete is not handled |
  450. | | | because listings are |
  451. | | | assumed to be performed |
  452. | | | often enough to keep the |
  453. | | | cache reasonably up-to- |
  454. | | | date. |
  455. | cloudpipe.convert_into_ | | |
  456. | with_meta | | |
  457. | cloudpipe.create | {'name': 'project', | DEPRECATED Launch a |
  458. | | 'desc': 'project: UUID | cloudpipe instance. |
  459. | | of the project (tenant) | |
  460. | | for the cloudpipe'} | |
  461. | | | |
  462. | cloudpipe.find | | Find a single item with |
  463. | | | attributes matching |
  464. | | | ``**kwargs``. |
  465. | cloudpipe.findall | | Find all items with |
  466. | | | attributes matching |
  467. | | | ``**kwargs``. |
  468. | cloudpipe.list | | DEPRECATED Get a list of |
  469. | | | cloudpipe instances. |
  470. | cloudpipe.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  471. | | 'cls: class that | specified type. |
  472. | | registers hooks'}, | |
  473. | | {'name': 'hook_type', | |
  474. | | 'desc': "hook_type: | |
  475. | | hook type, e.g., | |
  476. | | '__pre_parse_args__'"} | |
  477. | | | |
  478. | cloudpipe.update | {'name': 'address', | DEPRECATED Configure |
  479. | | 'desc': 'address: IP | cloudpipe parameters for |
  480. | | address'}, | the project. Update VPN |
  481. | | {'name': 'port', | address and port for all |
  482. | | 'desc': 'port: Port | networks associated with |
  483. | | number :returns: An | the project defined by |
  484. | | instance of novaclient. | authentication |
  485. | | base.TupleWithMeta'} | |
  486. | | | |
  487. | cloudpipe.write_to_comp | | |
  488. | letion_cache | | |
  489. | flavor_access.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  490. | | 'cls: class that | specified type. |
  491. | | registers hooks'}, | |
  492. | | {'name': 'hook_type', | |
  493. | | 'desc': "hook_type: | |
  494. | | hook type, e.g., | |
  495. | | '__pre_parse_args__'"}, | |
  496. | | {'name': 'hook_func', | |
  497. | | 'desc': 'hook_func: | |
  498. | | hook function'} | |
  499. | | | |
  500. | flavor_access.add_tenan | {'name': 'flavor', | Add a tenant to the |
  501. | t_access | 'desc': 'None'}, | given flavor access |
  502. | | {'name': 'tenant', | list. |
  503. | | 'desc': 'None'} | |
  504. | | | |
  505. | flavor_access.alternate | | |
  506. | _service_type | | |
  507. | flavor_access.completio | | The completion cache for |
  508. | n_cache | | bash autocompletion. |
  509. | | | The completion cache |
  510. | | | store items that can be |
  511. | | | used for bash |
  512. | | | autocompletion, like |
  513. | | | UUIDs or human-friendly |
  514. | | | IDs. A resource listing |
  515. | | | will clear and |
  516. | | | repopulate the cache. A |
  517. | | | resource create will |
  518. | | | append to the cache. |
  519. | | | Delete is not handled |
  520. | | | because listings are |
  521. | | | assumed to be performed |
  522. | | | often enough to keep the |
  523. | | | cache reasonably up-to- |
  524. | | | date. |
  525. | flavor_access.convert_i | | |
  526. | nto_with_meta | | |
  527. | flavor_access.find | | Find a single item with |
  528. | | | attributes matching |
  529. | | | ``**kwargs``. |
  530. | flavor_access.findall | | Find all items with |
  531. | | | attributes matching |
  532. | | | ``**kwargs``. |
  533. | flavor_access.list | | |
  534. | | | |
  535. | flavor_access.remove_te | {'name': 'flavor', | Remove a tenant from the |
  536. | nant_access | 'desc': 'None'}, | given flavor access |
  537. | | {'name': 'tenant', | list. |
  538. | | 'desc': 'None'} | |
  539. | | | |
  540. | flavor_access.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  541. | | 'cls: class that | specified type. |
  542. | | registers hooks'}, | |
  543. | | {'name': 'hook_type', | |
  544. | | 'desc': "hook_type: | |
  545. | | hook type, e.g., | |
  546. | | '__pre_parse_args__'"} | |
  547. | | | |
  548. | flavor_access.write_to_ | | |
  549. | completion_cache | | |
  550. | flavors.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  551. | | 'cls: class that | specified type. |
  552. | | registers hooks'}, | |
  553. | | {'name': 'hook_type', | |
  554. | | 'desc': "hook_type: | |
  555. | | hook type, e.g., | |
  556. | | '__pre_parse_args__'"}, | |
  557. | | {'name': 'hook_func', | |
  558. | | 'desc': 'hook_func: | |
  559. | | hook function'} | |
  560. | | | |
  561. | flavors.alternate_servi | | |
  562. | ce_type | | |
  563. | flavors.completion_cach | | The completion cache for |
  564. | e | | bash autocompletion. |
  565. | | | The completion cache |
  566. | | | store items that can be |
  567. | | | used for bash |
  568. | | | autocompletion, like |
  569. | | | UUIDs or human-friendly |
  570. | | | IDs. A resource listing |
  571. | | | will clear and |
  572. | | | repopulate the cache. A |
  573. | | | resource create will |
  574. | | | append to the cache. |
  575. | | | Delete is not handled |
  576. | | | because listings are |
  577. | | | assumed to be performed |
  578. | | | often enough to keep the |
  579. | | | cache reasonably up-to- |
  580. | | | date. |
  581. | flavors.convert_into_wi | | |
  582. | th_meta | | |
  583. | flavors.create | {'name': 'name', | Create a flavor. |
  584. | | 'desc': 'name: | |
  585. | | Descriptive name of the | |
  586. | | flavor'}, | |
  587. | | {'name': 'ram', 'desc': | |
  588. | | 'ram: Memory in MB for | |
  589. | | the flavor'}, | |
  590. | | {'name': 'vcpus', | |
  591. | | 'desc': 'vcpus: Number | |
  592. | | of VCPUs for the | |
  593. | | flavor'}, | |
  594. | | {'name': 'disk', | |
  595. | | 'desc': 'disk: Size of | |
  596. | | local disk in GB'}, | |
  597. | | {'name': 'flavorid', | |
  598. | | 'desc': 'flavorid: ID | |
  599. | | for the flavor | |
  600. | | (optional). You can use | |
  601. | | the reserved value | |
  602. | | ``"auto"`` to have Nova | |
  603. | | generate a UUID for the | |
  604. | | flavor in cases where | |
  605. | | you cannot simply pass | |
  606. | | ``None``.'}, | |
  607. | | {'name': 'ephemeral', | |
  608. | | 'desc': 'swap: Swap | |
  609. | | space in MB'}, | |
  610. | | {'name': 'swap', | |
  611. | | 'desc': 'rxtx_factor: | |
  612. | | RX/TX factor :returns: | |
  613. | | :class:`Flavor`'}, | |
  614. | | {'name': 'rxtx_factor', | |
  615. | | 'desc': 'None'}, | |
  616. | | {'name': 'is_public', | |
  617. | | 'desc': 'None'} | |
  618. | | | |
  619. | flavors.delete | {'name': 'flavor', | Delete a specific |
  620. | | 'desc': 'flavor: The ID | flavor. |
  621. | | of the :class:`Flavor` | |
  622. | | to get. :returns: An | |
  623. | | instance of novaclient. | |
  624. | | base.TupleWithMeta'} | |
  625. | | | |
  626. | flavors.find | | Find a single item with |
  627. | | | attributes matching |
  628. | | | ``**kwargs``. |
  629. | flavors.findall | | Find all items with |
  630. | | | attributes matching |
  631. | | | ``**kwargs``. |
  632. | flavors.get | {'name': 'flavor', | Get a specific flavor. |
  633. | | 'desc': 'flavor: The ID | |
  634. | | of the :class:`Flavor` | |
  635. | | to get. :returns: | |
  636. | | :class:`Flavor`'} | |
  637. | | | |
  638. | flavors.list | {'name': 'detailed', | Get a list of all |
  639. | | 'desc': 'detailed: | flavors. |
  640. | | Whether flavor needs to | |
  641. | | be return with details | |
  642. | | (optional).'}, | |
  643. | | {'name': 'is_public', | |
  644. | | 'desc': 'is_public: | |
  645. | | Filter flavors with | |
  646. | | provided access type | |
  647. | | (optional). None means | |
  648. | | give all flavors and | |
  649. | | only admin has query | |
  650. | | access to all flavor | |
  651. | | types.'}, | |
  652. | | {'name': 'marker', | |
  653. | | 'desc': 'marker: Begin | |
  654. | | returning flavors that | |
  655. | | appear later in the | |
  656. | | flavor list than that | |
  657. | | represented by this | |
  658. | | flavor id | |
  659. | | (optional).'}, | |
  660. | | {'name': 'min_disk', | |
  661. | | 'desc': 'min_disk: | |
  662. | | Filters the flavors by | |
  663. | | a minimum disk space, | |
  664. | | in GiB.'}, | |
  665. | | {'name': 'min_ram', | |
  666. | | 'desc': 'min_ram: | |
  667. | | Filters the flavors by | |
  668. | | a minimum RAM, in | |
  669. | | MB.'}, | |
  670. | | {'name': 'limit', | |
  671. | | 'desc': 'limit: maximum | |
  672. | | number of flavors to | |
  673. | | return (optional).'}, | |
  674. | | {'name': 'sort_key', | |
  675. | | 'desc': 'sort_key: | |
  676. | | Flavors list sort key | |
  677. | | (optional).'}, | |
  678. | | {'name': 'sort_dir', | |
  679. | | 'desc': 'sort_dir: | |
  680. | | Flavors list sort | |
  681. | | direction (optional). | |
  682. | | :returns: list of | |
  683. | | :class:`Flavor`.'} | |
  684. | | | |
  685. | flavors.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  686. | | 'cls: class that | specified type. |
  687. | | registers hooks'}, | |
  688. | | {'name': 'hook_type', | |
  689. | | 'desc': "hook_type: | |
  690. | | hook type, e.g., | |
  691. | | '__pre_parse_args__'"} | |
  692. | | | |
  693. | flavors.write_to_comple | | |
  694. | tion_cache | | |
  695. | hosts.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  696. | | 'cls: class that | specified type. |
  697. | | registers hooks'}, | |
  698. | | {'name': 'hook_type', | |
  699. | | 'desc': "hook_type: | |
  700. | | hook type, e.g., | |
  701. | | '__pre_parse_args__'"}, | |
  702. | | {'name': 'hook_func', | |
  703. | | 'desc': 'hook_func: | |
  704. | | hook function'} | |
  705. | | | |
  706. | hosts.alternate_service | | |
  707. | _type | | |
  708. | hosts.completion_cache | | The completion cache for |
  709. | | | bash autocompletion. |
  710. | | | The completion cache |
  711. | | | store items that can be |
  712. | | | used for bash |
  713. | | | autocompletion, like |
  714. | | | UUIDs or human-friendly |
  715. | | | IDs. A resource listing |
  716. | | | will clear and |
  717. | | | repopulate the cache. A |
  718. | | | resource create will |
  719. | | | append to the cache. |
  720. | | | Delete is not handled |
  721. | | | because listings are |
  722. | | | assumed to be performed |
  723. | | | often enough to keep the |
  724. | | | cache reasonably up-to- |
  725. | | | date. |
  726. | hosts.convert_into_with | | |
  727. | _meta | | |
  728. | hosts.find | | Find a single item with |
  729. | | | attributes matching |
  730. | | | ``**kwargs``. |
  731. | hosts.findall | | Find all items with |
  732. | | | attributes matching |
  733. | | | ``**kwargs``. |
  734. | hosts.get | {'name': 'obj', 'desc': | DEPRECATED Describes |
  735. | | 'host: destination host | cpu/memory/hdd info for |
  736. | | name.'} | host. |
  737. | | | |
  738. | hosts.host_action | {'name': 'obj', 'desc': | DEPRECATED Perform an |
  739. | | 'host: The host to | action on a host. |
  740. | | perform an action'} | |
  741. | | | |
  742. | hosts.list | | |
  743. | | | |
  744. | hosts.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  745. | | 'cls: class that | specified type. |
  746. | | registers hooks'}, | |
  747. | | {'name': 'hook_type', | |
  748. | | 'desc': "hook_type: | |
  749. | | hook type, e.g., | |
  750. | | '__pre_parse_args__'"} | |
  751. | | | |
  752. | hosts.update | {'name': 'obj', 'desc': | DEPRECATED Update status |
  753. | | 'None'} | or maintenance mode for |
  754. | | | the host. |
  755. | hosts.write_to_completi | | |
  756. | on_cache | | |
  757. | hypervisors.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  758. | | 'cls: class that | specified type. |
  759. | | registers hooks'}, | |
  760. | | {'name': 'hook_type', | |
  761. | | 'desc': "hook_type: | |
  762. | | hook type, e.g., | |
  763. | | '__pre_parse_args__'"}, | |
  764. | | {'name': 'hook_func', | |
  765. | | 'desc': 'hook_func: | |
  766. | | hook function'} | |
  767. | | | |
  768. | hypervisors.alternate_s | | |
  769. | ervice_type | | |
  770. | hypervisors.completion_ | | The completion cache for |
  771. | cache | | bash autocompletion. |
  772. | | | The completion cache |
  773. | | | store items that can be |
  774. | | | used for bash |
  775. | | | autocompletion, like |
  776. | | | UUIDs or human-friendly |
  777. | | | IDs. A resource listing |
  778. | | | will clear and |
  779. | | | repopulate the cache. A |
  780. | | | resource create will |
  781. | | | append to the cache. |
  782. | | | Delete is not handled |
  783. | | | because listings are |
  784. | | | assumed to be performed |
  785. | | | often enough to keep the |
  786. | | | cache reasonably up-to- |
  787. | | | date. |
  788. | hypervisors.convert_int | | |
  789. | o_with_meta | | |
  790. | hypervisors.find | | Find a single item with |
  791. | | | attributes matching |
  792. | | | ``**kwargs``. |
  793. | hypervisors.findall | | Find all items with |
  794. | | | attributes matching |
  795. | | | ``**kwargs``. |
  796. | hypervisors.get | {'name': 'hypervisor', | Get a specific |
  797. | | 'desc': 'None'} | hypervisor. |
  798. | | | |
  799. | hypervisors.list | {'name': 'obj', 'desc': | Get a list of |
  800. | | 'marker: Begin | hypervisors. |
  801. | | returning hypervisor | |
  802. | | that appear later in | |
  803. | | the keypair list than | |
  804. | | that represented by | |
  805. | | this keypair name | |
  806. | | (optional).'} | |
  807. | | | |
  808. | hypervisors.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  809. | | 'cls: class that | specified type. |
  810. | | registers hooks'}, | |
  811. | | {'name': 'hook_type', | |
  812. | | 'desc': "hook_type: | |
  813. | | hook type, e.g., | |
  814. | | '__pre_parse_args__'"} | |
  815. | | | |
  816. | hypervisors.search | {'name': | Get a list of matching |
  817. | | 'hypervisor_match', | hypervisors. |
  818. | | 'desc': 'servers: If | |
  819. | | True, server | |
  820. | | information is also | |
  821. | | retrieved.'}, | |
  822. | | {'name': 'servers', | |
  823. | | 'desc': 'None'} | |
  824. | | | |
  825. | hypervisors.statistics | | Get hypervisor |
  826. | | | statistics over all |
  827. | | | compute nodes. Kept for |
  828. | | | backwards compatibility, |
  829. | | | new code should call hyp |
  830. | | | ervisor_stats.statistics |
  831. | | | () instead of |
  832. | | | hypervisors.statistics() |
  833. | hypervisors.uptime | {'name': 'hypervisor', | Get the uptime for a |
  834. | | 'desc': 'None'} | specific hypervisor. |
  835. | | | |
  836. | hypervisors.write_to_co | | |
  837. | mpletion_cache | | |
  838. | images.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  839. | | 'cls: class that | specified type. |
  840. | | registers hooks'}, | |
  841. | | {'name': 'hook_type', | |
  842. | | 'desc': "hook_type: | |
  843. | | hook type, e.g., | |
  844. | | '__pre_parse_args__'"}, | |
  845. | | {'name': 'hook_func', | |
  846. | | 'desc': 'hook_func: | |
  847. | | hook function'} | |
  848. | | | |
  849. | images.alternate_servic | | |
  850. | e_type | | |
  851. | images.completion_cache | | The completion cache for |
  852. | | | bash autocompletion. |
  853. | | | The completion cache |
  854. | | | store items that can be |
  855. | | | used for bash |
  856. | | | autocompletion, like |
  857. | | | UUIDs or human-friendly |
  858. | | | IDs. A resource listing |
  859. | | | will clear and |
  860. | | | repopulate the cache. A |
  861. | | | resource create will |
  862. | | | append to the cache. |
  863. | | | Delete is not handled |
  864. | | | because listings are |
  865. | | | assumed to be performed |
  866. | | | often enough to keep the |
  867. | | | cache reasonably up-to- |
  868. | | | date. |
  869. | images.convert_into_wit | | |
  870. | h_meta | | |
  871. | images.find_image | {'name': 'name_or_id', | Find an image by name or |
  872. | | 'desc': 'None'} | id (user provided |
  873. | | | input). |
  874. | images.list | | Get a detailed list of |
  875. | | | all images. :rtype: |
  876. | | | list of :class:`Image` |
  877. | images.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  878. | | 'cls: class that | specified type. |
  879. | | registers hooks'}, | |
  880. | | {'name': 'hook_type', | |
  881. | | 'desc': "hook_type: | |
  882. | | hook type, e.g., | |
  883. | | '__pre_parse_args__'"} | |
  884. | | | |
  885. | images.write_to_complet | | |
  886. | ion_cache | | |
  887. | instance_action.add_hoo | {'name': 'cls', 'desc': | Add a new hook of |
  888. | k | 'cls: class that | specified type. |
  889. | | registers hooks'}, | |
  890. | | {'name': 'hook_type', | |
  891. | | 'desc': "hook_type: | |
  892. | | hook type, e.g., | |
  893. | | '__pre_parse_args__'"}, | |
  894. | | {'name': 'hook_func', | |
  895. | | 'desc': 'hook_func: | |
  896. | | hook function'} | |
  897. | | | |
  898. | instance_action.alterna | | |
  899. | te_service_type | | |
  900. | instance_action.complet | | The completion cache for |
  901. | ion_cache | | bash autocompletion. |
  902. | | | The completion cache |
  903. | | | store items that can be |
  904. | | | used for bash |
  905. | | | autocompletion, like |
  906. | | | UUIDs or human-friendly |
  907. | | | IDs. A resource listing |
  908. | | | will clear and |
  909. | | | repopulate the cache. A |
  910. | | | resource create will |
  911. | | | append to the cache. |
  912. | | | Delete is not handled |
  913. | | | because listings are |
  914. | | | assumed to be performed |
  915. | | | often enough to keep the |
  916. | | | cache reasonably up-to- |
  917. | | | date. |
  918. | instance_action.convert | | |
  919. | _into_with_meta | | |
  920. | instance_action.find | | Find a single item with |
  921. | | | attributes matching |
  922. | | | ``**kwargs``. |
  923. | instance_action.findall | | Find all items with |
  924. | | | attributes matching |
  925. | | | ``**kwargs``. |
  926. | instance_action.get | {'name': 'server', | Get details of an action |
  927. | | 'desc': 'request_id: | performed on an |
  928. | | The request_id of the | instance. |
  929. | | action to get.'}, | |
  930. | | {'name': 'request_id', | |
  931. | | 'desc': 'None'} | |
  932. | | | |
  933. | instance_action.list | {'name': 'server', | Get a list of actions |
  934. | | 'desc': 'None'} | performed on a server. |
  935. | | | |
  936. | instance_action.run_hoo | {'name': 'cls', 'desc': | Run all hooks of |
  937. | ks | 'cls: class that | specified type. |
  938. | | registers hooks'}, | |
  939. | | {'name': 'hook_type', | |
  940. | | 'desc': "hook_type: | |
  941. | | hook type, e.g., | |
  942. | | '__pre_parse_args__'"} | |
  943. | | | |
  944. | instance_action.write_t | | |
  945. | o_completion_cache | | |
  946. | keypairs.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  947. | | 'cls: class that | specified type. |
  948. | | registers hooks'}, | |
  949. | | {'name': 'hook_type', | |
  950. | | 'desc': "hook_type: | |
  951. | | hook type, e.g., | |
  952. | | '__pre_parse_args__'"}, | |
  953. | | {'name': 'hook_func', | |
  954. | | 'desc': 'hook_func: | |
  955. | | hook function'} | |
  956. | | | |
  957. | keypairs.alternate_serv | | |
  958. | ice_type | | |
  959. | keypairs.completion_cac | | The completion cache for |
  960. | he | | bash autocompletion. |
  961. | | | The completion cache |
  962. | | | store items that can be |
  963. | | | used for bash |
  964. | | | autocompletion, like |
  965. | | | UUIDs or human-friendly |
  966. | | | IDs. A resource listing |
  967. | | | will clear and |
  968. | | | repopulate the cache. A |
  969. | | | resource create will |
  970. | | | append to the cache. |
  971. | | | Delete is not handled |
  972. | | | because listings are |
  973. | | | assumed to be performed |
  974. | | | often enough to keep the |
  975. | | | cache reasonably up-to- |
  976. | | | date. |
  977. | keypairs.convert_into_w | | |
  978. | ith_meta | | |
  979. | keypairs.create | {'name': 'obj', 'desc': | Create a keypair |
  980. | | 'name: name for the | |
  981. | | keypair to create'} | |
  982. | | | |
  983. | keypairs.delete | {'name': 'obj', 'desc': | Delete a keypair |
  984. | | 'key: The | |
  985. | | :class:`Keypair` (or | |
  986. | | its ID) to delete.'} | |
  987. | | | |
  988. | keypairs.find | | Find a single item with |
  989. | | | attributes matching |
  990. | | | ``**kwargs``. |
  991. | keypairs.findall | | Find all items with |
  992. | | | attributes matching |
  993. | | | ``**kwargs``. |
  994. | keypairs.get | {'name': 'obj', 'desc': | Get a keypair. |
  995. | | 'keypair: The ID of the | |
  996. | | keypair to get.'} | |
  997. | | | |
  998. | keypairs.list | {'name': 'obj', 'desc': | Get a list of keypairs. |
  999. | | 'user_id: Id of key- | |
  1000. | | pairs owner (Admin | |
  1001. | | only).'} | |
  1002. | | | |
  1003. | keypairs.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  1004. | | 'cls: class that | specified type. |
  1005. | | registers hooks'}, | |
  1006. | | {'name': 'hook_type', | |
  1007. | | 'desc': "hook_type: | |
  1008. | | hook type, e.g., | |
  1009. | | '__pre_parse_args__'"} | |
  1010. | | | |
  1011. | keypairs.write_to_compl | | |
  1012. | etion_cache | | |
  1013. | limits.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  1014. | | 'cls: class that | specified type. |
  1015. | | registers hooks'}, | |
  1016. | | {'name': 'hook_type', | |
  1017. | | 'desc': "hook_type: | |
  1018. | | hook type, e.g., | |
  1019. | | '__pre_parse_args__'"}, | |
  1020. | | {'name': 'hook_func', | |
  1021. | | 'desc': 'hook_func: | |
  1022. | | hook function'} | |
  1023. | | | |
  1024. | limits.alternate_servic | | |
  1025. | e_type | | |
  1026. | limits.completion_cache | | The completion cache for |
  1027. | | | bash autocompletion. |
  1028. | | | The completion cache |
  1029. | | | store items that can be |
  1030. | | | used for bash |
  1031. | | | autocompletion, like |
  1032. | | | UUIDs or human-friendly |
  1033. | | | IDs. A resource listing |
  1034. | | | will clear and |
  1035. | | | repopulate the cache. A |
  1036. | | | resource create will |
  1037. | | | append to the cache. |
  1038. | | | Delete is not handled |
  1039. | | | because listings are |
  1040. | | | assumed to be performed |
  1041. | | | often enough to keep the |
  1042. | | | cache reasonably up-to- |
  1043. | | | date. |
  1044. | limits.convert_into_wit | | |
  1045. | h_meta | | |
  1046. | limits.get | {'name': 'reserved', | Get a specific |
  1047. | | 'desc': 'None'}, | extension. :rtype: |
  1048. | | {'name': 'tenant_id', | :class:`Limits` |
  1049. | | 'desc': 'None'} | |
  1050. | | | |
  1051. | limits.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  1052. | | 'cls: class that | specified type. |
  1053. | | registers hooks'}, | |
  1054. | | {'name': 'hook_type', | |
  1055. | | 'desc': "hook_type: | |
  1056. | | hook type, e.g., | |
  1057. | | '__pre_parse_args__'"} | |
  1058. | | | |
  1059. | limits.write_to_complet | | |
  1060. | ion_cache | | |
  1061. | list_extensions.add_hoo | {'name': 'cls', 'desc': | Add a new hook of |
  1062. | k | 'cls: class that | specified type. |
  1063. | | registers hooks'}, | |
  1064. | | {'name': 'hook_type', | |
  1065. | | 'desc': "hook_type: | |
  1066. | | hook type, e.g., | |
  1067. | | '__pre_parse_args__'"}, | |
  1068. | | {'name': 'hook_func', | |
  1069. | | 'desc': 'hook_func: | |
  1070. | | hook function'} | |
  1071. | | | |
  1072. | list_extensions.alterna | | |
  1073. | te_service_type | | |
  1074. | list_extensions.complet | | The completion cache for |
  1075. | ion_cache | | bash autocompletion. |
  1076. | | | The completion cache |
  1077. | | | store items that can be |
  1078. | | | used for bash |
  1079. | | | autocompletion, like |
  1080. | | | UUIDs or human-friendly |
  1081. | | | IDs. A resource listing |
  1082. | | | will clear and |
  1083. | | | repopulate the cache. A |
  1084. | | | resource create will |
  1085. | | | append to the cache. |
  1086. | | | Delete is not handled |
  1087. | | | because listings are |
  1088. | | | assumed to be performed |
  1089. | | | often enough to keep the |
  1090. | | | cache reasonably up-to- |
  1091. | | | date. |
  1092. | list_extensions.convert | | |
  1093. | _into_with_meta | | |
  1094. | list_extensions.run_hoo | {'name': 'cls', 'desc': | Run all hooks of |
  1095. | ks | 'cls: class that | specified type. |
  1096. | | registers hooks'}, | |
  1097. | | {'name': 'hook_type', | |
  1098. | | 'desc': "hook_type: | |
  1099. | | hook type, e.g., | |
  1100. | | '__pre_parse_args__'"} | |
  1101. | | | |
  1102. | list_extensions.show_al | | |
  1103. | l | | |
  1104. | list_extensions.write_t | | |
  1105. | o_completion_cache | | |
  1106. | migrations.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  1107. | | 'cls: class that | specified type. |
  1108. | | registers hooks'}, | |
  1109. | | {'name': 'hook_type', | |
  1110. | | 'desc': "hook_type: | |
  1111. | | hook type, e.g., | |
  1112. | | '__pre_parse_args__'"}, | |
  1113. | | {'name': 'hook_func', | |
  1114. | | 'desc': 'hook_func: | |
  1115. | | hook function'} | |
  1116. | | | |
  1117. | migrations.alternate_se | | |
  1118. | rvice_type | | |
  1119. | migrations.completion_c | | The completion cache for |
  1120. | ache | | bash autocompletion. |
  1121. | | | The completion cache |
  1122. | | | store items that can be |
  1123. | | | used for bash |
  1124. | | | autocompletion, like |
  1125. | | | UUIDs or human-friendly |
  1126. | | | IDs. A resource listing |
  1127. | | | will clear and |
  1128. | | | repopulate the cache. A |
  1129. | | | resource create will |
  1130. | | | append to the cache. |
  1131. | | | Delete is not handled |
  1132. | | | because listings are |
  1133. | | | assumed to be performed |
  1134. | | | often enough to keep the |
  1135. | | | cache reasonably up-to- |
  1136. | | | date. |
  1137. | migrations.convert_into | | |
  1138. | _with_meta | | |
  1139. | migrations.find | | Find a single item with |
  1140. | | | attributes matching |
  1141. | | | ``**kwargs``. |
  1142. | migrations.findall | | Find all items with |
  1143. | | | attributes matching |
  1144. | | | ``**kwargs``. |
  1145. | migrations.list | {'name': 'host', | Get a list of |
  1146. | | 'desc': 'host: | migrations. |
  1147. | | (optional) filter | |
  1148. | | migrations by host | |
  1149. | | name.'}, | |
  1150. | | {'name': 'status', | |
  1151. | | 'desc': 'status: | |
  1152. | | (optional) filter | |
  1153. | | migrations by | |
  1154. | | status.'}, | |
  1155. | | {'name': 'cell_name', | |
  1156. | | 'desc': 'cell_name: | |
  1157. | | (optional) filter | |
  1158. | | migrations for a | |
  1159. | | cell.'}, | |
  1160. | | {'name': | |
  1161. | | 'instance_uuid', | |
  1162. | | 'desc': 'None'} | |
  1163. | | | |
  1164. | migrations.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  1165. | | 'cls: class that | specified type. |
  1166. | | registers hooks'}, | |
  1167. | | {'name': 'hook_type', | |
  1168. | | 'desc': "hook_type: | |
  1169. | | hook type, e.g., | |
  1170. | | '__pre_parse_args__'"} | |
  1171. | | | |
  1172. | migrations.write_to_com | | |
  1173. | pletion_cache | | |
  1174. | networks.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  1175. | | 'cls: class that | specified type. |
  1176. | | registers hooks'}, | |
  1177. | | {'name': 'hook_type', | |
  1178. | | 'desc': "hook_type: | |
  1179. | | hook type, e.g., | |
  1180. | | '__pre_parse_args__'"}, | |
  1181. | | {'name': 'hook_func', | |
  1182. | | 'desc': 'hook_func: | |
  1183. | | hook function'} | |
  1184. | | | |
  1185. | networks.alternate_serv | | |
  1186. | ice_type | | |
  1187. | networks.completion_cac | | The completion cache for |
  1188. | he | | bash autocompletion. |
  1189. | | | The completion cache |
  1190. | | | store items that can be |
  1191. | | | used for bash |
  1192. | | | autocompletion, like |
  1193. | | | UUIDs or human-friendly |
  1194. | | | IDs. A resource listing |
  1195. | | | will clear and |
  1196. | | | repopulate the cache. A |
  1197. | | | resource create will |
  1198. | | | append to the cache. |
  1199. | | | Delete is not handled |
  1200. | | | because listings are |
  1201. | | | assumed to be performed |
  1202. | | | often enough to keep the |
  1203. | | | cache reasonably up-to- |
  1204. | | | date. |
  1205. | networks.convert_into_w | | |
  1206. | ith_meta | | |
  1207. | networks.find_network | {'name': 'name', | Find a network by name |
  1208. | | 'desc': 'None'} | (user provided input). |
  1209. | | | |
  1210. | networks.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  1211. | | 'cls: class that | specified type. |
  1212. | | registers hooks'}, | |
  1213. | | {'name': 'hook_type', | |
  1214. | | 'desc': "hook_type: | |
  1215. | | hook type, e.g., | |
  1216. | | '__pre_parse_args__'"} | |
  1217. | | | |
  1218. | networks.write_to_compl | | |
  1219. | etion_cache | | |
  1220. | quota_classes.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  1221. | | 'cls: class that | specified type. |
  1222. | | registers hooks'}, | |
  1223. | | {'name': 'hook_type', | |
  1224. | | 'desc': "hook_type: | |
  1225. | | hook type, e.g., | |
  1226. | | '__pre_parse_args__'"}, | |
  1227. | | {'name': 'hook_func', | |
  1228. | | 'desc': 'hook_func: | |
  1229. | | hook function'} | |
  1230. | | | |
  1231. | quota_classes.alternate | | |
  1232. | _service_type | | |
  1233. | quota_classes.completio | | The completion cache for |
  1234. | n_cache | | bash autocompletion. |
  1235. | | | The completion cache |
  1236. | | | store items that can be |
  1237. | | | used for bash |
  1238. | | | autocompletion, like |
  1239. | | | UUIDs or human-friendly |
  1240. | | | IDs. A resource listing |
  1241. | | | will clear and |
  1242. | | | repopulate the cache. A |
  1243. | | | resource create will |
  1244. | | | append to the cache. |
  1245. | | | Delete is not handled |
  1246. | | | because listings are |
  1247. | | | assumed to be performed |
  1248. | | | often enough to keep the |
  1249. | | | cache reasonably up-to- |
  1250. | | | date. |
  1251. | quota_classes.convert_i | | |
  1252. | nto_with_meta | | |
  1253. | quota_classes.get | | |
  1254. | | | |
  1255. | quota_classes.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  1256. | | 'cls: class that | specified type. |
  1257. | | registers hooks'}, | |
  1258. | | {'name': 'hook_type', | |
  1259. | | 'desc': "hook_type: | |
  1260. | | hook type, e.g., | |
  1261. | | '__pre_parse_args__'"} | |
  1262. | | | |
  1263. | quota_classes.update | | |
  1264. | | | |
  1265. | quota_classes.write_to_ | | |
  1266. | completion_cache | | |
  1267. | quotas.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  1268. | | 'cls: class that | specified type. |
  1269. | | registers hooks'}, | |
  1270. | | {'name': 'hook_type', | |
  1271. | | 'desc': "hook_type: | |
  1272. | | hook type, e.g., | |
  1273. | | '__pre_parse_args__'"}, | |
  1274. | | {'name': 'hook_func', | |
  1275. | | 'desc': 'hook_func: | |
  1276. | | hook function'} | |
  1277. | | | |
  1278. | quotas.alternate_servic | | |
  1279. | e_type | | |
  1280. | quotas.completion_cache | | The completion cache for |
  1281. | | | bash autocompletion. |
  1282. | | | The completion cache |
  1283. | | | store items that can be |
  1284. | | | used for bash |
  1285. | | | autocompletion, like |
  1286. | | | UUIDs or human-friendly |
  1287. | | | IDs. A resource listing |
  1288. | | | will clear and |
  1289. | | | repopulate the cache. A |
  1290. | | | resource create will |
  1291. | | | append to the cache. |
  1292. | | | Delete is not handled |
  1293. | | | because listings are |
  1294. | | | assumed to be performed |
  1295. | | | often enough to keep the |
  1296. | | | cache reasonably up-to- |
  1297. | | | date. |
  1298. | quotas.convert_into_wit | | |
  1299. | h_meta | | |
  1300. | quotas.defaults | | |
  1301. | | | |
  1302. | quotas.delete | {'name': 'tenant_id', | Delete quota for a |
  1303. | | 'desc': 'tenant_id: A | tenant or for a user. |
  1304. | | tenant for which quota | |
  1305. | | is to be deleted'}, | |
  1306. | | {'name': 'user_id', | |
  1307. | | 'desc': 'user_id: A | |
  1308. | | user for which quota is | |
  1309. | | to be deleted :returns: | |
  1310. | | An instance of novaclie | |
  1311. | | nt.base.TupleWithMeta'} | |
  1312. | | | |
  1313. | quotas.get | | |
  1314. | | | |
  1315. | quotas.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  1316. | | 'cls: class that | specified type. |
  1317. | | registers hooks'}, | |
  1318. | | {'name': 'hook_type', | |
  1319. | | 'desc': "hook_type: | |
  1320. | | hook type, e.g., | |
  1321. | | '__pre_parse_args__'"} | |
  1322. | | | |
  1323. | quotas.update | | |
  1324. | | | |
  1325. | quotas.write_to_complet | | |
  1326. | ion_cache | | |
  1327. | server_external_events. | {'name': 'cls', 'desc': | Add a new hook of |
  1328. | add_hook | 'cls: class that | specified type. |
  1329. | | registers hooks'}, | |
  1330. | | {'name': 'hook_type', | |
  1331. | | 'desc': "hook_type: | |
  1332. | | hook type, e.g., | |
  1333. | | '__pre_parse_args__'"}, | |
  1334. | | {'name': 'hook_func', | |
  1335. | | 'desc': 'hook_func: | |
  1336. | | hook function'} | |
  1337. | | | |
  1338. | server_external_events. | | |
  1339. | alternate_service_type | | |
  1340. | server_external_events. | | The completion cache for |
  1341. | completion_cache | | bash autocompletion. |
  1342. | | | The completion cache |
  1343. | | | store items that can be |
  1344. | | | used for bash |
  1345. | | | autocompletion, like |
  1346. | | | UUIDs or human-friendly |
  1347. | | | IDs. A resource listing |
  1348. | | | will clear and |
  1349. | | | repopulate the cache. A |
  1350. | | | resource create will |
  1351. | | | append to the cache. |
  1352. | | | Delete is not handled |
  1353. | | | because listings are |
  1354. | | | assumed to be performed |
  1355. | | | often enough to keep the |
  1356. | | | cache reasonably up-to- |
  1357. | | | date. |
  1358. | server_external_events. | | |
  1359. | convert_into_with_meta | | |
  1360. | server_external_events. | {'name': 'events', | Create one or more |
  1361. | create | 'desc': 'None'} | server events. |
  1362. | | | :param:events: A list of |
  1363. | | | dictionaries containing |
  1364. | | | 'server_uuid', 'name', |
  1365. | | | 'status', and 'tag' |
  1366. | | | (which may be absent) |
  1367. | server_external_events. | {'name': 'cls', 'desc': | Run all hooks of |
  1368. | run_hooks | 'cls: class that | specified type. |
  1369. | | registers hooks'}, | |
  1370. | | {'name': 'hook_type', | |
  1371. | | 'desc': "hook_type: | |
  1372. | | hook type, e.g., | |
  1373. | | '__pre_parse_args__'"} | |
  1374. | | | |
  1375. | server_external_events. | | |
  1376. | write_to_completion_cac | | |
  1377. | he | | |
  1378. | server_groups.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  1379. | | 'cls: class that | specified type. |
  1380. | | registers hooks'}, | |
  1381. | | {'name': 'hook_type', | |
  1382. | | 'desc': "hook_type: | |
  1383. | | hook type, e.g., | |
  1384. | | '__pre_parse_args__'"}, | |
  1385. | | {'name': 'hook_func', | |
  1386. | | 'desc': 'hook_func: | |
  1387. | | hook function'} | |
  1388. | | | |
  1389. | server_groups.alternate | | |
  1390. | _service_type | | |
  1391. | server_groups.completio | | The completion cache for |
  1392. | n_cache | | bash autocompletion. |
  1393. | | | The completion cache |
  1394. | | | store items that can be |
  1395. | | | used for bash |
  1396. | | | autocompletion, like |
  1397. | | | UUIDs or human-friendly |
  1398. | | | IDs. A resource listing |
  1399. | | | will clear and |
  1400. | | | repopulate the cache. A |
  1401. | | | resource create will |
  1402. | | | append to the cache. |
  1403. | | | Delete is not handled |
  1404. | | | because listings are |
  1405. | | | assumed to be performed |
  1406. | | | often enough to keep the |
  1407. | | | cache reasonably up-to- |
  1408. | | | date. |
  1409. | server_groups.convert_i | | |
  1410. | nto_with_meta | | |
  1411. | server_groups.create | {'name': 'name', | Create (allocate) a |
  1412. | | 'desc': 'name: The name | server group. |
  1413. | | of the server group.'}, | |
  1414. | | {'name': 'policies', | |
  1415. | | 'desc': 'policies: | |
  1416. | | Policy name or a list | |
  1417. | | of exactly one policy | |
  1418. | | name to associate with | |
  1419. | | the server group. | |
  1420. | | :rtype: list of | |
  1421. | | :class:`ServerGroup`'} | |
  1422. | | | |
  1423. | server_groups.delete | {'name': 'id', 'desc': | Delete a specific server |
  1424. | | 'id: The ID of the | group. |
  1425. | | :class:`ServerGroup` to | |
  1426. | | delete. :returns: An | |
  1427. | | instance of novaclient. | |
  1428. | | base.TupleWithMeta'} | |
  1429. | | | |
  1430. | server_groups.find | | Find a single item with |
  1431. | | | attributes matching |
  1432. | | | ``**kwargs``. |
  1433. | server_groups.findall | | Find all items with |
  1434. | | | attributes matching |
  1435. | | | ``**kwargs``. |
  1436. | server_groups.get | {'name': 'id', 'desc': | Get a specific server |
  1437. | | 'id: The ID of the | group. |
  1438. | | :class:`ServerGroup` to | |
  1439. | | get. :rtype: | |
  1440. | | :class:`ServerGroup`'} | |
  1441. | | | |
  1442. | server_groups.list | {'name': | Get a list of all server |
  1443. | | 'all_projects', 'desc': | groups. |
  1444. | | 'all_projects: Lists | |
  1445. | | server groups for all | |
  1446. | | projects. (optional)'}, | |
  1447. | | {'name': 'limit', | |
  1448. | | 'desc': 'limit: Maximum | |
  1449. | | number of server groups | |
  1450. | | to return. | |
  1451. | | (optional)'}, | |
  1452. | | {'name': 'offset', | |
  1453. | | 'desc': 'offset: Use | |
  1454. | | with `limit` to return | |
  1455. | | a slice of server | |
  1456. | | groups. `offset` is | |
  1457. | | where to start in the | |
  1458. | | groups list. | |
  1459. | | (optional) :returns: | |
  1460. | | list of | |
  1461. | | :class:`ServerGroup`.'} | |
  1462. | | | |
  1463. | server_groups.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  1464. | | 'cls: class that | specified type. |
  1465. | | registers hooks'}, | |
  1466. | | {'name': 'hook_type', | |
  1467. | | 'desc': "hook_type: | |
  1468. | | hook type, e.g., | |
  1469. | | '__pre_parse_args__'"} | |
  1470. | | | |
  1471. | server_groups.write_to_ | | |
  1472. | completion_cache | | |
  1473. | server_migrations.add_h | {'name': 'cls', 'desc': | Add a new hook of |
  1474. | ook | 'cls: class that | specified type. |
  1475. | | registers hooks'}, | |
  1476. | | {'name': 'hook_type', | |
  1477. | | 'desc': "hook_type: | |
  1478. | | hook type, e.g., | |
  1479. | | '__pre_parse_args__'"}, | |
  1480. | | {'name': 'hook_func', | |
  1481. | | 'desc': 'hook_func: | |
  1482. | | hook function'} | |
  1483. | | | |
  1484. | server_migrations.alter | | |
  1485. | nate_service_type | | |
  1486. | server_migrations.compl | | The completion cache for |
  1487. | etion_cache | | bash autocompletion. |
  1488. | | | The completion cache |
  1489. | | | store items that can be |
  1490. | | | used for bash |
  1491. | | | autocompletion, like |
  1492. | | | UUIDs or human-friendly |
  1493. | | | IDs. A resource listing |
  1494. | | | will clear and |
  1495. | | | repopulate the cache. A |
  1496. | | | resource create will |
  1497. | | | append to the cache. |
  1498. | | | Delete is not handled |
  1499. | | | because listings are |
  1500. | | | assumed to be performed |
  1501. | | | often enough to keep the |
  1502. | | | cache reasonably up-to- |
  1503. | | | date. |
  1504. | server_migrations.conve | | |
  1505. | rt_into_with_meta | | |
  1506. | server_migrations.find | | Find a single item with |
  1507. | | | attributes matching |
  1508. | | | ``**kwargs``. |
  1509. | server_migrations.finda | | Find all items with |
  1510. | ll | | attributes matching |
  1511. | | | ``**kwargs``. |
  1512. | server_migrations.get | {'name': 'obj', 'desc': | Get a migration of a |
  1513. | | 'server: The | specified server |
  1514. | | :class:`Server` (or its | |
  1515. | | ID)'} | |
  1516. | | | |
  1517. | server_migrations.list | {'name': 'obj', 'desc': | Get a migrations list of |
  1518. | | 'server: The | a specified server |
  1519. | | :class:`Server` (or its | |
  1520. | | ID) :returns: An | |
  1521. | | instance of novaclient. | |
  1522. | | base.ListWithMeta'} | |
  1523. | | | |
  1524. | server_migrations.live_ | {'name': 'obj', 'desc': | Force on-going live |
  1525. | migrate_force_complete | 'server: The | migration to complete |
  1526. | | :class:`Server` (or its | |
  1527. | | ID)'} | |
  1528. | | | |
  1529. | server_migrations.live_ | {'name': 'obj', 'desc': | Cancel an ongoing live |
  1530. | migration_abort | 'server: The | migration |
  1531. | | :class:`Server` (or its | |
  1532. | | ID)'} | |
  1533. | | | |
  1534. | server_migrations.run_h | {'name': 'cls', 'desc': | Run all hooks of |
  1535. | ooks | 'cls: class that | specified type. |
  1536. | | registers hooks'}, | |
  1537. | | {'name': 'hook_type', | |
  1538. | | 'desc': "hook_type: | |
  1539. | | hook type, e.g., | |
  1540. | | '__pre_parse_args__'"} | |
  1541. | | | |
  1542. | server_migrations.write | | |
  1543. | _to_completion_cache | | |
  1544. | servers.add_fixed_ip | {'name': 'obj', 'desc': | DEPRECATED Add an IP |
  1545. | | 'server: The | address on a network. |
  1546. | | :class:`Server` (or its | |
  1547. | | ID) to add an IP to.'} | |
  1548. | | | |
  1549. | servers.add_floating_ip | {'name': 'obj', 'desc': | DEPRECATED Add a |
  1550. | | 'server: The | floating IP to an |
  1551. | | :class:`Server` (or its | instance |
  1552. | | ID) to add an IP to.'} | |
  1553. | | | |
  1554. | servers.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  1555. | | 'cls: class that | specified type. |
  1556. | | registers hooks'}, | |
  1557. | | {'name': 'hook_type', | |
  1558. | | 'desc': "hook_type: | |
  1559. | | hook type, e.g., | |
  1560. | | '__pre_parse_args__'"}, | |
  1561. | | {'name': 'hook_func', | |
  1562. | | 'desc': 'hook_func: | |
  1563. | | hook function'} | |
  1564. | | | |
  1565. | servers.add_security_gr | {'name': 'server', | Add a Security Group to |
  1566. | oup | 'desc': 'server: ID of | an instance |
  1567. | | the instance.'}, | |
  1568. | | {'name': | |
  1569. | | 'security_group', | |
  1570. | | 'desc': | |
  1571. | | 'security_group: The | |
  1572. | | name of security group | |
  1573. | | to add. :returns: An | |
  1574. | | instance of novaclient. | |
  1575. | | base.DictWithMeta'} | |
  1576. | | | |
  1577. | servers.add_tag | {'name': 'obj', 'desc': | Add single tag to an |
  1578. | | 'None'} | instance. |
  1579. | | | |
  1580. | servers.alternate_servi | | |
  1581. | ce_type | | |
  1582. | servers.backup | {'name': 'server', | Backup a server |
  1583. | | 'desc': 'server: The | instance. |
  1584. | | :class:`Server` (or its | |
  1585. | | ID) to share onto.'}, | |
  1586. | | {'name': 'backup_name', | |
  1587. | | 'desc': 'backup_name: | |
  1588. | | Name of the backup | |
  1589. | | image'}, | |
  1590. | | {'name': 'backup_type', | |
  1591. | | 'desc': "backup_type: | |
  1592. | | The backup type, like | |
  1593. | | 'daily' or 'weekly'"}, | |
  1594. | | {'name': 'rotation', | |
  1595. | | 'desc': 'rotation: Int | |
  1596. | | parameter representing | |
  1597. | | how many backups to | |
  1598. | | keep around. :returns: | |
  1599. | | An instance of novaclie | |
  1600. | | nt.base.TupleWithMeta | |
  1601. | | if the request | |
  1602. | | microversion is < 2.45, | |
  1603. | | otherwise novaclient.ba | |
  1604. | | se.DictWithMeta.'} | |
  1605. | | | |
  1606. | servers.change_password | {'name': 'server', | Update the password for |
  1607. | | 'desc': 'server: The | a server. |
  1608. | | :class:`Server` (or its | |
  1609. | | ID) for which the admin | |
  1610. | | password is to be | |
  1611. | | changed :returns: An | |
  1612. | | instance of novaclient. | |
  1613. | | base.TupleWithMeta'}, | |
  1614. | | {'name': 'password', | |
  1615. | | 'desc': 'None'} | |
  1616. | | | |
  1617. | servers.clear_password | {'name': 'server', | Clear the admin password |
  1618. | | 'desc': 'server: The | of an instance Remove |
  1619. | | :class:`Server` (or its | the admin password for |
  1620. | | ID) for which the admin | an instance from the |
  1621. | | password is to be | metadata server. |
  1622. | | cleared'} | |
  1623. | | | |
  1624. | servers.completion_cach | | The completion cache for |
  1625. | e | | bash autocompletion. |
  1626. | | | The completion cache |
  1627. | | | store items that can be |
  1628. | | | used for bash |
  1629. | | | autocompletion, like |
  1630. | | | UUIDs or human-friendly |
  1631. | | | IDs. A resource listing |
  1632. | | | will clear and |
  1633. | | | repopulate the cache. A |
  1634. | | | resource create will |
  1635. | | | append to the cache. |
  1636. | | | Delete is not handled |
  1637. | | | because listings are |
  1638. | | | assumed to be performed |
  1639. | | | often enough to keep the |
  1640. | | | cache reasonably up-to- |
  1641. | | | date. |
  1642. | servers.confirm_resize | {'name': 'server', | Confirm that the resize |
  1643. | | 'desc': 'server: The | worked, thus removing |
  1644. | | :class:`Server` (or its | the original server. |
  1645. | | ID) to share onto. | |
  1646. | | :returns: An instance | |
  1647. | | of novaclient.base.Tupl | |
  1648. | | eWithMeta'} | |
  1649. | | | |
  1650. | servers.convert_into_wi | | |
  1651. | th_meta | | |
  1652. | servers.create | {'name': 'name', | Create (boot) a new |
  1653. | | 'desc': 'name: | server. |
  1654. | | Something to name the | |
  1655. | | server.'}, | |
  1656. | | {'name': 'image', | |
  1657. | | 'desc': 'image: The | |
  1658. | | :class:`Image` to boot | |
  1659. | | with.'}, | |
  1660. | | {'name': 'flavor', | |
  1661. | | 'desc': 'flavor: The | |
  1662. | | :class:`Flavor` to boot | |
  1663. | | onto.'}, | |
  1664. | | {'name': 'meta', | |
  1665. | | 'desc': 'meta: A dict | |
  1666. | | of arbitrary key/value | |
  1667. | | metadata to store for | |
  1668. | | this server. Both keys | |
  1669. | | and values must be | |
  1670. | | <=255 characters.'}, | |
  1671. | | {'name': 'files', | |
  1672. | | 'desc': 'files: A dict | |
  1673. | | of files to overwrite | |
  1674. | | on the server upon | |
  1675. | | boot. Keys are file | |
  1676. | | names (i.e. | |
  1677. | | ``/etc/passwd``) and | |
  1678. | | values are the file | |
  1679. | | contents (either as a | |
  1680. | | string or as a file- | |
  1681. | | like object). A maximum | |
  1682. | | of five entries is | |
  1683. | | allowed, and each file | |
  1684. | | must be 10k or less.'}, | |
  1685. | | {'name': | |
  1686. | | 'reservation_id', | |
  1687. | | 'desc': | |
  1688. | | 'reservation_id: a UUID | |
  1689. | | for the set of servers | |
  1690. | | being requested.'}, | |
  1691. | | {'name': 'min_count', | |
  1692. | | 'desc': 'min_count: | |
  1693. | | (optional extension) | |
  1694. | | The minimum number of | |
  1695. | | servers to launch.'}, | |
  1696. | | {'name': 'max_count', | |
  1697. | | 'desc': 'max_count: | |
  1698. | | (optional extension) | |
  1699. | | The maximum number of | |
  1700. | | servers to launch.'}, | |
  1701. | | {'name': | |
  1702. | | 'security_groups', | |
  1703. | | 'desc': | |
  1704. | | 'security_groups: A | |
  1705. | | list of security group | |
  1706. | | names'}, | |
  1707. | | {'name': 'userdata', | |
  1708. | | 'desc': 'userdata: user | |
  1709. | | data to pass to be | |
  1710. | | exposed by the metadata | |
  1711. | | server this can be a | |
  1712. | | file type object as | |
  1713. | | well or a string.'}, | |
  1714. | | {'name': 'key_name', | |
  1715. | | 'desc': 'key_name: | |
  1716. | | (optional extension) | |
  1717. | | name of previously | |
  1718. | | created keypair to | |
  1719. | | inject into the | |
  1720. | | instance.'}, | |
  1721. | | {'name': | |
  1722. | | 'availability_zone', | |
  1723. | | 'desc': | |
  1724. | | 'availability_zone: | |
  1725. | | Name of the | |
  1726. | | availability zone for | |
  1727. | | instance placement.'}, | |
  1728. | | {'name': | |
  1729. | | 'block_device_mapping', | |
  1730. | | 'desc': | |
  1731. | | 'block_device_mapping: | |
  1732. | | (optional extension) A | |
  1733. | | dict of block device | |
  1734. | | mappings for this | |
  1735. | | server.'}, | |
  1736. | | {'name': 'block_device_ | |
  1737. | | mapping_v2', 'desc': 'b | |
  1738. | | lock_device_mapping_v2: | |
  1739. | | (optional extension) A | |
  1740. | | dict of block device | |
  1741. | | mappings for this | |
  1742. | | server.'}, | |
  1743. | | {'name': 'nics', | |
  1744. | | 'desc': "nics: An | |
  1745. | | ordered list of nics | |
  1746. | | (dicts) to be added to | |
  1747. | | this server, with | |
  1748. | | information about | |
  1749. | | connected networks, | |
  1750. | | fixed IPs, port etc. | |
  1751. | | Beginning in | |
  1752. | | microversion 2.37 this | |
  1753. | | field is required and | |
  1754. | | also supports a single | |
  1755. | | string value of 'auto' | |
  1756. | | or 'none'. The 'auto' | |
  1757. | | value means the Compute | |
  1758. | | service will | |
  1759. | | automatically allocate | |
  1760. | | a network for the | |
  1761. | | project if one is not | |
  1762. | | available. This is the | |
  1763. | | same behavior as not | |
  1764. | | passing anything for | |
  1765. | | nics before | |
  1766. | | microversion 2.37. The | |
  1767. | | 'none' value tells the | |
  1768. | | Compute service to not | |
  1769. | | allocate any | |
  1770. | | networking for the | |
  1771. | | server."}, | |
  1772. | | {'name': | |
  1773. | | 'scheduler_hints', | |
  1774. | | 'desc': | |
  1775. | | 'scheduler_hints: | |
  1776. | | (optional extension) | |
  1777. | | arbitrary key-value | |
  1778. | | pairs specified by the | |
  1779. | | client to help boot an | |
  1780. | | instance'}, | |
  1781. | | {'name': | |
  1782. | | 'config_drive', 'desc': | |
  1783. | | 'config_drive: | |
  1784. | | (optional extension) | |
  1785. | | value for config drive | |
  1786. | | either boolean, or | |
  1787. | | volume-id'}, | |
  1788. | | {'name': 'disk_config', | |
  1789. | | 'desc': "disk_config: | |
  1790. | | (optional extension) | |
  1791. | | control how the disk is | |
  1792. | | partitioned when the | |
  1793. | | server is created. | |
  1794. | | possible values are | |
  1795. | | 'AUTO' or 'MANUAL'."}, | |
  1796. | | {'name': 'admin_pass', | |
  1797. | | 'desc': 'admin_pass: | |
  1798. | | (optional extension) | |
  1799. | | add a user supplied | |
  1800. | | admin password.'}, | |
  1801. | | {'name': | |
  1802. | | 'access_ip_v4', 'desc': | |
  1803. | | 'access_ip_v4: | |
  1804. | | (optional extension) | |
  1805. | | add alternative access | |
  1806. | | ip v4'}, | |
  1807. | | {'name': | |
  1808. | | 'access_ip_v6', 'desc': | |
  1809. | | 'access_ip_v6: | |
  1810. | | (optional extension) | |
  1811. | | add alternative access | |
  1812. | | ip v6'} | |
  1813. | | | |
  1814. | servers.create_image | {'name': 'server', | Snapshot a server. |
  1815. | | 'desc': 'server: The | |
  1816. | | :class:`Server` (or its | |
  1817. | | ID) to share onto.'}, | |
  1818. | | {'name': 'image_name', | |
  1819. | | 'desc': 'image_name: | |
  1820. | | Name to give the | |
  1821. | | snapshot image'}, | |
  1822. | | {'name': 'metadata', | |
  1823. | | 'desc': "metadata: | |
  1824. | | Metadata to give newly- | |
  1825. | | created image entity | |
  1826. | | :returns: An instance | |
  1827. | | of novaclient.base.StrW | |
  1828. | | ithMeta (The snapshot | |
  1829. | | image's UUID)"} | |
  1830. | | | |
  1831. | servers.delete | {'name': 'server', | Delete (i.e. shut down |
  1832. | | 'desc': 'server: The | and delete the image) |
  1833. | | :class:`Server` (or its | this server. |
  1834. | | ID) to delete :returns: | |
  1835. | | An instance of novaclie | |
  1836. | | nt.base.TupleWithMeta'} | |
  1837. | | | |
  1838. | servers.delete_all_tags | {'name': 'obj', 'desc': | Remove all tags from an |
  1839. | | 'None'} | instance. |
  1840. | | | |
  1841. | servers.delete_meta | {'name': 'server', | Delete metadata from a |
  1842. | | 'desc': 'server: The | server |
  1843. | | :class:`Server` to add | |
  1844. | | metadata to'}, | |
  1845. | | {'name': 'keys', | |
  1846. | | 'desc': 'keys: A list | |
  1847. | | of metadata keys to | |
  1848. | | delete from the server | |
  1849. | | :returns: An instance | |
  1850. | | of novaclient.base.Tupl | |
  1851. | | eWithMeta'} | |
  1852. | | | |
  1853. | servers.delete_tag | {'name': 'obj', 'desc': | Remove single tag from |
  1854. | | 'None'} | an instance. |
  1855. | | | |
  1856. | servers.diagnostics | {'name': 'server', | Retrieve server |
  1857. | | 'desc': 'server: The | diagnostics. |
  1858. | | :class:`Server` (or its | |
  1859. | | ID) for which | |
  1860. | | diagnostics to be | |
  1861. | | returned :returns: An | |
  1862. | | instance of novaclient. | |
  1863. | | base.TupleWithMeta'} | |
  1864. | | | |
  1865. | servers.evacuate | {'name': 'obj', 'desc': | Evacuate a server |
  1866. | | 'server: The | instance. |
  1867. | | :class:`Server` (or its | |
  1868. | | ID) to share onto.'} | |
  1869. | | | |
  1870. | servers.find | | Find a single item with |
  1871. | | | attributes matching |
  1872. | | | ``**kwargs``. |
  1873. | servers.findall | | Find all items with |
  1874. | | | attributes matching |
  1875. | | | ``**kwargs``. |
  1876. | servers.force_delete | {'name': 'server', | Force delete the server. |
  1877. | | 'desc': 'server: The | |
  1878. | | :class:`Server` (or its | |
  1879. | | ID) to force delete | |
  1880. | | :returns: An instance | |
  1881. | | of novaclient.base.Tupl | |
  1882. | | eWithMeta'} | |
  1883. | | | |
  1884. | servers.get | {'name': 'server', | Get a server. |
  1885. | | 'desc': 'server: ID of | |
  1886. | | the :class:`Server` to | |
  1887. | | get. :rtype: | |
  1888. | | :class:`Server`'} | |
  1889. | | | |
  1890. | servers.get_console_out | {'name': 'server', | Get text console log |
  1891. | put | 'desc': 'server: The | output from Server. |
  1892. | | :class:`Server` (or its | |
  1893. | | ID) whose console | |
  1894. | | output you would like | |
  1895. | | to retrieve.'}, | |
  1896. | | {'name': 'length', | |
  1897. | | 'desc': 'length: The | |
  1898. | | number of tail loglines | |
  1899. | | you would like to | |
  1900. | | retrieve. :returns: An | |
  1901. | | instance of novaclient. | |
  1902. | | base.StrWithMeta or no | |
  1903. | | vaclient.base.UnicodeWi | |
  1904. | | thMeta'} | |
  1905. | | | |
  1906. | servers.get_console_url | {'name': 'obj', 'desc': | Retrieve a console url |
  1907. | | 'server: server to get | of a server. |
  1908. | | console url for'} | |
  1909. | | | |
  1910. | servers.get_mks_console | {'name': 'obj', 'desc': | Get a mks console for an |
  1911. | | 'server: The | instance |
  1912. | | :class:`Server` (or its | |
  1913. | | ID) to get console for. | |
  1914. | | :returns: An instance | |
  1915. | | of novaclient.base.Dict | |
  1916. | | WithMeta'} | |
  1917. | | | |
  1918. | servers.get_password | {'name': 'server', | Get admin password of an |
  1919. | | 'desc': 'server: The | instance Returns the |
  1920. | | :class:`Server` (or its | admin password of an |
  1921. | | ID) for which the admin | instance in the clear if |
  1922. | | password is to be | private_key is provided, |
  1923. | | returned'}, | returns the ciphered |
  1924. | | {'name': 'private_key', | password otherwise. |
  1925. | | 'desc': 'private_key: | Requires that openssl is |
  1926. | | The private key to | installed and in the |
  1927. | | decrypt password | path |
  1928. | | (optional) :returns: An | |
  1929. | | instance of novaclient. | |
  1930. | | base.StrWithMeta or no | |
  1931. | | vaclient.base.BytesWith | |
  1932. | | Meta or novaclient.bas | |
  1933. | | e.UnicodeWithMeta'} | |
  1934. | | | |
  1935. | servers.get_rdp_console | {'name': 'obj', 'desc': | Get a rdp console for an |
  1936. | | 'server: The | instance |
  1937. | | :class:`Server` (or its | |
  1938. | | ID) to get console | |
  1939. | | for.'} | |
  1940. | | | |
  1941. | servers.get_serial_cons | {'name': 'obj', 'desc': | Get a serial console for |
  1942. | ole | 'server: The | an instance |
  1943. | | :class:`Server` (or its | |
  1944. | | ID) to get console | |
  1945. | | for.'} | |
  1946. | | | |
  1947. | servers.get_spice_conso | {'name': 'obj', 'desc': | Get a spice console for |
  1948. | le | 'server: The | an instance |
  1949. | | :class:`Server` (or its | |
  1950. | | ID) to get console | |
  1951. | | for.'} | |
  1952. | | | |
  1953. | servers.get_vnc_console | {'name': 'obj', 'desc': | Get a vnc console for an |
  1954. | | 'server: The | instance |
  1955. | | :class:`Server` (or its | |
  1956. | | ID) to get console | |
  1957. | | for.'} | |
  1958. | | | |
  1959. | servers.interface_attac | {'name': 'server', | Attach a |
  1960. | h | 'desc': 'server: The | network_interface to an |
  1961. | | :class:`Server` (or its | instance. |
  1962. | | ID) to attach to.'}, | |
  1963. | | {'name': 'port_id', | |
  1964. | | 'desc': 'port_id: The | |
  1965. | | port to attach.'}, | |
  1966. | | {'name': 'net_id', | |
  1967. | | 'desc': 'None'}, | |
  1968. | | {'name': 'fixed_ip', | |
  1969. | | 'desc': 'None'} | |
  1970. | | | |
  1971. | servers.interface_detac | {'name': 'server', | Detach a |
  1972. | h | 'desc': 'server: The | network_interface from |
  1973. | | :class:`Server` (or its | an instance. |
  1974. | | ID) to detach from.'}, | |
  1975. | | {'name': 'port_id', | |
  1976. | | 'desc': 'port_id: The | |
  1977. | | port to detach. | |
  1978. | | :returns: An instance | |
  1979. | | of novaclient.base.Tupl | |
  1980. | | eWithMeta'} | |
  1981. | | | |
  1982. | servers.interface_list | {'name': 'server', | List attached network |
  1983. | | 'desc': 'server: The | interfaces |
  1984. | | :class:`Server` (or its | |
  1985. | | ID) to query.'} | |
  1986. | | | |
  1987. | servers.ips | {'name': 'server', | Return IP Addresses |
  1988. | | 'desc': 'server: The | associated with the |
  1989. | | :class:`Server` (or its | server. Often a cheaper |
  1990. | | ID) for which the IP | call then getting all |
  1991. | | adresses are to be | the details for a |
  1992. | | returned :returns: An | server. |
  1993. | | instance of novaclient. | |
  1994. | | base.DictWithMeta'} | |
  1995. | | | |
  1996. | servers.list | {'name': 'detailed', | Get a list of servers. |
  1997. | | 'desc': 'detailed: | |
  1998. | | Whether to return | |
  1999. | | detailed server info | |
  2000. | | (optional).'}, | |
  2001. | | {'name': 'search_opts', | |
  2002. | | 'desc': "search_opts: | |
  2003. | | Search options to | |
  2004. | | filter out servers | |
  2005. | | which don't match the | |
  2006. | | search_opts (optional). | |
  2007. | | The search opts format | |
  2008. | | is a dictionary of key | |
  2009. | | / value pairs that will | |
  2010. | | be appended to the | |
  2011. | | query string. For a | |
  2012. | | complete list of keys | |
  2013. | | see: http://developer. | |
  2014. | | openstack.org/api-ref-c | |
  2015. | | ompute-v2.1.html#listSe | |
  2016. | | rvers"}, | |
  2017. | | {'name': 'marker', | |
  2018. | | 'desc': 'marker: Begin | |
  2019. | | returning servers that | |
  2020. | | appear later in the | |
  2021. | | server list than that | |
  2022. | | represented by this | |
  2023. | | server id | |
  2024. | | (optional).'}, | |
  2025. | | {'name': 'limit', | |
  2026. | | 'desc': 'limit: Maximum | |
  2027. | | number of servers to | |
  2028. | | return (optional).'}, | |
  2029. | | {'name': 'sort_keys', | |
  2030. | | 'desc': 'sort_keys: | |
  2031. | | List of sort keys'}, | |
  2032. | | {'name': 'sort_dirs', | |
  2033. | | 'desc': "sort_dirs: | |
  2034. | | List of sort directions | |
  2035. | | :rtype: list of | |
  2036. | | :class:`Server` | |
  2037. | | Examples: | |
  2038. | | client.servers.list() - | |
  2039. | | returns detailed list | |
  2040. | | of servers client.serv | |
  2041. | | ers.list(search_opts={' | |
  2042. | | status': 'ERROR'}) - | |
  2043. | | returns list of servers | |
  2044. | | in error state. client | |
  2045. | | .servers.list(limit=10) | |
  2046. | | - returns only 10 | |
  2047. | | servers"} | |
  2048. | | | |
  2049. | servers.list_security_g | {'name': 'server', | List Security Group(s) |
  2050. | roup | 'desc': 'server: ID of | of an instance |
  2051. | | the instance.'} | |
  2052. | | | |
  2053. | servers.live_migrate | {'name': 'obj', 'desc': | Migrates a running |
  2054. | | 'server: instance id | instance to a new |
  2055. | | which comes from nova | machine. |
  2056. | | list.'} | |
  2057. | | | |
  2058. | servers.lock | {'name': 'server', | Lock the server. |
  2059. | | 'desc': 'server: The | |
  2060. | | :class:`Server` (or its | |
  2061. | | ID) to lock :returns: | |
  2062. | | An instance of novaclie | |
  2063. | | nt.base.TupleWithMeta'} | |
  2064. | | | |
  2065. | servers.migrate | {'name': 'server', | Migrate a server to a |
  2066. | | 'desc': 'server: The | new host. |
  2067. | | :class:`Server` (or its | |
  2068. | | ID). :returns: An | |
  2069. | | instance of novaclient. | |
  2070. | | base.TupleWithMeta'} | |
  2071. | | | |
  2072. | servers.pause | {'name': 'server', | Pause the server. |
  2073. | | 'desc': 'server: The | |
  2074. | | :class:`Server` (or its | |
  2075. | | ID) to pause :returns: | |
  2076. | | An instance of novaclie | |
  2077. | | nt.base.TupleWithMeta'} | |
  2078. | | | |
  2079. | servers.reboot | {'name': 'server', | Reboot a server. |
  2080. | | 'desc': 'server: The | |
  2081. | | :class:`Server` (or its | |
  2082. | | ID) to share onto.'}, | |
  2083. | | {'name': 'reboot_type', | |
  2084. | | 'desc': 'reboot_type: | |
  2085. | | either | |
  2086. | | :data:`REBOOT_SOFT` for | |
  2087. | | a software-level | |
  2088. | | reboot, or | |
  2089. | | `REBOOT_HARD` for a | |
  2090. | | virtual power cycle | |
  2091. | | hard reboot. :returns: | |
  2092. | | An instance of novaclie | |
  2093. | | nt.base.TupleWithMeta'} | |
  2094. | | | |
  2095. | servers.rebuild | {'name': 'server', | Rebuild -- shut down and |
  2096. | | 'desc': 'server: The | then re-image -- a |
  2097. | | :class:`Server` (or its | server. |
  2098. | | ID) to share onto.'}, | |
  2099. | | {'name': 'image', | |
  2100. | | 'desc': 'image: the | |
  2101. | | :class:`Image` (or its | |
  2102. | | ID) to re-image | |
  2103. | | with.'}, | |
  2104. | | {'name': 'password', | |
  2105. | | 'desc': 'password: | |
  2106. | | string to set as | |
  2107. | | password on the rebuilt | |
  2108. | | server.'}, | |
  2109. | | {'name': 'disk_config', | |
  2110. | | 'desc': "disk_config: | |
  2111. | | partitioning mode to | |
  2112. | | use on the rebuilt | |
  2113. | | server. Valid values | |
  2114. | | are 'AUTO' or | |
  2115. | | 'MANUAL'"}, | |
  2116. | | {'name': | |
  2117. | | 'preserve_ephemeral', | |
  2118. | | 'desc': | |
  2119. | | 'preserve_ephemeral: If | |
  2120. | | True, request that any | |
  2121. | | ephemeral device be | |
  2122. | | preserved when | |
  2123. | | rebuilding the | |
  2124. | | instance. Defaults to | |
  2125. | | False.'}, | |
  2126. | | {'name': 'name', | |
  2127. | | 'desc': 'name: | |
  2128. | | Something to name the | |
  2129. | | server.'}, | |
  2130. | | {'name': 'meta', | |
  2131. | | 'desc': 'meta: A dict | |
  2132. | | of arbitrary key/value | |
  2133. | | metadata to store for | |
  2134. | | this server. Both keys | |
  2135. | | and values must be | |
  2136. | | <=255 characters.'}, | |
  2137. | | {'name': 'files', | |
  2138. | | 'desc': 'files: A dict | |
  2139. | | of files to overwrite | |
  2140. | | on the server upon | |
  2141. | | boot. Keys are file | |
  2142. | | names (i.e. | |
  2143. | | ``/etc/passwd``) and | |
  2144. | | values are the file | |
  2145. | | contents (either as a | |
  2146. | | string or as a file- | |
  2147. | | like object). A maximum | |
  2148. | | of five entries is | |
  2149. | | allowed, and each file | |
  2150. | | must be 10k or less.'} | |
  2151. | | | |
  2152. | servers.remove_fixed_ip | {'name': 'obj', 'desc': | DEPRECATED Remove an IP |
  2153. | | 'server: The | address. |
  2154. | | :class:`Server` (or its | |
  2155. | | ID) to add an IP to.'} | |
  2156. | | | |
  2157. | servers.remove_floating | {'name': 'obj', 'desc': | DEPRECATED Remove a |
  2158. | _ip | 'server: The | floating IP address. |
  2159. | | :class:`Server` (or its | |
  2160. | | ID) to remove an IP | |
  2161. | | from.'} | |
  2162. | | | |
  2163. | servers.remove_security | {'name': 'server', | Remove a Security Group |
  2164. | _group | 'desc': 'server: ID of | to an instance |
  2165. | | the instance.'}, | |
  2166. | | {'name': | |
  2167. | | 'security_group', | |
  2168. | | 'desc': | |
  2169. | | 'security_group: The | |
  2170. | | name of security group | |
  2171. | | to remove. :returns: An | |
  2172. | | instance of novaclient. | |
  2173. | | base.TupleWithMeta'} | |
  2174. | | | |
  2175. | servers.rescue | {'name': 'server', | Rescue the server. |
  2176. | | 'desc': 'server: The | |
  2177. | | :class:`Server` to | |
  2178. | | rescue.'}, | |
  2179. | | {'name': 'password', | |
  2180. | | 'desc': 'password: The | |
  2181. | | admin password to be | |
  2182. | | set in the rescue | |
  2183. | | instance.'}, | |
  2184. | | {'name': 'image', | |
  2185. | | 'desc': 'image: The | |
  2186. | | :class:`Image` to | |
  2187. | | rescue with. :returns: | |
  2188. | | An instance of novaclie | |
  2189. | | nt.base.TupleWithMeta'} | |
  2190. | | | |
  2191. | servers.reset_network | {'name': 'server', | Reset network of an |
  2192. | | 'desc': 'server: The | instance. |
  2193. | | :class:`Server` for | |
  2194. | | network is to be reset | |
  2195. | | :returns: An instance | |
  2196. | | of novaclient.base.Tupl | |
  2197. | | eWithMeta'} | |
  2198. | | | |
  2199. | servers.reset_state | {'name': 'server', | Reset the state of an |
  2200. | | 'desc': 'server: ID of | instance to active or |
  2201. | | the instance to reset | error. |
  2202. | | the state of.'}, | |
  2203. | | {'name': 'state', | |
  2204. | | 'desc': "state: Desired | |
  2205. | | state; either 'active' | |
  2206. | | or 'error'. Defaults | |
  2207. | | to 'error'. :returns: | |
  2208. | | An instance of novaclie | |
  2209. | | nt.base.TupleWithMeta"} | |
  2210. | | | |
  2211. | servers.resize | {'name': 'server', | Resize a server's |
  2212. | | 'desc': 'server: The | resources. |
  2213. | | :class:`Server` (or its | |
  2214. | | ID) to share onto.'}, | |
  2215. | | {'name': 'flavor', | |
  2216. | | 'desc': 'flavor: the | |
  2217. | | :class:`Flavor` (or its | |
  2218. | | ID) to resize to.'}, | |
  2219. | | {'name': 'disk_config', | |
  2220. | | 'desc': "disk_config: | |
  2221. | | partitioning mode to | |
  2222. | | use on the rebuilt | |
  2223. | | server. Valid values | |
  2224. | | are 'AUTO' or 'MANUAL' | |
  2225. | | :returns: An instance | |
  2226. | | of novaclient.base.Tupl | |
  2227. | | eWithMeta Until a | |
  2228. | | resize event is | |
  2229. | | confirmed with | |
  2230. | | :meth:`confirm_resize`, | |
  2231. | | the old server will be | |
  2232. | | kept around and you'll | |
  2233. | | be able to roll back to | |
  2234. | | the old flavor quickly | |
  2235. | | with | |
  2236. | | :meth:`revert_resize`. | |
  2237. | | All resizes are | |
  2238. | | automatically confirmed | |
  2239. | | after 24 hours."} | |
  2240. | | | |
  2241. | servers.restore | {'name': 'server', | Restore soft-deleted |
  2242. | | 'desc': 'server: The | server. |
  2243. | | :class:`Server` (or its | |
  2244. | | ID) to restore | |
  2245. | | :returns: An instance | |
  2246. | | of novaclient.base.Tupl | |
  2247. | | eWithMeta'} | |
  2248. | | | |
  2249. | servers.resume | {'name': 'server', | Resume the server. |
  2250. | | 'desc': 'server: The | |
  2251. | | :class:`Server` (or its | |
  2252. | | ID) to resume :returns: | |
  2253. | | An instance of novaclie | |
  2254. | | nt.base.TupleWithMeta'} | |
  2255. | | | |
  2256. | servers.revert_resize | {'name': 'server', | Revert a previous |
  2257. | | 'desc': 'server: The | resize, switching back |
  2258. | | :class:`Server` (or its | to the old server. |
  2259. | | ID) to share onto. | |
  2260. | | :returns: An instance | |
  2261. | | of novaclient.base.Tupl | |
  2262. | | eWithMeta'} | |
  2263. | | | |
  2264. | servers.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  2265. | | 'cls: class that | specified type. |
  2266. | | registers hooks'}, | |
  2267. | | {'name': 'hook_type', | |
  2268. | | 'desc': "hook_type: | |
  2269. | | hook type, e.g., | |
  2270. | | '__pre_parse_args__'"} | |
  2271. | | | |
  2272. | servers.set_meta | {'name': 'server', | Set a server's metadata |
  2273. | | 'desc': 'server: The | |
  2274. | | :class:`Server` to add | |
  2275. | | metadata to'}, | |
  2276. | | {'name': 'metadata', | |
  2277. | | 'desc': 'metadata: A | |
  2278. | | dict of metadata to be | |
  2279. | | added to the server'} | |
  2280. | | | |
  2281. | servers.set_meta_item | {'name': 'server', | Updates an item of |
  2282. | | 'desc': 'server: The | server metadata |
  2283. | | :class:`Server` to add | |
  2284. | | metadata to'}, | |
  2285. | | {'name': 'key', 'desc': | |
  2286. | | 'key: metadata key to | |
  2287. | | update'}, | |
  2288. | | {'name': 'value', | |
  2289. | | 'desc': 'value: string | |
  2290. | | value'} | |
  2291. | | | |
  2292. | servers.set_tags | {'name': 'obj', 'desc': | Set list of tags to an |
  2293. | | 'None'} | instance. |
  2294. | | | |
  2295. | servers.shelve | {'name': 'server', | Shelve the server. |
  2296. | | 'desc': 'server: The | |
  2297. | | :class:`Server` (or its | |
  2298. | | ID) to shelve :returns: | |
  2299. | | An instance of novaclie | |
  2300. | | nt.base.TupleWithMeta'} | |
  2301. | | | |
  2302. | servers.shelve_offload | {'name': 'server', | Remove a shelved |
  2303. | | 'desc': 'server: The | instance from the |
  2304. | | :class:`Server` (or its | compute node. |
  2305. | | ID) to shelve offload | |
  2306. | | :returns: An instance | |
  2307. | | of novaclient.base.Tupl | |
  2308. | | eWithMeta'} | |
  2309. | | | |
  2310. | servers.start | {'name': 'server', | Start the server. |
  2311. | | 'desc': 'server: The | |
  2312. | | :class:`Server` (or its | |
  2313. | | ID) to start :returns: | |
  2314. | | An instance of novaclie | |
  2315. | | nt.base.TupleWithMeta'} | |
  2316. | | | |
  2317. | servers.stop | {'name': 'server', | Stop the server. |
  2318. | | 'desc': 'server: The | |
  2319. | | :class:`Server` (or its | |
  2320. | | ID) to stop :returns: | |
  2321. | | An instance of novaclie | |
  2322. | | nt.base.TupleWithMeta'} | |
  2323. | | | |
  2324. | servers.suspend | {'name': 'server', | Suspend the server. |
  2325. | | 'desc': 'server: The | |
  2326. | | :class:`Server` (or its | |
  2327. | | ID) to suspend | |
  2328. | | :returns: An instance | |
  2329. | | of novaclient.base.Tupl | |
  2330. | | eWithMeta'} | |
  2331. | | | |
  2332. | servers.tag_list | {'name': 'obj', 'desc': | Get list of tags from an |
  2333. | | 'None'} | instance. |
  2334. | | | |
  2335. | servers.trigger_crash_d | {'name': 'obj', 'desc': | Trigger crash dump in an |
  2336. | ump | 'None'} | instance |
  2337. | | | |
  2338. | servers.unlock | {'name': 'server', | Unlock the server. |
  2339. | | 'desc': 'server: The | |
  2340. | | :class:`Server` (or its | |
  2341. | | ID) to unlock :returns: | |
  2342. | | An instance of novaclie | |
  2343. | | nt.base.TupleWithMeta'} | |
  2344. | | | |
  2345. | servers.unpause | {'name': 'server', | Unpause the server. |
  2346. | | 'desc': 'server: The | |
  2347. | | :class:`Server` (or its | |
  2348. | | ID) to unpause | |
  2349. | | :returns: An instance | |
  2350. | | of novaclient.base.Tupl | |
  2351. | | eWithMeta'} | |
  2352. | | | |
  2353. | servers.unrescue | {'name': 'server', | Unrescue the server. |
  2354. | | 'desc': 'server: The | |
  2355. | | :class:`Server` (or its | |
  2356. | | ID) to unrescue | |
  2357. | | :returns: An instance | |
  2358. | | of novaclient.base.Tupl | |
  2359. | | eWithMeta'} | |
  2360. | | | |
  2361. | servers.unshelve | {'name': 'server', | Unshelve the server. |
  2362. | | 'desc': 'server: The | |
  2363. | | :class:`Server` (or its | |
  2364. | | ID) to unshelve | |
  2365. | | :returns: An instance | |
  2366. | | of novaclient.base.Tupl | |
  2367. | | eWithMeta'} | |
  2368. | | | |
  2369. | servers.update | {'name': 'obj', 'desc': | Update the name or the |
  2370. | | 'server: The | description for a |
  2371. | | :class:`Server` (or its | server. |
  2372. | | ID) to update.'} | |
  2373. | | | |
  2374. | servers.write_to_comple | | |
  2375. | tion_cache | | |
  2376. | servers_set_meta | {'name': 'server', | A wrapper for |
  2377. | | 'description': 'server | servers.set_meta() |
  2378. | | id'}, | |
  2379. | | {'name': 'meta-key1', | |
  2380. | | 'description': 'meta | |
  2381. | | key 1'}, | |
  2382. | | {'name': 'meta-value1', | |
  2383. | | 'description': 'value | |
  2384. | | for meta key1'}, | |
  2385. | | {'name': 'meta-keyN', | |
  2386. | | 'description': 'meta | |
  2387. | | key N'}, | |
  2388. | | {'name': 'meta-valueN', | |
  2389. | | 'description': 'value | |
  2390. | | for meta keyN'} | |
  2391. | | | |
  2392. | services.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  2393. | | 'cls: class that | specified type. |
  2394. | | registers hooks'}, | |
  2395. | | {'name': 'hook_type', | |
  2396. | | 'desc': "hook_type: | |
  2397. | | hook type, e.g., | |
  2398. | | '__pre_parse_args__'"}, | |
  2399. | | {'name': 'hook_func', | |
  2400. | | 'desc': 'hook_func: | |
  2401. | | hook function'} | |
  2402. | | | |
  2403. | services.alternate_serv | | |
  2404. | ice_type | | |
  2405. | services.completion_cac | | The completion cache for |
  2406. | he | | bash autocompletion. |
  2407. | | | The completion cache |
  2408. | | | store items that can be |
  2409. | | | used for bash |
  2410. | | | autocompletion, like |
  2411. | | | UUIDs or human-friendly |
  2412. | | | IDs. A resource listing |
  2413. | | | will clear and |
  2414. | | | repopulate the cache. A |
  2415. | | | resource create will |
  2416. | | | append to the cache. |
  2417. | | | Delete is not handled |
  2418. | | | because listings are |
  2419. | | | assumed to be performed |
  2420. | | | often enough to keep the |
  2421. | | | cache reasonably up-to- |
  2422. | | | date. |
  2423. | services.convert_into_w | | |
  2424. | ith_meta | | |
  2425. | services.delete | {'name': 'service_id', | Delete a service. |
  2426. | | 'desc': 'None'} | |
  2427. | | | |
  2428. | services.disable | {'name': 'host', | Disable the service |
  2429. | | 'desc': 'None'}, | specified by hostname |
  2430. | | {'name': 'binary', | and binary. |
  2431. | | 'desc': 'None'} | |
  2432. | | | |
  2433. | services.disable_log_re | {'name': 'host', | Disable the service with |
  2434. | ason | 'desc': 'None'}, | reason. |
  2435. | | {'name': 'binary', | |
  2436. | | 'desc': 'None'}, | |
  2437. | | {'name': 'reason', | |
  2438. | | 'desc': 'None'} | |
  2439. | | | |
  2440. | services.enable | {'name': 'host', | Enable the service |
  2441. | | 'desc': 'None'}, | specified by hostname |
  2442. | | {'name': 'binary', | and binary. |
  2443. | | 'desc': 'None'} | |
  2444. | | | |
  2445. | services.find | | Find a single item with |
  2446. | | | attributes matching |
  2447. | | | ``**kwargs``. |
  2448. | services.findall | | Find all items with |
  2449. | | | attributes matching |
  2450. | | | ``**kwargs``. |
  2451. | services.force_down | {'name': 'obj', 'desc': | Force service state to |
  2452. | | 'None'} | down specified by |
  2453. | | | hostname and binary. |
  2454. | services.list | {'name': 'host', | Get a list of services. |
  2455. | | 'desc': 'host: | |
  2456. | | destination host | |
  2457. | | name.'}, | |
  2458. | | {'name': 'binary', | |
  2459. | | 'desc': 'None'} | |
  2460. | | | |
  2461. | services.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  2462. | | 'cls: class that | specified type. |
  2463. | | registers hooks'}, | |
  2464. | | {'name': 'hook_type', | |
  2465. | | 'desc': "hook_type: | |
  2466. | | hook type, e.g., | |
  2467. | | '__pre_parse_args__'"} | |
  2468. | | | |
  2469. | services.write_to_compl | | |
  2470. | etion_cache | | |
  2471. | usage.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  2472. | | 'cls: class that | specified type. |
  2473. | | registers hooks'}, | |
  2474. | | {'name': 'hook_type', | |
  2475. | | 'desc': "hook_type: | |
  2476. | | hook type, e.g., | |
  2477. | | '__pre_parse_args__'"}, | |
  2478. | | {'name': 'hook_func', | |
  2479. | | 'desc': 'hook_func: | |
  2480. | | hook function'} | |
  2481. | | | |
  2482. | usage.alternate_service | | |
  2483. | _type | | |
  2484. | usage.completion_cache | | The completion cache for |
  2485. | | | bash autocompletion. |
  2486. | | | The completion cache |
  2487. | | | store items that can be |
  2488. | | | used for bash |
  2489. | | | autocompletion, like |
  2490. | | | UUIDs or human-friendly |
  2491. | | | IDs. A resource listing |
  2492. | | | will clear and |
  2493. | | | repopulate the cache. A |
  2494. | | | resource create will |
  2495. | | | append to the cache. |
  2496. | | | Delete is not handled |
  2497. | | | because listings are |
  2498. | | | assumed to be performed |
  2499. | | | often enough to keep the |
  2500. | | | cache reasonably up-to- |
  2501. | | | date. |
  2502. | usage.convert_into_with | | |
  2503. | _meta | | |
  2504. | usage.find | | Find a single item with |
  2505. | | | attributes matching |
  2506. | | | ``**kwargs``. |
  2507. | usage.findall | | Find all items with |
  2508. | | | attributes matching |
  2509. | | | ``**kwargs``. |
  2510. | usage.get | {'name': 'obj', 'desc': | Get usage for a specific |
  2511. | | 'tenant_id: Tenant ID | tenant. |
  2512. | | to fetch usage for'} | |
  2513. | | | |
  2514. | usage.list | {'name': 'obj', 'desc': | Get usage for all |
  2515. | | 'start: :class:`datetim | tenants |
  2516. | | e.datetime` Start date | |
  2517. | | in UTC'} | |
  2518. | | | |
  2519. | usage.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  2520. | | 'cls: class that | specified type. |
  2521. | | registers hooks'}, | |
  2522. | | {'name': 'hook_type', | |
  2523. | | 'desc': "hook_type: | |
  2524. | | hook type, e.g., | |
  2525. | | '__pre_parse_args__'"} | |
  2526. | | | |
  2527. | usage.write_to_completi | | |
  2528. | on_cache | | |
  2529. | versions.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  2530. | | 'cls: class that | specified type. |
  2531. | | registers hooks'}, | |
  2532. | | {'name': 'hook_type', | |
  2533. | | 'desc': "hook_type: | |
  2534. | | hook type, e.g., | |
  2535. | | '__pre_parse_args__'"}, | |
  2536. | | {'name': 'hook_func', | |
  2537. | | 'desc': 'hook_func: | |
  2538. | | hook function'} | |
  2539. | | | |
  2540. | versions.alternate_serv | | |
  2541. | ice_type | | |
  2542. | versions.completion_cac | | The completion cache for |
  2543. | he | | bash autocompletion. |
  2544. | | | The completion cache |
  2545. | | | store items that can be |
  2546. | | | used for bash |
  2547. | | | autocompletion, like |
  2548. | | | UUIDs or human-friendly |
  2549. | | | IDs. A resource listing |
  2550. | | | will clear and |
  2551. | | | repopulate the cache. A |
  2552. | | | resource create will |
  2553. | | | append to the cache. |
  2554. | | | Delete is not handled |
  2555. | | | because listings are |
  2556. | | | assumed to be performed |
  2557. | | | often enough to keep the |
  2558. | | | cache reasonably up-to- |
  2559. | | | date. |
  2560. | versions.convert_into_w | | |
  2561. | ith_meta | | |
  2562. | versions.find | | Find a single item with |
  2563. | | | attributes matching |
  2564. | | | ``**kwargs``. |
  2565. | versions.findall | | Find all items with |
  2566. | | | attributes matching |
  2567. | | | ``**kwargs``. |
  2568. | versions.get_current | | |
  2569. | | | |
  2570. | versions.list | | List all versions. |
  2571. | | | |
  2572. | versions.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  2573. | | 'cls: class that | specified type. |
  2574. | | registers hooks'}, | |
  2575. | | {'name': 'hook_type', | |
  2576. | | 'desc': "hook_type: | |
  2577. | | hook type, e.g., | |
  2578. | | '__pre_parse_args__'"} | |
  2579. | | | |
  2580. | versions.write_to_compl | | |
  2581. | etion_cache | | |
  2582. | virtual_interfaces.add_ | {'name': 'cls', 'desc': | Add a new hook of |
  2583. | hook | 'cls: class that | specified type. |
  2584. | | registers hooks'}, | |
  2585. | | {'name': 'hook_type', | |
  2586. | | 'desc': "hook_type: | |
  2587. | | hook type, e.g., | |
  2588. | | '__pre_parse_args__'"}, | |
  2589. | | {'name': 'hook_func', | |
  2590. | | 'desc': 'hook_func: | |
  2591. | | hook function'} | |
  2592. | | | |
  2593. | virtual_interfaces.alte | | |
  2594. | rnate_service_type | | |
  2595. | virtual_interfaces.comp | | The completion cache for |
  2596. | letion_cache | | bash autocompletion. |
  2597. | | | The completion cache |
  2598. | | | store items that can be |
  2599. | | | used for bash |
  2600. | | | autocompletion, like |
  2601. | | | UUIDs or human-friendly |
  2602. | | | IDs. A resource listing |
  2603. | | | will clear and |
  2604. | | | repopulate the cache. A |
  2605. | | | resource create will |
  2606. | | | append to the cache. |
  2607. | | | Delete is not handled |
  2608. | | | because listings are |
  2609. | | | assumed to be performed |
  2610. | | | often enough to keep the |
  2611. | | | cache reasonably up-to- |
  2612. | | | date. |
  2613. | virtual_interfaces.conv | | |
  2614. | ert_into_with_meta | | |
  2615. | virtual_interfaces.find | | Find a single item with |
  2616. | | | attributes matching |
  2617. | | | ``**kwargs``. |
  2618. | virtual_interfaces.find | | Find all items with |
  2619. | all | | attributes matching |
  2620. | | | ``**kwargs``. |
  2621. | virtual_interfaces.list | {'name': 'obj', 'desc': | DEPRECATED |
  2622. | | 'None'} | |
  2623. | | | |
  2624. | virtual_interfaces.run_ | {'name': 'cls', 'desc': | Run all hooks of |
  2625. | hooks | 'cls: class that | specified type. |
  2626. | | registers hooks'}, | |
  2627. | | {'name': 'hook_type', | |
  2628. | | 'desc': "hook_type: | |
  2629. | | hook type, e.g., | |
  2630. | | '__pre_parse_args__'"} | |
  2631. | | | |
  2632. | virtual_interfaces.writ | | |
  2633. | e_to_completion_cache | | |
  2634. | volumes.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  2635. | | 'cls: class that | specified type. |
  2636. | | registers hooks'}, | |
  2637. | | {'name': 'hook_type', | |
  2638. | | 'desc': "hook_type: | |
  2639. | | hook type, e.g., | |
  2640. | | '__pre_parse_args__'"}, | |
  2641. | | {'name': 'hook_func', | |
  2642. | | 'desc': 'hook_func: | |
  2643. | | hook function'} | |
  2644. | | | |
  2645. | volumes.alternate_servi | | |
  2646. | ce_type | | |
  2647. | volumes.completion_cach | | The completion cache for |
  2648. | e | | bash autocompletion. |
  2649. | | | The completion cache |
  2650. | | | store items that can be |
  2651. | | | used for bash |
  2652. | | | autocompletion, like |
  2653. | | | UUIDs or human-friendly |
  2654. | | | IDs. A resource listing |
  2655. | | | will clear and |
  2656. | | | repopulate the cache. A |
  2657. | | | resource create will |
  2658. | | | append to the cache. |
  2659. | | | Delete is not handled |
  2660. | | | because listings are |
  2661. | | | assumed to be performed |
  2662. | | | often enough to keep the |
  2663. | | | cache reasonably up-to- |
  2664. | | | date. |
  2665. | volumes.convert_into_wi | | |
  2666. | th_meta | | |
  2667. | volumes.create_server_v | {'name': 'server_id', | Attach a volume |
  2668. | olume | 'desc': 'server_id: The | identified by the volume |
  2669. | | ID of the server'}, | ID to the given server |
  2670. | | {'name': 'volume_id', | ID |
  2671. | | 'desc': 'volume_id: The | |
  2672. | | ID of the volume to | |
  2673. | | attach.'}, | |
  2674. | | {'name': 'device', | |
  2675. | | 'desc': 'device: The | |
  2676. | | device name (optional) | |
  2677. | | :rtype: | |
  2678. | | :class:`Volume`'} | |
  2679. | | | |
  2680. | volumes.delete_server_v | {'name': 'server_id', | Detach a volume |
  2681. | olume | 'desc': 'server_id: The | identified by the |
  2682. | | ID of the server'}, | attachment ID from the |
  2683. | | {'name': | given server |
  2684. | | 'attachment_id', | |
  2685. | | 'desc': 'attachment_id: | |
  2686. | | The ID of the | |
  2687. | | attachment :returns: An | |
  2688. | | instance of novaclient. | |
  2689. | | base.TupleWithMeta'} | |
  2690. | | | |
  2691. | volumes.get_server_volu | {'name': 'server_id', | Get the volume |
  2692. | me | 'desc': 'server_id: The | identified by the |
  2693. | | ID of the server'}, | attachment ID, that is |
  2694. | | {'name': | attached to the given |
  2695. | | 'attachment_id', | server ID |
  2696. | | 'desc': 'attachment_id: | |
  2697. | | The ID of the | |
  2698. | | attachment :rtype: | |
  2699. | | :class:`Volume`'} | |
  2700. | | | |
  2701. | volumes.get_server_volu | {'name': 'server_id', | Get a list of all the |
  2702. | mes | 'desc': 'server_id: The | attached volumes for the |
  2703. | | ID of the server | given server ID |
  2704. | | :rtype: list of | |
  2705. | | :class:`Volume`'} | |
  2706. | | | |
  2707. | volumes.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  2708. | | 'cls: class that | specified type. |
  2709. | | registers hooks'}, | |
  2710. | | {'name': 'hook_type', | |
  2711. | | 'desc': "hook_type: | |
  2712. | | hook type, e.g., | |
  2713. | | '__pre_parse_args__'"} | |
  2714. | | | |
  2715. | volumes.update_server_v | {'name': 'server_id', | Swaps the existing |
  2716. | olume | 'desc': 'server_id: The | volume attachment to |
  2717. | | ID of the server'}, | point to a new volume. |
  2718. | | {'name': 'src_volid', | Takes a server, a source |
  2719. | | 'desc': 'source_volume: | (attached) volume and a |
  2720. | | The ID of the src | destination volume and |
  2721. | | volume'}, | performs a hypervisor |
  2722. | | {'name': 'dest_volid', | assisted data migration |
  2723. | | 'desc': 'dest_volume: | from src to dest volume, |
  2724. | | The ID of the | detaches the original |
  2725. | | destination volume | (source) volume and |
  2726. | | :rtype: | attaches the new |
  2727. | | :class:`Volume`'} | destination volume. Note |
  2728. | | | that not all backing |
  2729. | | | hypervisor drivers |
  2730. | | | support this operation |
  2731. | | | and it may be disabled |
  2732. | | | via policy. |
  2733. | volumes.write_to_comple | | |
  2734. | tion_cache | | |
  2735. +-------------------------+-------------------------+--------------------------+
  2736. +../congress/scripts/manual_testing/general.sh:main:17 openstack congress datasource actions show 7632adb5-c106-468b-ae60-bc576a73072d
  2737. +-------------------------+-------------------------+--------------------------+
  2738. | action | args | description |
  2739. +-------------------------+-------------------------+--------------------------+
  2740. | agents.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  2741. | | 'cls: class that | specified type. |
  2742. | | registers hooks'}, | |
  2743. | | {'name': 'hook_type', | |
  2744. | | 'desc': "hook_type: | |
  2745. | | hook type, e.g., | |
  2746. | | '__pre_parse_args__'"}, | |
  2747. | | {'name': 'hook_func', | |
  2748. | | 'desc': 'hook_func: | |
  2749. | | hook function'} | |
  2750. | | | |
  2751. | agents.alternate_servic | | |
  2752. | e_type | | |
  2753. | agents.completion_cache | | The completion cache for |
  2754. | | | bash autocompletion. |
  2755. | | | The completion cache |
  2756. | | | store items that can be |
  2757. | | | used for bash |
  2758. | | | autocompletion, like |
  2759. | | | UUIDs or human-friendly |
  2760. | | | IDs. A resource listing |
  2761. | | | will clear and |
  2762. | | | repopulate the cache. A |
  2763. | | | resource create will |
  2764. | | | append to the cache. |
  2765. | | | Delete is not handled |
  2766. | | | because listings are |
  2767. | | | assumed to be performed |
  2768. | | | often enough to keep the |
  2769. | | | cache reasonably up-to- |
  2770. | | | date. |
  2771. | agents.convert_into_wit | | |
  2772. | h_meta | | |
  2773. | agents.create | {'name': 'os', 'desc': | Create a new agent |
  2774. | | 'None'}, | build. |
  2775. | | {'name': | |
  2776. | | 'architecture', 'desc': | |
  2777. | | 'None'}, | |
  2778. | | {'name': 'version', | |
  2779. | | 'desc': 'None'}, | |
  2780. | | {'name': 'url', 'desc': | |
  2781. | | 'None'}, | |
  2782. | | {'name': 'md5hash', | |
  2783. | | 'desc': 'None'}, | |
  2784. | | {'name': 'hypervisor', | |
  2785. | | 'desc': 'None'} | |
  2786. | | | |
  2787. | agents.delete | {'name': 'id', 'desc': | Deletes an existing |
  2788. | | "id: The agent's id to | agent build. |
  2789. | | delete :returns: An | |
  2790. | | instance of novaclient. | |
  2791. | | base.TupleWithMeta"} | |
  2792. | | | |
  2793. | agents.find | | Find a single item with |
  2794. | | | attributes matching |
  2795. | | | ``**kwargs``. |
  2796. | agents.findall | | Find all items with |
  2797. | | | attributes matching |
  2798. | | | ``**kwargs``. |
  2799. | agents.list | {'name': 'hypervisor', | List all agent builds. |
  2800. | | 'desc': 'None'} | |
  2801. | | | |
  2802. | agents.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  2803. | | 'cls: class that | specified type. |
  2804. | | registers hooks'}, | |
  2805. | | {'name': 'hook_type', | |
  2806. | | 'desc': "hook_type: | |
  2807. | | hook type, e.g., | |
  2808. | | '__pre_parse_args__'"} | |
  2809. | | | |
  2810. | agents.update | {'name': 'id', 'desc': | Update an existing agent |
  2811. | | 'None'}, | build. |
  2812. | | {'name': 'version', | |
  2813. | | 'desc': 'None'}, | |
  2814. | | {'name': 'url', 'desc': | |
  2815. | | 'None'}, | |
  2816. | | {'name': 'md5hash', | |
  2817. | | 'desc': 'None'} | |
  2818. | | | |
  2819. | agents.write_to_complet | | |
  2820. | ion_cache | | |
  2821. | aggregates.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  2822. | | 'cls: class that | specified type. |
  2823. | | registers hooks'}, | |
  2824. | | {'name': 'hook_type', | |
  2825. | | 'desc': "hook_type: | |
  2826. | | hook type, e.g., | |
  2827. | | '__pre_parse_args__'"}, | |
  2828. | | {'name': 'hook_func', | |
  2829. | | 'desc': 'hook_func: | |
  2830. | | hook function'} | |
  2831. | | | |
  2832. | aggregates.add_host | {'name': 'aggregate', | Add a host into the Host |
  2833. | | 'desc': 'None'}, | Aggregate. |
  2834. | | {'name': 'host', | |
  2835. | | 'desc': 'None'} | |
  2836. | | | |
  2837. | aggregates.alternate_se | | |
  2838. | rvice_type | | |
  2839. | aggregates.completion_c | | The completion cache for |
  2840. | ache | | bash autocompletion. |
  2841. | | | The completion cache |
  2842. | | | store items that can be |
  2843. | | | used for bash |
  2844. | | | autocompletion, like |
  2845. | | | UUIDs or human-friendly |
  2846. | | | IDs. A resource listing |
  2847. | | | will clear and |
  2848. | | | repopulate the cache. A |
  2849. | | | resource create will |
  2850. | | | append to the cache. |
  2851. | | | Delete is not handled |
  2852. | | | because listings are |
  2853. | | | assumed to be performed |
  2854. | | | often enough to keep the |
  2855. | | | cache reasonably up-to- |
  2856. | | | date. |
  2857. | aggregates.convert_into | | |
  2858. | _with_meta | | |
  2859. | aggregates.create | {'name': 'name', | Create a new aggregate. |
  2860. | | 'desc': 'None'}, | |
  2861. | | {'name': | |
  2862. | | 'availability_zone', | |
  2863. | | 'desc': 'None'} | |
  2864. | | | |
  2865. | aggregates.delete | {'name': 'aggregate', | Delete the specified |
  2866. | | 'desc': 'aggregate: The | aggregate. |
  2867. | | aggregate to delete | |
  2868. | | :returns: An instance | |
  2869. | | of novaclient.base.Tupl | |
  2870. | | eWithMeta'} | |
  2871. | | | |
  2872. | aggregates.find | | Find a single item with |
  2873. | | | attributes matching |
  2874. | | | ``**kwargs``. |
  2875. | aggregates.findall | | Find all items with |
  2876. | | | attributes matching |
  2877. | | | ``**kwargs``. |
  2878. | aggregates.get | {'name': 'aggregate', | Get details of the |
  2879. | | 'desc': 'None'} | specified aggregate. |
  2880. | | | |
  2881. | aggregates.get_details | {'name': 'aggregate', | Get details of the |
  2882. | | 'desc': 'None'} | specified aggregate. |
  2883. | | | |
  2884. | aggregates.list | | Get a list of os- |
  2885. | | | aggregates. |
  2886. | aggregates.remove_host | {'name': 'aggregate', | Remove a host from the |
  2887. | | 'desc': 'None'}, | Host Aggregate. |
  2888. | | {'name': 'host', | |
  2889. | | 'desc': 'None'} | |
  2890. | | | |
  2891. | aggregates.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  2892. | | 'cls: class that | specified type. |
  2893. | | registers hooks'}, | |
  2894. | | {'name': 'hook_type', | |
  2895. | | 'desc': "hook_type: | |
  2896. | | hook type, e.g., | |
  2897. | | '__pre_parse_args__'"} | |
  2898. | | | |
  2899. | aggregates.set_metadata | {'name': 'aggregate', | Set aggregate metadata, |
  2900. | | 'desc': 'None'}, | replacing the existing |
  2901. | | {'name': 'metadata', | metadata. |
  2902. | | 'desc': 'None'} | |
  2903. | | | |
  2904. | aggregates.update | {'name': 'aggregate', | Update the name and/or |
  2905. | | 'desc': 'None'}, | availability zone. |
  2906. | | {'name': 'values', | |
  2907. | | 'desc': 'None'} | |
  2908. | | | |
  2909. | aggregates.write_to_com | | |
  2910. | pletion_cache | | |
  2911. | assisted_volume_snapsho | {'name': 'cls', 'desc': | Add a new hook of |
  2912. | ts.add_hook | 'cls: class that | specified type. |
  2913. | | registers hooks'}, | |
  2914. | | {'name': 'hook_type', | |
  2915. | | 'desc': "hook_type: | |
  2916. | | hook type, e.g., | |
  2917. | | '__pre_parse_args__'"}, | |
  2918. | | {'name': 'hook_func', | |
  2919. | | 'desc': 'hook_func: | |
  2920. | | hook function'} | |
  2921. | | | |
  2922. | assisted_volume_snapsho | | |
  2923. | ts.alternate_service_ty | | |
  2924. | pe | | |
  2925. | assisted_volume_snapsho | | The completion cache for |
  2926. | ts.completion_cache | | bash autocompletion. |
  2927. | | | The completion cache |
  2928. | | | store items that can be |
  2929. | | | used for bash |
  2930. | | | autocompletion, like |
  2931. | | | UUIDs or human-friendly |
  2932. | | | IDs. A resource listing |
  2933. | | | will clear and |
  2934. | | | repopulate the cache. A |
  2935. | | | resource create will |
  2936. | | | append to the cache. |
  2937. | | | Delete is not handled |
  2938. | | | because listings are |
  2939. | | | assumed to be performed |
  2940. | | | often enough to keep the |
  2941. | | | cache reasonably up-to- |
  2942. | | | date. |
  2943. | assisted_volume_snapsho | | |
  2944. | ts.convert_into_with_me | | |
  2945. | ta | | |
  2946. | assisted_volume_snapsho | | |
  2947. | ts.create | | |
  2948. | assisted_volume_snapsho | {'name': 'snapshot', | Delete a specified |
  2949. | ts.delete | 'desc': 'snapshot: an | assisted volume |
  2950. | | assisted volume | snapshot. |
  2951. | | snapshot to delete'}, | |
  2952. | | {'name': 'delete_info', | |
  2953. | | 'desc': 'delete_info: | |
  2954. | | Information for | |
  2955. | | snapshot deletion | |
  2956. | | :returns: An instance | |
  2957. | | of novaclient.base.Tupl | |
  2958. | | eWithMeta'} | |
  2959. | | | |
  2960. | assisted_volume_snapsho | {'name': 'cls', 'desc': | Run all hooks of |
  2961. | ts.run_hooks | 'cls: class that | specified type. |
  2962. | | registers hooks'}, | |
  2963. | | {'name': 'hook_type', | |
  2964. | | 'desc': "hook_type: | |
  2965. | | hook type, e.g., | |
  2966. | | '__pre_parse_args__'"} | |
  2967. | | | |
  2968. | assisted_volume_snapsho | | |
  2969. | ts.write_to_completion_ | | |
  2970. | cache | | |
  2971. | availability_zones.add_ | {'name': 'cls', 'desc': | Add a new hook of |
  2972. | hook | 'cls: class that | specified type. |
  2973. | | registers hooks'}, | |
  2974. | | {'name': 'hook_type', | |
  2975. | | 'desc': "hook_type: | |
  2976. | | hook type, e.g., | |
  2977. | | '__pre_parse_args__'"}, | |
  2978. | | {'name': 'hook_func', | |
  2979. | | 'desc': 'hook_func: | |
  2980. | | hook function'} | |
  2981. | | | |
  2982. | availability_zones.alte | | |
  2983. | rnate_service_type | | |
  2984. | availability_zones.comp | | The completion cache for |
  2985. | letion_cache | | bash autocompletion. |
  2986. | | | The completion cache |
  2987. | | | store items that can be |
  2988. | | | used for bash |
  2989. | | | autocompletion, like |
  2990. | | | UUIDs or human-friendly |
  2991. | | | IDs. A resource listing |
  2992. | | | will clear and |
  2993. | | | repopulate the cache. A |
  2994. | | | resource create will |
  2995. | | | append to the cache. |
  2996. | | | Delete is not handled |
  2997. | | | because listings are |
  2998. | | | assumed to be performed |
  2999. | | | often enough to keep the |
  3000. | | | cache reasonably up-to- |
  3001. | | | date. |
  3002. | availability_zones.conv | | |
  3003. | ert_into_with_meta | | |
  3004. | availability_zones.find | | Find a single item with |
  3005. | | | attributes matching |
  3006. | | | ``**kwargs``. |
  3007. | availability_zones.find | | Find all items with |
  3008. | all | | attributes matching |
  3009. | | | ``**kwargs``. |
  3010. | availability_zones.list | {'name': 'detailed', | Get a list of all |
  3011. | | 'desc': 'detailed: If | availability zones. |
  3012. | | True, list availability | |
  3013. | | zones with details. | |
  3014. | | :returns: list of :clas | |
  3015. | | s:`AvailabilityZone`'} | |
  3016. | | | |
  3017. | availability_zones.run_ | {'name': 'cls', 'desc': | Run all hooks of |
  3018. | hooks | 'cls: class that | specified type. |
  3019. | | registers hooks'}, | |
  3020. | | {'name': 'hook_type', | |
  3021. | | 'desc': "hook_type: | |
  3022. | | hook type, e.g., | |
  3023. | | '__pre_parse_args__'"} | |
  3024. | | | |
  3025. | availability_zones.writ | | |
  3026. | e_to_completion_cache | | |
  3027. | cells.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  3028. | | 'cls: class that | specified type. |
  3029. | | registers hooks'}, | |
  3030. | | {'name': 'hook_type', | |
  3031. | | 'desc': "hook_type: | |
  3032. | | hook type, e.g., | |
  3033. | | '__pre_parse_args__'"}, | |
  3034. | | {'name': 'hook_func', | |
  3035. | | 'desc': 'hook_func: | |
  3036. | | hook function'} | |
  3037. | | | |
  3038. | cells.alternate_service | | |
  3039. | _type | | |
  3040. | cells.capacities | {'name': 'cell_name', | Get capacities for a |
  3041. | | 'desc': 'cell_name: | cell. |
  3042. | | Name of the | |
  3043. | | :class:`Cell` to get | |
  3044. | | capacities for. :rtype: | |
  3045. | | :class:`Cell`'} | |
  3046. | | | |
  3047. | cells.completion_cache | | The completion cache for |
  3048. | | | bash autocompletion. |
  3049. | | | The completion cache |
  3050. | | | store items that can be |
  3051. | | | used for bash |
  3052. | | | autocompletion, like |
  3053. | | | UUIDs or human-friendly |
  3054. | | | IDs. A resource listing |
  3055. | | | will clear and |
  3056. | | | repopulate the cache. A |
  3057. | | | resource create will |
  3058. | | | append to the cache. |
  3059. | | | Delete is not handled |
  3060. | | | because listings are |
  3061. | | | assumed to be performed |
  3062. | | | often enough to keep the |
  3063. | | | cache reasonably up-to- |
  3064. | | | date. |
  3065. | cells.convert_into_with | | |
  3066. | _meta | | |
  3067. | cells.get | {'name': 'cell_name', | Get a cell. |
  3068. | | 'desc': 'cell_name: | |
  3069. | | Name of the | |
  3070. | | :class:`Cell` to get. | |
  3071. | | :rtype: :class:`Cell`'} | |
  3072. | | | |
  3073. | cells.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  3074. | | 'cls: class that | specified type. |
  3075. | | registers hooks'}, | |
  3076. | | {'name': 'hook_type', | |
  3077. | | 'desc': "hook_type: | |
  3078. | | hook type, e.g., | |
  3079. | | '__pre_parse_args__'"} | |
  3080. | | | |
  3081. | cells.write_to_completi | | |
  3082. | on_cache | | |
  3083. | certs.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  3084. | | 'cls: class that | specified type. |
  3085. | | registers hooks'}, | |
  3086. | | {'name': 'hook_type', | |
  3087. | | 'desc': "hook_type: | |
  3088. | | hook type, e.g., | |
  3089. | | '__pre_parse_args__'"}, | |
  3090. | | {'name': 'hook_func', | |
  3091. | | 'desc': 'hook_func: | |
  3092. | | hook function'} | |
  3093. | | | |
  3094. | certs.alternate_service | | |
  3095. | _type | | |
  3096. | certs.completion_cache | | The completion cache for |
  3097. | | | bash autocompletion. |
  3098. | | | The completion cache |
  3099. | | | store items that can be |
  3100. | | | used for bash |
  3101. | | | autocompletion, like |
  3102. | | | UUIDs or human-friendly |
  3103. | | | IDs. A resource listing |
  3104. | | | will clear and |
  3105. | | | repopulate the cache. A |
  3106. | | | resource create will |
  3107. | | | append to the cache. |
  3108. | | | Delete is not handled |
  3109. | | | because listings are |
  3110. | | | assumed to be performed |
  3111. | | | often enough to keep the |
  3112. | | | cache reasonably up-to- |
  3113. | | | date. |
  3114. | certs.convert_into_with | | |
  3115. | _meta | | |
  3116. | certs.create | | DEPRECATED Create a x509 |
  3117. | | | certificate for a user |
  3118. | | | in tenant. |
  3119. | certs.get | | DEPRECATED Get root |
  3120. | | | certificate. |
  3121. | certs.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  3122. | | 'cls: class that | specified type. |
  3123. | | registers hooks'}, | |
  3124. | | {'name': 'hook_type', | |
  3125. | | 'desc': "hook_type: | |
  3126. | | hook type, e.g., | |
  3127. | | '__pre_parse_args__'"} | |
  3128. | | | |
  3129. | certs.write_to_completi | | |
  3130. | on_cache | | |
  3131. | client.authenticate | | Authenticate against the |
  3132. | | | server. Normally this |
  3133. | | | is called automatically |
  3134. | | | when you first access |
  3135. | | | the API, but you can |
  3136. | | | call this method to |
  3137. | | | force authentication |
  3138. | | | right now. Returns on |
  3139. | | | success; raises :exc:`ex |
  3140. | | | ceptions.Unauthorized` |
  3141. | | | if the credentials are |
  3142. | | | wrong. |
  3143. | client.get_timings | | |
  3144. | | | |
  3145. | client.reset_timings | | |
  3146. | | | |
  3147. | client.set_management_u | | |
  3148. | rl | | |
  3149. | cloudpipe.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  3150. | | 'cls: class that | specified type. |
  3151. | | registers hooks'}, | |
  3152. | | {'name': 'hook_type', | |
  3153. | | 'desc': "hook_type: | |
  3154. | | hook type, e.g., | |
  3155. | | '__pre_parse_args__'"}, | |
  3156. | | {'name': 'hook_func', | |
  3157. | | 'desc': 'hook_func: | |
  3158. | | hook function'} | |
  3159. | | | |
  3160. | cloudpipe.alternate_ser | | |
  3161. | vice_type | | |
  3162. | cloudpipe.completion_ca | | The completion cache for |
  3163. | che | | bash autocompletion. |
  3164. | | | The completion cache |
  3165. | | | store items that can be |
  3166. | | | used for bash |
  3167. | | | autocompletion, like |
  3168. | | | UUIDs or human-friendly |
  3169. | | | IDs. A resource listing |
  3170. | | | will clear and |
  3171. | | | repopulate the cache. A |
  3172. | | | resource create will |
  3173. | | | append to the cache. |
  3174. | | | Delete is not handled |
  3175. | | | because listings are |
  3176. | | | assumed to be performed |
  3177. | | | often enough to keep the |
  3178. | | | cache reasonably up-to- |
  3179. | | | date. |
  3180. | cloudpipe.convert_into_ | | |
  3181. | with_meta | | |
  3182. | cloudpipe.create | {'name': 'project', | DEPRECATED Launch a |
  3183. | | 'desc': 'project: UUID | cloudpipe instance. |
  3184. | | of the project (tenant) | |
  3185. | | for the cloudpipe'} | |
  3186. | | | |
  3187. | cloudpipe.find | | Find a single item with |
  3188. | | | attributes matching |
  3189. | | | ``**kwargs``. |
  3190. | cloudpipe.findall | | Find all items with |
  3191. | | | attributes matching |
  3192. | | | ``**kwargs``. |
  3193. | cloudpipe.list | | DEPRECATED Get a list of |
  3194. | | | cloudpipe instances. |
  3195. | cloudpipe.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  3196. | | 'cls: class that | specified type. |
  3197. | | registers hooks'}, | |
  3198. | | {'name': 'hook_type', | |
  3199. | | 'desc': "hook_type: | |
  3200. | | hook type, e.g., | |
  3201. | | '__pre_parse_args__'"} | |
  3202. | | | |
  3203. | cloudpipe.update | {'name': 'address', | DEPRECATED Configure |
  3204. | | 'desc': 'address: IP | cloudpipe parameters for |
  3205. | | address'}, | the project. Update VPN |
  3206. | | {'name': 'port', | address and port for all |
  3207. | | 'desc': 'port: Port | networks associated with |
  3208. | | number :returns: An | the project defined by |
  3209. | | instance of novaclient. | authentication |
  3210. | | base.TupleWithMeta'} | |
  3211. | | | |
  3212. | cloudpipe.write_to_comp | | |
  3213. | letion_cache | | |
  3214. | flavor_access.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  3215. | | 'cls: class that | specified type. |
  3216. | | registers hooks'}, | |
  3217. | | {'name': 'hook_type', | |
  3218. | | 'desc': "hook_type: | |
  3219. | | hook type, e.g., | |
  3220. | | '__pre_parse_args__'"}, | |
  3221. | | {'name': 'hook_func', | |
  3222. | | 'desc': 'hook_func: | |
  3223. | | hook function'} | |
  3224. | | | |
  3225. | flavor_access.add_tenan | {'name': 'flavor', | Add a tenant to the |
  3226. | t_access | 'desc': 'None'}, | given flavor access |
  3227. | | {'name': 'tenant', | list. |
  3228. | | 'desc': 'None'} | |
  3229. | | | |
  3230. | flavor_access.alternate | | |
  3231. | _service_type | | |
  3232. | flavor_access.completio | | The completion cache for |
  3233. | n_cache | | bash autocompletion. |
  3234. | | | The completion cache |
  3235. | | | store items that can be |
  3236. | | | used for bash |
  3237. | | | autocompletion, like |
  3238. | | | UUIDs or human-friendly |
  3239. | | | IDs. A resource listing |
  3240. | | | will clear and |
  3241. | | | repopulate the cache. A |
  3242. | | | resource create will |
  3243. | | | append to the cache. |
  3244. | | | Delete is not handled |
  3245. | | | because listings are |
  3246. | | | assumed to be performed |
  3247. | | | often enough to keep the |
  3248. | | | cache reasonably up-to- |
  3249. | | | date. |
  3250. | flavor_access.convert_i | | |
  3251. | nto_with_meta | | |
  3252. | flavor_access.find | | Find a single item with |
  3253. | | | attributes matching |
  3254. | | | ``**kwargs``. |
  3255. | flavor_access.findall | | Find all items with |
  3256. | | | attributes matching |
  3257. | | | ``**kwargs``. |
  3258. | flavor_access.list | | |
  3259. | | | |
  3260. | flavor_access.remove_te | {'name': 'flavor', | Remove a tenant from the |
  3261. | nant_access | 'desc': 'None'}, | given flavor access |
  3262. | | {'name': 'tenant', | list. |
  3263. | | 'desc': 'None'} | |
  3264. | | | |
  3265. | flavor_access.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  3266. | | 'cls: class that | specified type. |
  3267. | | registers hooks'}, | |
  3268. | | {'name': 'hook_type', | |
  3269. | | 'desc': "hook_type: | |
  3270. | | hook type, e.g., | |
  3271. | | '__pre_parse_args__'"} | |
  3272. | | | |
  3273. | flavor_access.write_to_ | | |
  3274. | completion_cache | | |
  3275. | flavors.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  3276. | | 'cls: class that | specified type. |
  3277. | | registers hooks'}, | |
  3278. | | {'name': 'hook_type', | |
  3279. | | 'desc': "hook_type: | |
  3280. | | hook type, e.g., | |
  3281. | | '__pre_parse_args__'"}, | |
  3282. | | {'name': 'hook_func', | |
  3283. | | 'desc': 'hook_func: | |
  3284. | | hook function'} | |
  3285. | | | |
  3286. | flavors.alternate_servi | | |
  3287. | ce_type | | |
  3288. | flavors.completion_cach | | The completion cache for |
  3289. | e | | bash autocompletion. |
  3290. | | | The completion cache |
  3291. | | | store items that can be |
  3292. | | | used for bash |
  3293. | | | autocompletion, like |
  3294. | | | UUIDs or human-friendly |
  3295. | | | IDs. A resource listing |
  3296. | | | will clear and |
  3297. | | | repopulate the cache. A |
  3298. | | | resource create will |
  3299. | | | append to the cache. |
  3300. | | | Delete is not handled |
  3301. | | | because listings are |
  3302. | | | assumed to be performed |
  3303. | | | often enough to keep the |
  3304. | | | cache reasonably up-to- |
  3305. | | | date. |
  3306. | flavors.convert_into_wi | | |
  3307. | th_meta | | |
  3308. | flavors.create | {'name': 'name', | Create a flavor. |
  3309. | | 'desc': 'name: | |
  3310. | | Descriptive name of the | |
  3311. | | flavor'}, | |
  3312. | | {'name': 'ram', 'desc': | |
  3313. | | 'ram: Memory in MB for | |
  3314. | | the flavor'}, | |
  3315. | | {'name': 'vcpus', | |
  3316. | | 'desc': 'vcpus: Number | |
  3317. | | of VCPUs for the | |
  3318. | | flavor'}, | |
  3319. | | {'name': 'disk', | |
  3320. | | 'desc': 'disk: Size of | |
  3321. | | local disk in GB'}, | |
  3322. | | {'name': 'flavorid', | |
  3323. | | 'desc': 'flavorid: ID | |
  3324. | | for the flavor | |
  3325. | | (optional). You can use | |
  3326. | | the reserved value | |
  3327. | | ``"auto"`` to have Nova | |
  3328. | | generate a UUID for the | |
  3329. | | flavor in cases where | |
  3330. | | you cannot simply pass | |
  3331. | | ``None``.'}, | |
  3332. | | {'name': 'ephemeral', | |
  3333. | | 'desc': 'swap: Swap | |
  3334. | | space in MB'}, | |
  3335. | | {'name': 'swap', | |
  3336. | | 'desc': 'rxtx_factor: | |
  3337. | | RX/TX factor :returns: | |
  3338. | | :class:`Flavor`'}, | |
  3339. | | {'name': 'rxtx_factor', | |
  3340. | | 'desc': 'None'}, | |
  3341. | | {'name': 'is_public', | |
  3342. | | 'desc': 'None'} | |
  3343. | | | |
  3344. | flavors.delete | {'name': 'flavor', | Delete a specific |
  3345. | | 'desc': 'flavor: The ID | flavor. |
  3346. | | of the :class:`Flavor` | |
  3347. | | to get. :returns: An | |
  3348. | | instance of novaclient. | |
  3349. | | base.TupleWithMeta'} | |
  3350. | | | |
  3351. | flavors.find | | Find a single item with |
  3352. | | | attributes matching |
  3353. | | | ``**kwargs``. |
  3354. | flavors.findall | | Find all items with |
  3355. | | | attributes matching |
  3356. | | | ``**kwargs``. |
  3357. | flavors.get | {'name': 'flavor', | Get a specific flavor. |
  3358. | | 'desc': 'flavor: The ID | |
  3359. | | of the :class:`Flavor` | |
  3360. | | to get. :returns: | |
  3361. | | :class:`Flavor`'} | |
  3362. | | | |
  3363. | flavors.list | {'name': 'detailed', | Get a list of all |
  3364. | | 'desc': 'detailed: | flavors. |
  3365. | | Whether flavor needs to | |
  3366. | | be return with details | |
  3367. | | (optional).'}, | |
  3368. | | {'name': 'is_public', | |
  3369. | | 'desc': 'is_public: | |
  3370. | | Filter flavors with | |
  3371. | | provided access type | |
  3372. | | (optional). None means | |
  3373. | | give all flavors and | |
  3374. | | only admin has query | |
  3375. | | access to all flavor | |
  3376. | | types.'}, | |
  3377. | | {'name': 'marker', | |
  3378. | | 'desc': 'marker: Begin | |
  3379. | | returning flavors that | |
  3380. | | appear later in the | |
  3381. | | flavor list than that | |
  3382. | | represented by this | |
  3383. | | flavor id | |
  3384. | | (optional).'}, | |
  3385. | | {'name': 'min_disk', | |
  3386. | | 'desc': 'min_disk: | |
  3387. | | Filters the flavors by | |
  3388. | | a minimum disk space, | |
  3389. | | in GiB.'}, | |
  3390. | | {'name': 'min_ram', | |
  3391. | | 'desc': 'min_ram: | |
  3392. | | Filters the flavors by | |
  3393. | | a minimum RAM, in | |
  3394. | | MB.'}, | |
  3395. | | {'name': 'limit', | |
  3396. | | 'desc': 'limit: maximum | |
  3397. | | number of flavors to | |
  3398. | | return (optional).'}, | |
  3399. | | {'name': 'sort_key', | |
  3400. | | 'desc': 'sort_key: | |
  3401. | | Flavors list sort key | |
  3402. | | (optional).'}, | |
  3403. | | {'name': 'sort_dir', | |
  3404. | | 'desc': 'sort_dir: | |
  3405. | | Flavors list sort | |
  3406. | | direction (optional). | |
  3407. | | :returns: list of | |
  3408. | | :class:`Flavor`.'} | |
  3409. | | | |
  3410. | flavors.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  3411. | | 'cls: class that | specified type. |
  3412. | | registers hooks'}, | |
  3413. | | {'name': 'hook_type', | |
  3414. | | 'desc': "hook_type: | |
  3415. | | hook type, e.g., | |
  3416. | | '__pre_parse_args__'"} | |
  3417. | | | |
  3418. | flavors.write_to_comple | | |
  3419. | tion_cache | | |
  3420. | hosts.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  3421. | | 'cls: class that | specified type. |
  3422. | | registers hooks'}, | |
  3423. | | {'name': 'hook_type', | |
  3424. | | 'desc': "hook_type: | |
  3425. | | hook type, e.g., | |
  3426. | | '__pre_parse_args__'"}, | |
  3427. | | {'name': 'hook_func', | |
  3428. | | 'desc': 'hook_func: | |
  3429. | | hook function'} | |
  3430. | | | |
  3431. | hosts.alternate_service | | |
  3432. | _type | | |
  3433. | hosts.completion_cache | | The completion cache for |
  3434. | | | bash autocompletion. |
  3435. | | | The completion cache |
  3436. | | | store items that can be |
  3437. | | | used for bash |
  3438. | | | autocompletion, like |
  3439. | | | UUIDs or human-friendly |
  3440. | | | IDs. A resource listing |
  3441. | | | will clear and |
  3442. | | | repopulate the cache. A |
  3443. | | | resource create will |
  3444. | | | append to the cache. |
  3445. | | | Delete is not handled |
  3446. | | | because listings are |
  3447. | | | assumed to be performed |
  3448. | | | often enough to keep the |
  3449. | | | cache reasonably up-to- |
  3450. | | | date. |
  3451. | hosts.convert_into_with | | |
  3452. | _meta | | |
  3453. | hosts.find | | Find a single item with |
  3454. | | | attributes matching |
  3455. | | | ``**kwargs``. |
  3456. | hosts.findall | | Find all items with |
  3457. | | | attributes matching |
  3458. | | | ``**kwargs``. |
  3459. | hosts.get | {'name': 'obj', 'desc': | DEPRECATED Describes |
  3460. | | 'host: destination host | cpu/memory/hdd info for |
  3461. | | name.'} | host. |
  3462. | | | |
  3463. | hosts.host_action | {'name': 'obj', 'desc': | DEPRECATED Perform an |
  3464. | | 'host: The host to | action on a host. |
  3465. | | perform an action'} | |
  3466. | | | |
  3467. | hosts.list | | |
  3468. | | | |
  3469. | hosts.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  3470. | | 'cls: class that | specified type. |
  3471. | | registers hooks'}, | |
  3472. | | {'name': 'hook_type', | |
  3473. | | 'desc': "hook_type: | |
  3474. | | hook type, e.g., | |
  3475. | | '__pre_parse_args__'"} | |
  3476. | | | |
  3477. | hosts.update | {'name': 'obj', 'desc': | DEPRECATED Update status |
  3478. | | 'None'} | or maintenance mode for |
  3479. | | | the host. |
  3480. | hosts.write_to_completi | | |
  3481. | on_cache | | |
  3482. | hypervisors.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  3483. | | 'cls: class that | specified type. |
  3484. | | registers hooks'}, | |
  3485. | | {'name': 'hook_type', | |
  3486. | | 'desc': "hook_type: | |
  3487. | | hook type, e.g., | |
  3488. | | '__pre_parse_args__'"}, | |
  3489. | | {'name': 'hook_func', | |
  3490. | | 'desc': 'hook_func: | |
  3491. | | hook function'} | |
  3492. | | | |
  3493. | hypervisors.alternate_s | | |
  3494. | ervice_type | | |
  3495. | hypervisors.completion_ | | The completion cache for |
  3496. | cache | | bash autocompletion. |
  3497. | | | The completion cache |
  3498. | | | store items that can be |
  3499. | | | used for bash |
  3500. | | | autocompletion, like |
  3501. | | | UUIDs or human-friendly |
  3502. | | | IDs. A resource listing |
  3503. | | | will clear and |
  3504. | | | repopulate the cache. A |
  3505. | | | resource create will |
  3506. | | | append to the cache. |
  3507. | | | Delete is not handled |
  3508. | | | because listings are |
  3509. | | | assumed to be performed |
  3510. | | | often enough to keep the |
  3511. | | | cache reasonably up-to- |
  3512. | | | date. |
  3513. | hypervisors.convert_int | | |
  3514. | o_with_meta | | |
  3515. | hypervisors.find | | Find a single item with |
  3516. | | | attributes matching |
  3517. | | | ``**kwargs``. |
  3518. | hypervisors.findall | | Find all items with |
  3519. | | | attributes matching |
  3520. | | | ``**kwargs``. |
  3521. | hypervisors.get | {'name': 'hypervisor', | Get a specific |
  3522. | | 'desc': 'None'} | hypervisor. |
  3523. | | | |
  3524. | hypervisors.list | {'name': 'obj', 'desc': | Get a list of |
  3525. | | 'marker: Begin | hypervisors. |
  3526. | | returning hypervisor | |
  3527. | | that appear later in | |
  3528. | | the keypair list than | |
  3529. | | that represented by | |
  3530. | | this keypair name | |
  3531. | | (optional).'} | |
  3532. | | | |
  3533. | hypervisors.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  3534. | | 'cls: class that | specified type. |
  3535. | | registers hooks'}, | |
  3536. | | {'name': 'hook_type', | |
  3537. | | 'desc': "hook_type: | |
  3538. | | hook type, e.g., | |
  3539. | | '__pre_parse_args__'"} | |
  3540. | | | |
  3541. | hypervisors.search | {'name': | Get a list of matching |
  3542. | | 'hypervisor_match', | hypervisors. |
  3543. | | 'desc': 'servers: If | |
  3544. | | True, server | |
  3545. | | information is also | |
  3546. | | retrieved.'}, | |
  3547. | | {'name': 'servers', | |
  3548. | | 'desc': 'None'} | |
  3549. | | | |
  3550. | hypervisors.statistics | | Get hypervisor |
  3551. | | | statistics over all |
  3552. | | | compute nodes. Kept for |
  3553. | | | backwards compatibility, |
  3554. | | | new code should call hyp |
  3555. | | | ervisor_stats.statistics |
  3556. | | | () instead of |
  3557. | | | hypervisors.statistics() |
  3558. | hypervisors.uptime | {'name': 'hypervisor', | Get the uptime for a |
  3559. | | 'desc': 'None'} | specific hypervisor. |
  3560. | | | |
  3561. | hypervisors.write_to_co | | |
  3562. | mpletion_cache | | |
  3563. | images.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  3564. | | 'cls: class that | specified type. |
  3565. | | registers hooks'}, | |
  3566. | | {'name': 'hook_type', | |
  3567. | | 'desc': "hook_type: | |
  3568. | | hook type, e.g., | |
  3569. | | '__pre_parse_args__'"}, | |
  3570. | | {'name': 'hook_func', | |
  3571. | | 'desc': 'hook_func: | |
  3572. | | hook function'} | |
  3573. | | | |
  3574. | images.alternate_servic | | |
  3575. | e_type | | |
  3576. | images.completion_cache | | The completion cache for |
  3577. | | | bash autocompletion. |
  3578. | | | The completion cache |
  3579. | | | store items that can be |
  3580. | | | used for bash |
  3581. | | | autocompletion, like |
  3582. | | | UUIDs or human-friendly |
  3583. | | | IDs. A resource listing |
  3584. | | | will clear and |
  3585. | | | repopulate the cache. A |
  3586. | | | resource create will |
  3587. | | | append to the cache. |
  3588. | | | Delete is not handled |
  3589. | | | because listings are |
  3590. | | | assumed to be performed |
  3591. | | | often enough to keep the |
  3592. | | | cache reasonably up-to- |
  3593. | | | date. |
  3594. | images.convert_into_wit | | |
  3595. | h_meta | | |
  3596. | images.find_image | {'name': 'name_or_id', | Find an image by name or |
  3597. | | 'desc': 'None'} | id (user provided |
  3598. | | | input). |
  3599. | images.list | | Get a detailed list of |
  3600. | | | all images. :rtype: |
  3601. | | | list of :class:`Image` |
  3602. | images.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  3603. | | 'cls: class that | specified type. |
  3604. | | registers hooks'}, | |
  3605. | | {'name': 'hook_type', | |
  3606. | | 'desc': "hook_type: | |
  3607. | | hook type, e.g., | |
  3608. | | '__pre_parse_args__'"} | |
  3609. | | | |
  3610. | images.write_to_complet | | |
  3611. | ion_cache | | |
  3612. | instance_action.add_hoo | {'name': 'cls', 'desc': | Add a new hook of |
  3613. | k | 'cls: class that | specified type. |
  3614. | | registers hooks'}, | |
  3615. | | {'name': 'hook_type', | |
  3616. | | 'desc': "hook_type: | |
  3617. | | hook type, e.g., | |
  3618. | | '__pre_parse_args__'"}, | |
  3619. | | {'name': 'hook_func', | |
  3620. | | 'desc': 'hook_func: | |
  3621. | | hook function'} | |
  3622. | | | |
  3623. | instance_action.alterna | | |
  3624. | te_service_type | | |
  3625. | instance_action.complet | | The completion cache for |
  3626. | ion_cache | | bash autocompletion. |
  3627. | | | The completion cache |
  3628. | | | store items that can be |
  3629. | | | used for bash |
  3630. | | | autocompletion, like |
  3631. | | | UUIDs or human-friendly |
  3632. | | | IDs. A resource listing |
  3633. | | | will clear and |
  3634. | | | repopulate the cache. A |
  3635. | | | resource create will |
  3636. | | | append to the cache. |
  3637. | | | Delete is not handled |
  3638. | | | because listings are |
  3639. | | | assumed to be performed |
  3640. | | | often enough to keep the |
  3641. | | | cache reasonably up-to- |
  3642. | | | date. |
  3643. | instance_action.convert | | |
  3644. | _into_with_meta | | |
  3645. | instance_action.find | | Find a single item with |
  3646. | | | attributes matching |
  3647. | | | ``**kwargs``. |
  3648. | instance_action.findall | | Find all items with |
  3649. | | | attributes matching |
  3650. | | | ``**kwargs``. |
  3651. | instance_action.get | {'name': 'server', | Get details of an action |
  3652. | | 'desc': 'request_id: | performed on an |
  3653. | | The request_id of the | instance. |
  3654. | | action to get.'}, | |
  3655. | | {'name': 'request_id', | |
  3656. | | 'desc': 'None'} | |
  3657. | | | |
  3658. | instance_action.list | {'name': 'server', | Get a list of actions |
  3659. | | 'desc': 'None'} | performed on a server. |
  3660. | | | |
  3661. | instance_action.run_hoo | {'name': 'cls', 'desc': | Run all hooks of |
  3662. | ks | 'cls: class that | specified type. |
  3663. | | registers hooks'}, | |
  3664. | | {'name': 'hook_type', | |
  3665. | | 'desc': "hook_type: | |
  3666. | | hook type, e.g., | |
  3667. | | '__pre_parse_args__'"} | |
  3668. | | | |
  3669. | instance_action.write_t | | |
  3670. | o_completion_cache | | |
  3671. | keypairs.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  3672. | | 'cls: class that | specified type. |
  3673. | | registers hooks'}, | |
  3674. | | {'name': 'hook_type', | |
  3675. | | 'desc': "hook_type: | |
  3676. | | hook type, e.g., | |
  3677. | | '__pre_parse_args__'"}, | |
  3678. | | {'name': 'hook_func', | |
  3679. | | 'desc': 'hook_func: | |
  3680. | | hook function'} | |
  3681. | | | |
  3682. | keypairs.alternate_serv | | |
  3683. | ice_type | | |
  3684. | keypairs.completion_cac | | The completion cache for |
  3685. | he | | bash autocompletion. |
  3686. | | | The completion cache |
  3687. | | | store items that can be |
  3688. | | | used for bash |
  3689. | | | autocompletion, like |
  3690. | | | UUIDs or human-friendly |
  3691. | | | IDs. A resource listing |
  3692. | | | will clear and |
  3693. | | | repopulate the cache. A |
  3694. | | | resource create will |
  3695. | | | append to the cache. |
  3696. | | | Delete is not handled |
  3697. | | | because listings are |
  3698. | | | assumed to be performed |
  3699. | | | often enough to keep the |
  3700. | | | cache reasonably up-to- |
  3701. | | | date. |
  3702. | keypairs.convert_into_w | | |
  3703. | ith_meta | | |
  3704. | keypairs.create | {'name': 'obj', 'desc': | Create a keypair |
  3705. | | 'name: name for the | |
  3706. | | keypair to create'} | |
  3707. | | | |
  3708. | keypairs.delete | {'name': 'obj', 'desc': | Delete a keypair |
  3709. | | 'key: The | |
  3710. | | :class:`Keypair` (or | |
  3711. | | its ID) to delete.'} | |
  3712. | | | |
  3713. | keypairs.find | | Find a single item with |
  3714. | | | attributes matching |
  3715. | | | ``**kwargs``. |
  3716. | keypairs.findall | | Find all items with |
  3717. | | | attributes matching |
  3718. | | | ``**kwargs``. |
  3719. | keypairs.get | {'name': 'obj', 'desc': | Get a keypair. |
  3720. | | 'keypair: The ID of the | |
  3721. | | keypair to get.'} | |
  3722. | | | |
  3723. | keypairs.list | {'name': 'obj', 'desc': | Get a list of keypairs. |
  3724. | | 'user_id: Id of key- | |
  3725. | | pairs owner (Admin | |
  3726. | | only).'} | |
  3727. | | | |
  3728. | keypairs.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  3729. | | 'cls: class that | specified type. |
  3730. | | registers hooks'}, | |
  3731. | | {'name': 'hook_type', | |
  3732. | | 'desc': "hook_type: | |
  3733. | | hook type, e.g., | |
  3734. | | '__pre_parse_args__'"} | |
  3735. | | | |
  3736. | keypairs.write_to_compl | | |
  3737. | etion_cache | | |
  3738. | limits.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  3739. | | 'cls: class that | specified type. |
  3740. | | registers hooks'}, | |
  3741. | | {'name': 'hook_type', | |
  3742. | | 'desc': "hook_type: | |
  3743. | | hook type, e.g., | |
  3744. | | '__pre_parse_args__'"}, | |
  3745. | | {'name': 'hook_func', | |
  3746. | | 'desc': 'hook_func: | |
  3747. | | hook function'} | |
  3748. | | | |
  3749. | limits.alternate_servic | | |
  3750. | e_type | | |
  3751. | limits.completion_cache | | The completion cache for |
  3752. | | | bash autocompletion. |
  3753. | | | The completion cache |
  3754. | | | store items that can be |
  3755. | | | used for bash |
  3756. | | | autocompletion, like |
  3757. | | | UUIDs or human-friendly |
  3758. | | | IDs. A resource listing |
  3759. | | | will clear and |
  3760. | | | repopulate the cache. A |
  3761. | | | resource create will |
  3762. | | | append to the cache. |
  3763. | | | Delete is not handled |
  3764. | | | because listings are |
  3765. | | | assumed to be performed |
  3766. | | | often enough to keep the |
  3767. | | | cache reasonably up-to- |
  3768. | | | date. |
  3769. | limits.convert_into_wit | | |
  3770. | h_meta | | |
  3771. | limits.get | {'name': 'reserved', | Get a specific |
  3772. | | 'desc': 'None'}, | extension. :rtype: |
  3773. | | {'name': 'tenant_id', | :class:`Limits` |
  3774. | | 'desc': 'None'} | |
  3775. | | | |
  3776. | limits.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  3777. | | 'cls: class that | specified type. |
  3778. | | registers hooks'}, | |
  3779. | | {'name': 'hook_type', | |
  3780. | | 'desc': "hook_type: | |
  3781. | | hook type, e.g., | |
  3782. | | '__pre_parse_args__'"} | |
  3783. | | | |
  3784. | limits.write_to_complet | | |
  3785. | ion_cache | | |
  3786. | list_extensions.add_hoo | {'name': 'cls', 'desc': | Add a new hook of |
  3787. | k | 'cls: class that | specified type. |
  3788. | | registers hooks'}, | |
  3789. | | {'name': 'hook_type', | |
  3790. | | 'desc': "hook_type: | |
  3791. | | hook type, e.g., | |
  3792. | | '__pre_parse_args__'"}, | |
  3793. | | {'name': 'hook_func', | |
  3794. | | 'desc': 'hook_func: | |
  3795. | | hook function'} | |
  3796. | | | |
  3797. | list_extensions.alterna | | |
  3798. | te_service_type | | |
  3799. | list_extensions.complet | | The completion cache for |
  3800. | ion_cache | | bash autocompletion. |
  3801. | | | The completion cache |
  3802. | | | store items that can be |
  3803. | | | used for bash |
  3804. | | | autocompletion, like |
  3805. | | | UUIDs or human-friendly |
  3806. | | | IDs. A resource listing |
  3807. | | | will clear and |
  3808. | | | repopulate the cache. A |
  3809. | | | resource create will |
  3810. | | | append to the cache. |
  3811. | | | Delete is not handled |
  3812. | | | because listings are |
  3813. | | | assumed to be performed |
  3814. | | | often enough to keep the |
  3815. | | | cache reasonably up-to- |
  3816. | | | date. |
  3817. | list_extensions.convert | | |
  3818. | _into_with_meta | | |
  3819. | list_extensions.run_hoo | {'name': 'cls', 'desc': | Run all hooks of |
  3820. | ks | 'cls: class that | specified type. |
  3821. | | registers hooks'}, | |
  3822. | | {'name': 'hook_type', | |
  3823. | | 'desc': "hook_type: | |
  3824. | | hook type, e.g., | |
  3825. | | '__pre_parse_args__'"} | |
  3826. | | | |
  3827. | list_extensions.show_al | | |
  3828. | l | | |
  3829. | list_extensions.write_t | | |
  3830. | o_completion_cache | | |
  3831. | migrations.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  3832. | | 'cls: class that | specified type. |
  3833. | | registers hooks'}, | |
  3834. | | {'name': 'hook_type', | |
  3835. | | 'desc': "hook_type: | |
  3836. | | hook type, e.g., | |
  3837. | | '__pre_parse_args__'"}, | |
  3838. | | {'name': 'hook_func', | |
  3839. | | 'desc': 'hook_func: | |
  3840. | | hook function'} | |
  3841. | | | |
  3842. | migrations.alternate_se | | |
  3843. | rvice_type | | |
  3844. | migrations.completion_c | | The completion cache for |
  3845. | ache | | bash autocompletion. |
  3846. | | | The completion cache |
  3847. | | | store items that can be |
  3848. | | | used for bash |
  3849. | | | autocompletion, like |
  3850. | | | UUIDs or human-friendly |
  3851. | | | IDs. A resource listing |
  3852. | | | will clear and |
  3853. | | | repopulate the cache. A |
  3854. | | | resource create will |
  3855. | | | append to the cache. |
  3856. | | | Delete is not handled |
  3857. | | | because listings are |
  3858. | | | assumed to be performed |
  3859. | | | often enough to keep the |
  3860. | | | cache reasonably up-to- |
  3861. | | | date. |
  3862. | migrations.convert_into | | |
  3863. | _with_meta | | |
  3864. | migrations.find | | Find a single item with |
  3865. | | | attributes matching |
  3866. | | | ``**kwargs``. |
  3867. | migrations.findall | | Find all items with |
  3868. | | | attributes matching |
  3869. | | | ``**kwargs``. |
  3870. | migrations.list | {'name': 'host', | Get a list of |
  3871. | | 'desc': 'host: | migrations. |
  3872. | | (optional) filter | |
  3873. | | migrations by host | |
  3874. | | name.'}, | |
  3875. | | {'name': 'status', | |
  3876. | | 'desc': 'status: | |
  3877. | | (optional) filter | |
  3878. | | migrations by | |
  3879. | | status.'}, | |
  3880. | | {'name': 'cell_name', | |
  3881. | | 'desc': 'cell_name: | |
  3882. | | (optional) filter | |
  3883. | | migrations for a | |
  3884. | | cell.'}, | |
  3885. | | {'name': | |
  3886. | | 'instance_uuid', | |
  3887. | | 'desc': 'None'} | |
  3888. | | | |
  3889. | migrations.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  3890. | | 'cls: class that | specified type. |
  3891. | | registers hooks'}, | |
  3892. | | {'name': 'hook_type', | |
  3893. | | 'desc': "hook_type: | |
  3894. | | hook type, e.g., | |
  3895. | | '__pre_parse_args__'"} | |
  3896. | | | |
  3897. | migrations.write_to_com | | |
  3898. | pletion_cache | | |
  3899. | networks.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  3900. | | 'cls: class that | specified type. |
  3901. | | registers hooks'}, | |
  3902. | | {'name': 'hook_type', | |
  3903. | | 'desc': "hook_type: | |
  3904. | | hook type, e.g., | |
  3905. | | '__pre_parse_args__'"}, | |
  3906. | | {'name': 'hook_func', | |
  3907. | | 'desc': 'hook_func: | |
  3908. | | hook function'} | |
  3909. | | | |
  3910. | networks.alternate_serv | | |
  3911. | ice_type | | |
  3912. | networks.completion_cac | | The completion cache for |
  3913. | he | | bash autocompletion. |
  3914. | | | The completion cache |
  3915. | | | store items that can be |
  3916. | | | used for bash |
  3917. | | | autocompletion, like |
  3918. | | | UUIDs or human-friendly |
  3919. | | | IDs. A resource listing |
  3920. | | | will clear and |
  3921. | | | repopulate the cache. A |
  3922. | | | resource create will |
  3923. | | | append to the cache. |
  3924. | | | Delete is not handled |
  3925. | | | because listings are |
  3926. | | | assumed to be performed |
  3927. | | | often enough to keep the |
  3928. | | | cache reasonably up-to- |
  3929. | | | date. |
  3930. | networks.convert_into_w | | |
  3931. | ith_meta | | |
  3932. | networks.find_network | {'name': 'name', | Find a network by name |
  3933. | | 'desc': 'None'} | (user provided input). |
  3934. | | | |
  3935. | networks.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  3936. | | 'cls: class that | specified type. |
  3937. | | registers hooks'}, | |
  3938. | | {'name': 'hook_type', | |
  3939. | | 'desc': "hook_type: | |
  3940. | | hook type, e.g., | |
  3941. | | '__pre_parse_args__'"} | |
  3942. | | | |
  3943. | networks.write_to_compl | | |
  3944. | etion_cache | | |
  3945. | quota_classes.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  3946. | | 'cls: class that | specified type. |
  3947. | | registers hooks'}, | |
  3948. | | {'name': 'hook_type', | |
  3949. | | 'desc': "hook_type: | |
  3950. | | hook type, e.g., | |
  3951. | | '__pre_parse_args__'"}, | |
  3952. | | {'name': 'hook_func', | |
  3953. | | 'desc': 'hook_func: | |
  3954. | | hook function'} | |
  3955. | | | |
  3956. | quota_classes.alternate | | |
  3957. | _service_type | | |
  3958. | quota_classes.completio | | The completion cache for |
  3959. | n_cache | | bash autocompletion. |
  3960. | | | The completion cache |
  3961. | | | store items that can be |
  3962. | | | used for bash |
  3963. | | | autocompletion, like |
  3964. | | | UUIDs or human-friendly |
  3965. | | | IDs. A resource listing |
  3966. | | | will clear and |
  3967. | | | repopulate the cache. A |
  3968. | | | resource create will |
  3969. | | | append to the cache. |
  3970. | | | Delete is not handled |
  3971. | | | because listings are |
  3972. | | | assumed to be performed |
  3973. | | | often enough to keep the |
  3974. | | | cache reasonably up-to- |
  3975. | | | date. |
  3976. | quota_classes.convert_i | | |
  3977. | nto_with_meta | | |
  3978. | quota_classes.get | | |
  3979. | | | |
  3980. | quota_classes.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  3981. | | 'cls: class that | specified type. |
  3982. | | registers hooks'}, | |
  3983. | | {'name': 'hook_type', | |
  3984. | | 'desc': "hook_type: | |
  3985. | | hook type, e.g., | |
  3986. | | '__pre_parse_args__'"} | |
  3987. | | | |
  3988. | quota_classes.update | | |
  3989. | | | |
  3990. | quota_classes.write_to_ | | |
  3991. | completion_cache | | |
  3992. | quotas.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  3993. | | 'cls: class that | specified type. |
  3994. | | registers hooks'}, | |
  3995. | | {'name': 'hook_type', | |
  3996. | | 'desc': "hook_type: | |
  3997. | | hook type, e.g., | |
  3998. | | '__pre_parse_args__'"}, | |
  3999. | | {'name': 'hook_func', | |
  4000. | | 'desc': 'hook_func: | |
  4001. | | hook function'} | |
  4002. | | | |
  4003. | quotas.alternate_servic | | |
  4004. | e_type | | |
  4005. | quotas.completion_cache | | The completion cache for |
  4006. | | | bash autocompletion. |
  4007. | | | The completion cache |
  4008. | | | store items that can be |
  4009. | | | used for bash |
  4010. | | | autocompletion, like |
  4011. | | | UUIDs or human-friendly |
  4012. | | | IDs. A resource listing |
  4013. | | | will clear and |
  4014. | | | repopulate the cache. A |
  4015. | | | resource create will |
  4016. | | | append to the cache. |
  4017. | | | Delete is not handled |
  4018. | | | because listings are |
  4019. | | | assumed to be performed |
  4020. | | | often enough to keep the |
  4021. | | | cache reasonably up-to- |
  4022. | | | date. |
  4023. | quotas.convert_into_wit | | |
  4024. | h_meta | | |
  4025. | quotas.defaults | | |
  4026. | | | |
  4027. | quotas.delete | {'name': 'tenant_id', | Delete quota for a |
  4028. | | 'desc': 'tenant_id: A | tenant or for a user. |
  4029. | | tenant for which quota | |
  4030. | | is to be deleted'}, | |
  4031. | | {'name': 'user_id', | |
  4032. | | 'desc': 'user_id: A | |
  4033. | | user for which quota is | |
  4034. | | to be deleted :returns: | |
  4035. | | An instance of novaclie | |
  4036. | | nt.base.TupleWithMeta'} | |
  4037. | | | |
  4038. | quotas.get | | |
  4039. | | | |
  4040. | quotas.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  4041. | | 'cls: class that | specified type. |
  4042. | | registers hooks'}, | |
  4043. | | {'name': 'hook_type', | |
  4044. | | 'desc': "hook_type: | |
  4045. | | hook type, e.g., | |
  4046. | | '__pre_parse_args__'"} | |
  4047. | | | |
  4048. | quotas.update | | |
  4049. | | | |
  4050. | quotas.write_to_complet | | |
  4051. | ion_cache | | |
  4052. | server_external_events. | {'name': 'cls', 'desc': | Add a new hook of |
  4053. | add_hook | 'cls: class that | specified type. |
  4054. | | registers hooks'}, | |
  4055. | | {'name': 'hook_type', | |
  4056. | | 'desc': "hook_type: | |
  4057. | | hook type, e.g., | |
  4058. | | '__pre_parse_args__'"}, | |
  4059. | | {'name': 'hook_func', | |
  4060. | | 'desc': 'hook_func: | |
  4061. | | hook function'} | |
  4062. | | | |
  4063. | server_external_events. | | |
  4064. | alternate_service_type | | |
  4065. | server_external_events. | | The completion cache for |
  4066. | completion_cache | | bash autocompletion. |
  4067. | | | The completion cache |
  4068. | | | store items that can be |
  4069. | | | used for bash |
  4070. | | | autocompletion, like |
  4071. | | | UUIDs or human-friendly |
  4072. | | | IDs. A resource listing |
  4073. | | | will clear and |
  4074. | | | repopulate the cache. A |
  4075. | | | resource create will |
  4076. | | | append to the cache. |
  4077. | | | Delete is not handled |
  4078. | | | because listings are |
  4079. | | | assumed to be performed |
  4080. | | | often enough to keep the |
  4081. | | | cache reasonably up-to- |
  4082. | | | date. |
  4083. | server_external_events. | | |
  4084. | convert_into_with_meta | | |
  4085. | server_external_events. | {'name': 'events', | Create one or more |
  4086. | create | 'desc': 'None'} | server events. |
  4087. | | | :param:events: A list of |
  4088. | | | dictionaries containing |
  4089. | | | 'server_uuid', 'name', |
  4090. | | | 'status', and 'tag' |
  4091. | | | (which may be absent) |
  4092. | server_external_events. | {'name': 'cls', 'desc': | Run all hooks of |
  4093. | run_hooks | 'cls: class that | specified type. |
  4094. | | registers hooks'}, | |
  4095. | | {'name': 'hook_type', | |
  4096. | | 'desc': "hook_type: | |
  4097. | | hook type, e.g., | |
  4098. | | '__pre_parse_args__'"} | |
  4099. | | | |
  4100. | server_external_events. | | |
  4101. | write_to_completion_cac | | |
  4102. | he | | |
  4103. | server_groups.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  4104. | | 'cls: class that | specified type. |
  4105. | | registers hooks'}, | |
  4106. | | {'name': 'hook_type', | |
  4107. | | 'desc': "hook_type: | |
  4108. | | hook type, e.g., | |
  4109. | | '__pre_parse_args__'"}, | |
  4110. | | {'name': 'hook_func', | |
  4111. | | 'desc': 'hook_func: | |
  4112. | | hook function'} | |
  4113. | | | |
  4114. | server_groups.alternate | | |
  4115. | _service_type | | |
  4116. | server_groups.completio | | The completion cache for |
  4117. | n_cache | | bash autocompletion. |
  4118. | | | The completion cache |
  4119. | | | store items that can be |
  4120. | | | used for bash |
  4121. | | | autocompletion, like |
  4122. | | | UUIDs or human-friendly |
  4123. | | | IDs. A resource listing |
  4124. | | | will clear and |
  4125. | | | repopulate the cache. A |
  4126. | | | resource create will |
  4127. | | | append to the cache. |
  4128. | | | Delete is not handled |
  4129. | | | because listings are |
  4130. | | | assumed to be performed |
  4131. | | | often enough to keep the |
  4132. | | | cache reasonably up-to- |
  4133. | | | date. |
  4134. | server_groups.convert_i | | |
  4135. | nto_with_meta | | |
  4136. | server_groups.create | {'name': 'name', | Create (allocate) a |
  4137. | | 'desc': 'name: The name | server group. |
  4138. | | of the server group.'}, | |
  4139. | | {'name': 'policies', | |
  4140. | | 'desc': 'policies: | |
  4141. | | Policy name or a list | |
  4142. | | of exactly one policy | |
  4143. | | name to associate with | |
  4144. | | the server group. | |
  4145. | | :rtype: list of | |
  4146. | | :class:`ServerGroup`'} | |
  4147. | | | |
  4148. | server_groups.delete | {'name': 'id', 'desc': | Delete a specific server |
  4149. | | 'id: The ID of the | group. |
  4150. | | :class:`ServerGroup` to | |
  4151. | | delete. :returns: An | |
  4152. | | instance of novaclient. | |
  4153. | | base.TupleWithMeta'} | |
  4154. | | | |
  4155. | server_groups.find | | Find a single item with |
  4156. | | | attributes matching |
  4157. | | | ``**kwargs``. |
  4158. | server_groups.findall | | Find all items with |
  4159. | | | attributes matching |
  4160. | | | ``**kwargs``. |
  4161. | server_groups.get | {'name': 'id', 'desc': | Get a specific server |
  4162. | | 'id: The ID of the | group. |
  4163. | | :class:`ServerGroup` to | |
  4164. | | get. :rtype: | |
  4165. | | :class:`ServerGroup`'} | |
  4166. | | | |
  4167. | server_groups.list | {'name': | Get a list of all server |
  4168. | | 'all_projects', 'desc': | groups. |
  4169. | | 'all_projects: Lists | |
  4170. | | server groups for all | |
  4171. | | projects. (optional)'}, | |
  4172. | | {'name': 'limit', | |
  4173. | | 'desc': 'limit: Maximum | |
  4174. | | number of server groups | |
  4175. | | to return. | |
  4176. | | (optional)'}, | |
  4177. | | {'name': 'offset', | |
  4178. | | 'desc': 'offset: Use | |
  4179. | | with `limit` to return | |
  4180. | | a slice of server | |
  4181. | | groups. `offset` is | |
  4182. | | where to start in the | |
  4183. | | groups list. | |
  4184. | | (optional) :returns: | |
  4185. | | list of | |
  4186. | | :class:`ServerGroup`.'} | |
  4187. | | | |
  4188. | server_groups.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  4189. | | 'cls: class that | specified type. |
  4190. | | registers hooks'}, | |
  4191. | | {'name': 'hook_type', | |
  4192. | | 'desc': "hook_type: | |
  4193. | | hook type, e.g., | |
  4194. | | '__pre_parse_args__'"} | |
  4195. | | | |
  4196. | server_groups.write_to_ | | |
  4197. | completion_cache | | |
  4198. | server_migrations.add_h | {'name': 'cls', 'desc': | Add a new hook of |
  4199. | ook | 'cls: class that | specified type. |
  4200. | | registers hooks'}, | |
  4201. | | {'name': 'hook_type', | |
  4202. | | 'desc': "hook_type: | |
  4203. | | hook type, e.g., | |
  4204. | | '__pre_parse_args__'"}, | |
  4205. | | {'name': 'hook_func', | |
  4206. | | 'desc': 'hook_func: | |
  4207. | | hook function'} | |
  4208. | | | |
  4209. | server_migrations.alter | | |
  4210. | nate_service_type | | |
  4211. | server_migrations.compl | | The completion cache for |
  4212. | etion_cache | | bash autocompletion. |
  4213. | | | The completion cache |
  4214. | | | store items that can be |
  4215. | | | used for bash |
  4216. | | | autocompletion, like |
  4217. | | | UUIDs or human-friendly |
  4218. | | | IDs. A resource listing |
  4219. | | | will clear and |
  4220. | | | repopulate the cache. A |
  4221. | | | resource create will |
  4222. | | | append to the cache. |
  4223. | | | Delete is not handled |
  4224. | | | because listings are |
  4225. | | | assumed to be performed |
  4226. | | | often enough to keep the |
  4227. | | | cache reasonably up-to- |
  4228. | | | date. |
  4229. | server_migrations.conve | | |
  4230. | rt_into_with_meta | | |
  4231. | server_migrations.find | | Find a single item with |
  4232. | | | attributes matching |
  4233. | | | ``**kwargs``. |
  4234. | server_migrations.finda | | Find all items with |
  4235. | ll | | attributes matching |
  4236. | | | ``**kwargs``. |
  4237. | server_migrations.get | {'name': 'obj', 'desc': | Get a migration of a |
  4238. | | 'server: The | specified server |
  4239. | | :class:`Server` (or its | |
  4240. | | ID)'} | |
  4241. | | | |
  4242. | server_migrations.list | {'name': 'obj', 'desc': | Get a migrations list of |
  4243. | | 'server: The | a specified server |
  4244. | | :class:`Server` (or its | |
  4245. | | ID) :returns: An | |
  4246. | | instance of novaclient. | |
  4247. | | base.ListWithMeta'} | |
  4248. | | | |
  4249. | server_migrations.live_ | {'name': 'obj', 'desc': | Force on-going live |
  4250. | migrate_force_complete | 'server: The | migration to complete |
  4251. | | :class:`Server` (or its | |
  4252. | | ID)'} | |
  4253. | | | |
  4254. | server_migrations.live_ | {'name': 'obj', 'desc': | Cancel an ongoing live |
  4255. | migration_abort | 'server: The | migration |
  4256. | | :class:`Server` (or its | |
  4257. | | ID)'} | |
  4258. | | | |
  4259. | server_migrations.run_h | {'name': 'cls', 'desc': | Run all hooks of |
  4260. | ooks | 'cls: class that | specified type. |
  4261. | | registers hooks'}, | |
  4262. | | {'name': 'hook_type', | |
  4263. | | 'desc': "hook_type: | |
  4264. | | hook type, e.g., | |
  4265. | | '__pre_parse_args__'"} | |
  4266. | | | |
  4267. | server_migrations.write | | |
  4268. | _to_completion_cache | | |
  4269. | servers.add_fixed_ip | {'name': 'obj', 'desc': | DEPRECATED Add an IP |
  4270. | | 'server: The | address on a network. |
  4271. | | :class:`Server` (or its | |
  4272. | | ID) to add an IP to.'} | |
  4273. | | | |
  4274. | servers.add_floating_ip | {'name': 'obj', 'desc': | DEPRECATED Add a |
  4275. | | 'server: The | floating IP to an |
  4276. | | :class:`Server` (or its | instance |
  4277. | | ID) to add an IP to.'} | |
  4278. | | | |
  4279. | servers.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  4280. | | 'cls: class that | specified type. |
  4281. | | registers hooks'}, | |
  4282. | | {'name': 'hook_type', | |
  4283. | | 'desc': "hook_type: | |
  4284. | | hook type, e.g., | |
  4285. | | '__pre_parse_args__'"}, | |
  4286. | | {'name': 'hook_func', | |
  4287. | | 'desc': 'hook_func: | |
  4288. | | hook function'} | |
  4289. | | | |
  4290. | servers.add_security_gr | {'name': 'server', | Add a Security Group to |
  4291. | oup | 'desc': 'server: ID of | an instance |
  4292. | | the instance.'}, | |
  4293. | | {'name': | |
  4294. | | 'security_group', | |
  4295. | | 'desc': | |
  4296. | | 'security_group: The | |
  4297. | | name of security group | |
  4298. | | to add. :returns: An | |
  4299. | | instance of novaclient. | |
  4300. | | base.DictWithMeta'} | |
  4301. | | | |
  4302. | servers.add_tag | {'name': 'obj', 'desc': | Add single tag to an |
  4303. | | 'None'} | instance. |
  4304. | | | |
  4305. | servers.alternate_servi | | |
  4306. | ce_type | | |
  4307. | servers.backup | {'name': 'server', | Backup a server |
  4308. | | 'desc': 'server: The | instance. |
  4309. | | :class:`Server` (or its | |
  4310. | | ID) to share onto.'}, | |
  4311. | | {'name': 'backup_name', | |
  4312. | | 'desc': 'backup_name: | |
  4313. | | Name of the backup | |
  4314. | | image'}, | |
  4315. | | {'name': 'backup_type', | |
  4316. | | 'desc': "backup_type: | |
  4317. | | The backup type, like | |
  4318. | | 'daily' or 'weekly'"}, | |
  4319. | | {'name': 'rotation', | |
  4320. | | 'desc': 'rotation: Int | |
  4321. | | parameter representing | |
  4322. | | how many backups to | |
  4323. | | keep around. :returns: | |
  4324. | | An instance of novaclie | |
  4325. | | nt.base.TupleWithMeta | |
  4326. | | if the request | |
  4327. | | microversion is < 2.45, | |
  4328. | | otherwise novaclient.ba | |
  4329. | | se.DictWithMeta.'} | |
  4330. | | | |
  4331. | servers.change_password | {'name': 'server', | Update the password for |
  4332. | | 'desc': 'server: The | a server. |
  4333. | | :class:`Server` (or its | |
  4334. | | ID) for which the admin | |
  4335. | | password is to be | |
  4336. | | changed :returns: An | |
  4337. | | instance of novaclient. | |
  4338. | | base.TupleWithMeta'}, | |
  4339. | | {'name': 'password', | |
  4340. | | 'desc': 'None'} | |
  4341. | | | |
  4342. | servers.clear_password | {'name': 'server', | Clear the admin password |
  4343. | | 'desc': 'server: The | of an instance Remove |
  4344. | | :class:`Server` (or its | the admin password for |
  4345. | | ID) for which the admin | an instance from the |
  4346. | | password is to be | metadata server. |
  4347. | | cleared'} | |
  4348. | | | |
  4349. | servers.completion_cach | | The completion cache for |
  4350. | e | | bash autocompletion. |
  4351. | | | The completion cache |
  4352. | | | store items that can be |
  4353. | | | used for bash |
  4354. | | | autocompletion, like |
  4355. | | | UUIDs or human-friendly |
  4356. | | | IDs. A resource listing |
  4357. | | | will clear and |
  4358. | | | repopulate the cache. A |
  4359. | | | resource create will |
  4360. | | | append to the cache. |
  4361. | | | Delete is not handled |
  4362. | | | because listings are |
  4363. | | | assumed to be performed |
  4364. | | | often enough to keep the |
  4365. | | | cache reasonably up-to- |
  4366. | | | date. |
  4367. | servers.confirm_resize | {'name': 'server', | Confirm that the resize |
  4368. | | 'desc': 'server: The | worked, thus removing |
  4369. | | :class:`Server` (or its | the original server. |
  4370. | | ID) to share onto. | |
  4371. | | :returns: An instance | |
  4372. | | of novaclient.base.Tupl | |
  4373. | | eWithMeta'} | |
  4374. | | | |
  4375. | servers.convert_into_wi | | |
  4376. | th_meta | | |
  4377. | servers.create | {'name': 'name', | Create (boot) a new |
  4378. | | 'desc': 'name: | server. |
  4379. | | Something to name the | |
  4380. | | server.'}, | |
  4381. | | {'name': 'image', | |
  4382. | | 'desc': 'image: The | |
  4383. | | :class:`Image` to boot | |
  4384. | | with.'}, | |
  4385. | | {'name': 'flavor', | |
  4386. | | 'desc': 'flavor: The | |
  4387. | | :class:`Flavor` to boot | |
  4388. | | onto.'}, | |
  4389. | | {'name': 'meta', | |
  4390. | | 'desc': 'meta: A dict | |
  4391. | | of arbitrary key/value | |
  4392. | | metadata to store for | |
  4393. | | this server. Both keys | |
  4394. | | and values must be | |
  4395. | | <=255 characters.'}, | |
  4396. | | {'name': 'files', | |
  4397. | | 'desc': 'files: A dict | |
  4398. | | of files to overwrite | |
  4399. | | on the server upon | |
  4400. | | boot. Keys are file | |
  4401. | | names (i.e. | |
  4402. | | ``/etc/passwd``) and | |
  4403. | | values are the file | |
  4404. | | contents (either as a | |
  4405. | | string or as a file- | |
  4406. | | like object). A maximum | |
  4407. | | of five entries is | |
  4408. | | allowed, and each file | |
  4409. | | must be 10k or less.'}, | |
  4410. | | {'name': | |
  4411. | | 'reservation_id', | |
  4412. | | 'desc': | |
  4413. | | 'reservation_id: a UUID | |
  4414. | | for the set of servers | |
  4415. | | being requested.'}, | |
  4416. | | {'name': 'min_count', | |
  4417. | | 'desc': 'min_count: | |
  4418. | | (optional extension) | |
  4419. | | The minimum number of | |
  4420. | | servers to launch.'}, | |
  4421. | | {'name': 'max_count', | |
  4422. | | 'desc': 'max_count: | |
  4423. | | (optional extension) | |
  4424. | | The maximum number of | |
  4425. | | servers to launch.'}, | |
  4426. | | {'name': | |
  4427. | | 'security_groups', | |
  4428. | | 'desc': | |
  4429. | | 'security_groups: A | |
  4430. | | list of security group | |
  4431. | | names'}, | |
  4432. | | {'name': 'userdata', | |
  4433. | | 'desc': 'userdata: user | |
  4434. | | data to pass to be | |
  4435. | | exposed by the metadata | |
  4436. | | server this can be a | |
  4437. | | file type object as | |
  4438. | | well or a string.'}, | |
  4439. | | {'name': 'key_name', | |
  4440. | | 'desc': 'key_name: | |
  4441. | | (optional extension) | |
  4442. | | name of previously | |
  4443. | | created keypair to | |
  4444. | | inject into the | |
  4445. | | instance.'}, | |
  4446. | | {'name': | |
  4447. | | 'availability_zone', | |
  4448. | | 'desc': | |
  4449. | | 'availability_zone: | |
  4450. | | Name of the | |
  4451. | | availability zone for | |
  4452. | | instance placement.'}, | |
  4453. | | {'name': | |
  4454. | | 'block_device_mapping', | |
  4455. | | 'desc': | |
  4456. | | 'block_device_mapping: | |
  4457. | | (optional extension) A | |
  4458. | | dict of block device | |
  4459. | | mappings for this | |
  4460. | | server.'}, | |
  4461. | | {'name': 'block_device_ | |
  4462. | | mapping_v2', 'desc': 'b | |
  4463. | | lock_device_mapping_v2: | |
  4464. | | (optional extension) A | |
  4465. | | dict of block device | |
  4466. | | mappings for this | |
  4467. | | server.'}, | |
  4468. | | {'name': 'nics', | |
  4469. | | 'desc': "nics: An | |
  4470. | | ordered list of nics | |
  4471. | | (dicts) to be added to | |
  4472. | | this server, with | |
  4473. | | information about | |
  4474. | | connected networks, | |
  4475. | | fixed IPs, port etc. | |
  4476. | | Beginning in | |
  4477. | | microversion 2.37 this | |
  4478. | | field is required and | |
  4479. | | also supports a single | |
  4480. | | string value of 'auto' | |
  4481. | | or 'none'. The 'auto' | |
  4482. | | value means the Compute | |
  4483. | | service will | |
  4484. | | automatically allocate | |
  4485. | | a network for the | |
  4486. | | project if one is not | |
  4487. | | available. This is the | |
  4488. | | same behavior as not | |
  4489. | | passing anything for | |
  4490. | | nics before | |
  4491. | | microversion 2.37. The | |
  4492. | | 'none' value tells the | |
  4493. | | Compute service to not | |
  4494. | | allocate any | |
  4495. | | networking for the | |
  4496. | | server."}, | |
  4497. | | {'name': | |
  4498. | | 'scheduler_hints', | |
  4499. | | 'desc': | |
  4500. | | 'scheduler_hints: | |
  4501. | | (optional extension) | |
  4502. | | arbitrary key-value | |
  4503. | | pairs specified by the | |
  4504. | | client to help boot an | |
  4505. | | instance'}, | |
  4506. | | {'name': | |
  4507. | | 'config_drive', 'desc': | |
  4508. | | 'config_drive: | |
  4509. | | (optional extension) | |
  4510. | | value for config drive | |
  4511. | | either boolean, or | |
  4512. | | volume-id'}, | |
  4513. | | {'name': 'disk_config', | |
  4514. | | 'desc': "disk_config: | |
  4515. | | (optional extension) | |
  4516. | | control how the disk is | |
  4517. | | partitioned when the | |
  4518. | | server is created. | |
  4519. | | possible values are | |
  4520. | | 'AUTO' or 'MANUAL'."}, | |
  4521. | | {'name': 'admin_pass', | |
  4522. | | 'desc': 'admin_pass: | |
  4523. | | (optional extension) | |
  4524. | | add a user supplied | |
  4525. | | admin password.'}, | |
  4526. | | {'name': | |
  4527. | | 'access_ip_v4', 'desc': | |
  4528. | | 'access_ip_v4: | |
  4529. | | (optional extension) | |
  4530. | | add alternative access | |
  4531. | | ip v4'}, | |
  4532. | | {'name': | |
  4533. | | 'access_ip_v6', 'desc': | |
  4534. | | 'access_ip_v6: | |
  4535. | | (optional extension) | |
  4536. | | add alternative access | |
  4537. | | ip v6'} | |
  4538. | | | |
  4539. | servers.create_image | {'name': 'server', | Snapshot a server. |
  4540. | | 'desc': 'server: The | |
  4541. | | :class:`Server` (or its | |
  4542. | | ID) to share onto.'}, | |
  4543. | | {'name': 'image_name', | |
  4544. | | 'desc': 'image_name: | |
  4545. | | Name to give the | |
  4546. | | snapshot image'}, | |
  4547. | | {'name': 'metadata', | |
  4548. | | 'desc': "metadata: | |
  4549. | | Metadata to give newly- | |
  4550. | | created image entity | |
  4551. | | :returns: An instance | |
  4552. | | of novaclient.base.StrW | |
  4553. | | ithMeta (The snapshot | |
  4554. | | image's UUID)"} | |
  4555. | | | |
  4556. | servers.delete | {'name': 'server', | Delete (i.e. shut down |
  4557. | | 'desc': 'server: The | and delete the image) |
  4558. | | :class:`Server` (or its | this server. |
  4559. | | ID) to delete :returns: | |
  4560. | | An instance of novaclie | |
  4561. | | nt.base.TupleWithMeta'} | |
  4562. | | | |
  4563. | servers.delete_all_tags | {'name': 'obj', 'desc': | Remove all tags from an |
  4564. | | 'None'} | instance. |
  4565. | | | |
  4566. | servers.delete_meta | {'name': 'server', | Delete metadata from a |
  4567. | | 'desc': 'server: The | server |
  4568. | | :class:`Server` to add | |
  4569. | | metadata to'}, | |
  4570. | | {'name': 'keys', | |
  4571. | | 'desc': 'keys: A list | |
  4572. | | of metadata keys to | |
  4573. | | delete from the server | |
  4574. | | :returns: An instance | |
  4575. | | of novaclient.base.Tupl | |
  4576. | | eWithMeta'} | |
  4577. | | | |
  4578. | servers.delete_tag | {'name': 'obj', 'desc': | Remove single tag from |
  4579. | | 'None'} | an instance. |
  4580. | | | |
  4581. | servers.diagnostics | {'name': 'server', | Retrieve server |
  4582. | | 'desc': 'server: The | diagnostics. |
  4583. | | :class:`Server` (or its | |
  4584. | | ID) for which | |
  4585. | | diagnostics to be | |
  4586. | | returned :returns: An | |
  4587. | | instance of novaclient. | |
  4588. | | base.TupleWithMeta'} | |
  4589. | | | |
  4590. | servers.evacuate | {'name': 'obj', 'desc': | Evacuate a server |
  4591. | | 'server: The | instance. |
  4592. | | :class:`Server` (or its | |
  4593. | | ID) to share onto.'} | |
  4594. | | | |
  4595. | servers.find | | Find a single item with |
  4596. | | | attributes matching |
  4597. | | | ``**kwargs``. |
  4598. | servers.findall | | Find all items with |
  4599. | | | attributes matching |
  4600. | | | ``**kwargs``. |
  4601. | servers.force_delete | {'name': 'server', | Force delete the server. |
  4602. | | 'desc': 'server: The | |
  4603. | | :class:`Server` (or its | |
  4604. | | ID) to force delete | |
  4605. | | :returns: An instance | |
  4606. | | of novaclient.base.Tupl | |
  4607. | | eWithMeta'} | |
  4608. | | | |
  4609. | servers.get | {'name': 'server', | Get a server. |
  4610. | | 'desc': 'server: ID of | |
  4611. | | the :class:`Server` to | |
  4612. | | get. :rtype: | |
  4613. | | :class:`Server`'} | |
  4614. | | | |
  4615. | servers.get_console_out | {'name': 'server', | Get text console log |
  4616. | put | 'desc': 'server: The | output from Server. |
  4617. | | :class:`Server` (or its | |
  4618. | | ID) whose console | |
  4619. | | output you would like | |
  4620. | | to retrieve.'}, | |
  4621. | | {'name': 'length', | |
  4622. | | 'desc': 'length: The | |
  4623. | | number of tail loglines | |
  4624. | | you would like to | |
  4625. | | retrieve. :returns: An | |
  4626. | | instance of novaclient. | |
  4627. | | base.StrWithMeta or no | |
  4628. | | vaclient.base.UnicodeWi | |
  4629. | | thMeta'} | |
  4630. | | | |
  4631. | servers.get_console_url | {'name': 'obj', 'desc': | Retrieve a console url |
  4632. | | 'server: server to get | of a server. |
  4633. | | console url for'} | |
  4634. | | | |
  4635. | servers.get_mks_console | {'name': 'obj', 'desc': | Get a mks console for an |
  4636. | | 'server: The | instance |
  4637. | | :class:`Server` (or its | |
  4638. | | ID) to get console for. | |
  4639. | | :returns: An instance | |
  4640. | | of novaclient.base.Dict | |
  4641. | | WithMeta'} | |
  4642. | | | |
  4643. | servers.get_password | {'name': 'server', | Get admin password of an |
  4644. | | 'desc': 'server: The | instance Returns the |
  4645. | | :class:`Server` (or its | admin password of an |
  4646. | | ID) for which the admin | instance in the clear if |
  4647. | | password is to be | private_key is provided, |
  4648. | | returned'}, | returns the ciphered |
  4649. | | {'name': 'private_key', | password otherwise. |
  4650. | | 'desc': 'private_key: | Requires that openssl is |
  4651. | | The private key to | installed and in the |
  4652. | | decrypt password | path |
  4653. | | (optional) :returns: An | |
  4654. | | instance of novaclient. | |
  4655. | | base.StrWithMeta or no | |
  4656. | | vaclient.base.BytesWith | |
  4657. | | Meta or novaclient.bas | |
  4658. | | e.UnicodeWithMeta'} | |
  4659. | | | |
  4660. | servers.get_rdp_console | {'name': 'obj', 'desc': | Get a rdp console for an |
  4661. | | 'server: The | instance |
  4662. | | :class:`Server` (or its | |
  4663. | | ID) to get console | |
  4664. | | for.'} | |
  4665. | | | |
  4666. | servers.get_serial_cons | {'name': 'obj', 'desc': | Get a serial console for |
  4667. | ole | 'server: The | an instance |
  4668. | | :class:`Server` (or its | |
  4669. | | ID) to get console | |
  4670. | | for.'} | |
  4671. | | | |
  4672. | servers.get_spice_conso | {'name': 'obj', 'desc': | Get a spice console for |
  4673. | le | 'server: The | an instance |
  4674. | | :class:`Server` (or its | |
  4675. | | ID) to get console | |
  4676. | | for.'} | |
  4677. | | | |
  4678. | servers.get_vnc_console | {'name': 'obj', 'desc': | Get a vnc console for an |
  4679. | | 'server: The | instance |
  4680. | | :class:`Server` (or its | |
  4681. | | ID) to get console | |
  4682. | | for.'} | |
  4683. | | | |
  4684. | servers.interface_attac | {'name': 'server', | Attach a |
  4685. | h | 'desc': 'server: The | network_interface to an |
  4686. | | :class:`Server` (or its | instance. |
  4687. | | ID) to attach to.'}, | |
  4688. | | {'name': 'port_id', | |
  4689. | | 'desc': 'port_id: The | |
  4690. | | port to attach.'}, | |
  4691. | | {'name': 'net_id', | |
  4692. | | 'desc': 'None'}, | |
  4693. | | {'name': 'fixed_ip', | |
  4694. | | 'desc': 'None'} | |
  4695. | | | |
  4696. | servers.interface_detac | {'name': 'server', | Detach a |
  4697. | h | 'desc': 'server: The | network_interface from |
  4698. | | :class:`Server` (or its | an instance. |
  4699. | | ID) to detach from.'}, | |
  4700. | | {'name': 'port_id', | |
  4701. | | 'desc': 'port_id: The | |
  4702. | | port to detach. | |
  4703. | | :returns: An instance | |
  4704. | | of novaclient.base.Tupl | |
  4705. | | eWithMeta'} | |
  4706. | | | |
  4707. | servers.interface_list | {'name': 'server', | List attached network |
  4708. | | 'desc': 'server: The | interfaces |
  4709. | | :class:`Server` (or its | |
  4710. | | ID) to query.'} | |
  4711. | | | |
  4712. | servers.ips | {'name': 'server', | Return IP Addresses |
  4713. | | 'desc': 'server: The | associated with the |
  4714. | | :class:`Server` (or its | server. Often a cheaper |
  4715. | | ID) for which the IP | call then getting all |
  4716. | | adresses are to be | the details for a |
  4717. | | returned :returns: An | server. |
  4718. | | instance of novaclient. | |
  4719. | | base.DictWithMeta'} | |
  4720. | | | |
  4721. | servers.list | {'name': 'detailed', | Get a list of servers. |
  4722. | | 'desc': 'detailed: | |
  4723. | | Whether to return | |
  4724. | | detailed server info | |
  4725. | | (optional).'}, | |
  4726. | | {'name': 'search_opts', | |
  4727. | | 'desc': "search_opts: | |
  4728. | | Search options to | |
  4729. | | filter out servers | |
  4730. | | which don't match the | |
  4731. | | search_opts (optional). | |
  4732. | | The search opts format | |
  4733. | | is a dictionary of key | |
  4734. | | / value pairs that will | |
  4735. | | be appended to the | |
  4736. | | query string. For a | |
  4737. | | complete list of keys | |
  4738. | | see: http://developer. | |
  4739. | | openstack.org/api-ref-c | |
  4740. | | ompute-v2.1.html#listSe | |
  4741. | | rvers"}, | |
  4742. | | {'name': 'marker', | |
  4743. | | 'desc': 'marker: Begin | |
  4744. | | returning servers that | |
  4745. | | appear later in the | |
  4746. | | server list than that | |
  4747. | | represented by this | |
  4748. | | server id | |
  4749. | | (optional).'}, | |
  4750. | | {'name': 'limit', | |
  4751. | | 'desc': 'limit: Maximum | |
  4752. | | number of servers to | |
  4753. | | return (optional).'}, | |
  4754. | | {'name': 'sort_keys', | |
  4755. | | 'desc': 'sort_keys: | |
  4756. | | List of sort keys'}, | |
  4757. | | {'name': 'sort_dirs', | |
  4758. | | 'desc': "sort_dirs: | |
  4759. | | List of sort directions | |
  4760. | | :rtype: list of | |
  4761. | | :class:`Server` | |
  4762. | | Examples: | |
  4763. | | client.servers.list() - | |
  4764. | | returns detailed list | |
  4765. | | of servers client.serv | |
  4766. | | ers.list(search_opts={' | |
  4767. | | status': 'ERROR'}) - | |
  4768. | | returns list of servers | |
  4769. | | in error state. client | |
  4770. | | .servers.list(limit=10) | |
  4771. | | - returns only 10 | |
  4772. | | servers"} | |
  4773. | | | |
  4774. | servers.list_security_g | {'name': 'server', | List Security Group(s) |
  4775. | roup | 'desc': 'server: ID of | of an instance |
  4776. | | the instance.'} | |
  4777. | | | |
  4778. | servers.live_migrate | {'name': 'obj', 'desc': | Migrates a running |
  4779. | | 'server: instance id | instance to a new |
  4780. | | which comes from nova | machine. |
  4781. | | list.'} | |
  4782. | | | |
  4783. | servers.lock | {'name': 'server', | Lock the server. |
  4784. | | 'desc': 'server: The | |
  4785. | | :class:`Server` (or its | |
  4786. | | ID) to lock :returns: | |
  4787. | | An instance of novaclie | |
  4788. | | nt.base.TupleWithMeta'} | |
  4789. | | | |
  4790. | servers.migrate | {'name': 'server', | Migrate a server to a |
  4791. | | 'desc': 'server: The | new host. |
  4792. | | :class:`Server` (or its | |
  4793. | | ID). :returns: An | |
  4794. | | instance of novaclient. | |
  4795. | | base.TupleWithMeta'} | |
  4796. | | | |
  4797. | servers.pause | {'name': 'server', | Pause the server. |
  4798. | | 'desc': 'server: The | |
  4799. | | :class:`Server` (or its | |
  4800. | | ID) to pause :returns: | |
  4801. | | An instance of novaclie | |
  4802. | | nt.base.TupleWithMeta'} | |
  4803. | | | |
  4804. | servers.reboot | {'name': 'server', | Reboot a server. |
  4805. | | 'desc': 'server: The | |
  4806. | | :class:`Server` (or its | |
  4807. | | ID) to share onto.'}, | |
  4808. | | {'name': 'reboot_type', | |
  4809. | | 'desc': 'reboot_type: | |
  4810. | | either | |
  4811. | | :data:`REBOOT_SOFT` for | |
  4812. | | a software-level | |
  4813. | | reboot, or | |
  4814. | | `REBOOT_HARD` for a | |
  4815. | | virtual power cycle | |
  4816. | | hard reboot. :returns: | |
  4817. | | An instance of novaclie | |
  4818. | | nt.base.TupleWithMeta'} | |
  4819. | | | |
  4820. | servers.rebuild | {'name': 'server', | Rebuild -- shut down and |
  4821. | | 'desc': 'server: The | then re-image -- a |
  4822. | | :class:`Server` (or its | server. |
  4823. | | ID) to share onto.'}, | |
  4824. | | {'name': 'image', | |
  4825. | | 'desc': 'image: the | |
  4826. | | :class:`Image` (or its | |
  4827. | | ID) to re-image | |
  4828. | | with.'}, | |
  4829. | | {'name': 'password', | |
  4830. | | 'desc': 'password: | |
  4831. | | string to set as | |
  4832. | | password on the rebuilt | |
  4833. | | server.'}, | |
  4834. | | {'name': 'disk_config', | |
  4835. | | 'desc': "disk_config: | |
  4836. | | partitioning mode to | |
  4837. | | use on the rebuilt | |
  4838. | | server. Valid values | |
  4839. | | are 'AUTO' or | |
  4840. | | 'MANUAL'"}, | |
  4841. | | {'name': | |
  4842. | | 'preserve_ephemeral', | |
  4843. | | 'desc': | |
  4844. | | 'preserve_ephemeral: If | |
  4845. | | True, request that any | |
  4846. | | ephemeral device be | |
  4847. | | preserved when | |
  4848. | | rebuilding the | |
  4849. | | instance. Defaults to | |
  4850. | | False.'}, | |
  4851. | | {'name': 'name', | |
  4852. | | 'desc': 'name: | |
  4853. | | Something to name the | |
  4854. | | server.'}, | |
  4855. | | {'name': 'meta', | |
  4856. | | 'desc': 'meta: A dict | |
  4857. | | of arbitrary key/value | |
  4858. | | metadata to store for | |
  4859. | | this server. Both keys | |
  4860. | | and values must be | |
  4861. | | <=255 characters.'}, | |
  4862. | | {'name': 'files', | |
  4863. | | 'desc': 'files: A dict | |
  4864. | | of files to overwrite | |
  4865. | | on the server upon | |
  4866. | | boot. Keys are file | |
  4867. | | names (i.e. | |
  4868. | | ``/etc/passwd``) and | |
  4869. | | values are the file | |
  4870. | | contents (either as a | |
  4871. | | string or as a file- | |
  4872. | | like object). A maximum | |
  4873. | | of five entries is | |
  4874. | | allowed, and each file | |
  4875. | | must be 10k or less.'} | |
  4876. | | | |
  4877. | servers.remove_fixed_ip | {'name': 'obj', 'desc': | DEPRECATED Remove an IP |
  4878. | | 'server: The | address. |
  4879. | | :class:`Server` (or its | |
  4880. | | ID) to add an IP to.'} | |
  4881. | | | |
  4882. | servers.remove_floating | {'name': 'obj', 'desc': | DEPRECATED Remove a |
  4883. | _ip | 'server: The | floating IP address. |
  4884. | | :class:`Server` (or its | |
  4885. | | ID) to remove an IP | |
  4886. | | from.'} | |
  4887. | | | |
  4888. | servers.remove_security | {'name': 'server', | Remove a Security Group |
  4889. | _group | 'desc': 'server: ID of | to an instance |
  4890. | | the instance.'}, | |
  4891. | | {'name': | |
  4892. | | 'security_group', | |
  4893. | | 'desc': | |
  4894. | | 'security_group: The | |
  4895. | | name of security group | |
  4896. | | to remove. :returns: An | |
  4897. | | instance of novaclient. | |
  4898. | | base.TupleWithMeta'} | |
  4899. | | | |
  4900. | servers.rescue | {'name': 'server', | Rescue the server. |
  4901. | | 'desc': 'server: The | |
  4902. | | :class:`Server` to | |
  4903. | | rescue.'}, | |
  4904. | | {'name': 'password', | |
  4905. | | 'desc': 'password: The | |
  4906. | | admin password to be | |
  4907. | | set in the rescue | |
  4908. | | instance.'}, | |
  4909. | | {'name': 'image', | |
  4910. | | 'desc': 'image: The | |
  4911. | | :class:`Image` to | |
  4912. | | rescue with. :returns: | |
  4913. | | An instance of novaclie | |
  4914. | | nt.base.TupleWithMeta'} | |
  4915. | | | |
  4916. | servers.reset_network | {'name': 'server', | Reset network of an |
  4917. | | 'desc': 'server: The | instance. |
  4918. | | :class:`Server` for | |
  4919. | | network is to be reset | |
  4920. | | :returns: An instance | |
  4921. | | of novaclient.base.Tupl | |
  4922. | | eWithMeta'} | |
  4923. | | | |
  4924. | servers.reset_state | {'name': 'server', | Reset the state of an |
  4925. | | 'desc': 'server: ID of | instance to active or |
  4926. | | the instance to reset | error. |
  4927. | | the state of.'}, | |
  4928. | | {'name': 'state', | |
  4929. | | 'desc': "state: Desired | |
  4930. | | state; either 'active' | |
  4931. | | or 'error'. Defaults | |
  4932. | | to 'error'. :returns: | |
  4933. | | An instance of novaclie | |
  4934. | | nt.base.TupleWithMeta"} | |
  4935. | | | |
  4936. | servers.resize | {'name': 'server', | Resize a server's |
  4937. | | 'desc': 'server: The | resources. |
  4938. | | :class:`Server` (or its | |
  4939. | | ID) to share onto.'}, | |
  4940. | | {'name': 'flavor', | |
  4941. | | 'desc': 'flavor: the | |
  4942. | | :class:`Flavor` (or its | |
  4943. | | ID) to resize to.'}, | |
  4944. | | {'name': 'disk_config', | |
  4945. | | 'desc': "disk_config: | |
  4946. | | partitioning mode to | |
  4947. | | use on the rebuilt | |
  4948. | | server. Valid values | |
  4949. | | are 'AUTO' or 'MANUAL' | |
  4950. | | :returns: An instance | |
  4951. | | of novaclient.base.Tupl | |
  4952. | | eWithMeta Until a | |
  4953. | | resize event is | |
  4954. | | confirmed with | |
  4955. | | :meth:`confirm_resize`, | |
  4956. | | the old server will be | |
  4957. | | kept around and you'll | |
  4958. | | be able to roll back to | |
  4959. | | the old flavor quickly | |
  4960. | | with | |
  4961. | | :meth:`revert_resize`. | |
  4962. | | All resizes are | |
  4963. | | automatically confirmed | |
  4964. | | after 24 hours."} | |
  4965. | | | |
  4966. | servers.restore | {'name': 'server', | Restore soft-deleted |
  4967. | | 'desc': 'server: The | server. |
  4968. | | :class:`Server` (or its | |
  4969. | | ID) to restore | |
  4970. | | :returns: An instance | |
  4971. | | of novaclient.base.Tupl | |
  4972. | | eWithMeta'} | |
  4973. | | | |
  4974. | servers.resume | {'name': 'server', | Resume the server. |
  4975. | | 'desc': 'server: The | |
  4976. | | :class:`Server` (or its | |
  4977. | | ID) to resume :returns: | |
  4978. | | An instance of novaclie | |
  4979. | | nt.base.TupleWithMeta'} | |
  4980. | | | |
  4981. | servers.revert_resize | {'name': 'server', | Revert a previous |
  4982. | | 'desc': 'server: The | resize, switching back |
  4983. | | :class:`Server` (or its | to the old server. |
  4984. | | ID) to share onto. | |
  4985. | | :returns: An instance | |
  4986. | | of novaclient.base.Tupl | |
  4987. | | eWithMeta'} | |
  4988. | | | |
  4989. | servers.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  4990. | | 'cls: class that | specified type. |
  4991. | | registers hooks'}, | |
  4992. | | {'name': 'hook_type', | |
  4993. | | 'desc': "hook_type: | |
  4994. | | hook type, e.g., | |
  4995. | | '__pre_parse_args__'"} | |
  4996. | | | |
  4997. | servers.set_meta | {'name': 'server', | Set a server's metadata |
  4998. | | 'desc': 'server: The | |
  4999. | | :class:`Server` to add | |
  5000. | | metadata to'}, | |
  5001. | | {'name': 'metadata', | |
  5002. | | 'desc': 'metadata: A | |
  5003. | | dict of metadata to be | |
  5004. | | added to the server'} | |
  5005. | | | |
  5006. | servers.set_meta_item | {'name': 'server', | Updates an item of |
  5007. | | 'desc': 'server: The | server metadata |
  5008. | | :class:`Server` to add | |
  5009. | | metadata to'}, | |
  5010. | | {'name': 'key', 'desc': | |
  5011. | | 'key: metadata key to | |
  5012. | | update'}, | |
  5013. | | {'name': 'value', | |
  5014. | | 'desc': 'value: string | |
  5015. | | value'} | |
  5016. | | | |
  5017. | servers.set_tags | {'name': 'obj', 'desc': | Set list of tags to an |
  5018. | | 'None'} | instance. |
  5019. | | | |
  5020. | servers.shelve | {'name': 'server', | Shelve the server. |
  5021. | | 'desc': 'server: The | |
  5022. | | :class:`Server` (or its | |
  5023. | | ID) to shelve :returns: | |
  5024. | | An instance of novaclie | |
  5025. | | nt.base.TupleWithMeta'} | |
  5026. | | | |
  5027. | servers.shelve_offload | {'name': 'server', | Remove a shelved |
  5028. | | 'desc': 'server: The | instance from the |
  5029. | | :class:`Server` (or its | compute node. |
  5030. | | ID) to shelve offload | |
  5031. | | :returns: An instance | |
  5032. | | of novaclient.base.Tupl | |
  5033. | | eWithMeta'} | |
  5034. | | | |
  5035. | servers.start | {'name': 'server', | Start the server. |
  5036. | | 'desc': 'server: The | |
  5037. | | :class:`Server` (or its | |
  5038. | | ID) to start :returns: | |
  5039. | | An instance of novaclie | |
  5040. | | nt.base.TupleWithMeta'} | |
  5041. | | | |
  5042. | servers.stop | {'name': 'server', | Stop the server. |
  5043. | | 'desc': 'server: The | |
  5044. | | :class:`Server` (or its | |
  5045. | | ID) to stop :returns: | |
  5046. | | An instance of novaclie | |
  5047. | | nt.base.TupleWithMeta'} | |
  5048. | | | |
  5049. | servers.suspend | {'name': 'server', | Suspend the server. |
  5050. | | 'desc': 'server: The | |
  5051. | | :class:`Server` (or its | |
  5052. | | ID) to suspend | |
  5053. | | :returns: An instance | |
  5054. | | of novaclient.base.Tupl | |
  5055. | | eWithMeta'} | |
  5056. | | | |
  5057. | servers.tag_list | {'name': 'obj', 'desc': | Get list of tags from an |
  5058. | | 'None'} | instance. |
  5059. | | | |
  5060. | servers.trigger_crash_d | {'name': 'obj', 'desc': | Trigger crash dump in an |
  5061. | ump | 'None'} | instance |
  5062. | | | |
  5063. | servers.unlock | {'name': 'server', | Unlock the server. |
  5064. | | 'desc': 'server: The | |
  5065. | | :class:`Server` (or its | |
  5066. | | ID) to unlock :returns: | |
  5067. | | An instance of novaclie | |
  5068. | | nt.base.TupleWithMeta'} | |
  5069. | | | |
  5070. | servers.unpause | {'name': 'server', | Unpause the server. |
  5071. | | 'desc': 'server: The | |
  5072. | | :class:`Server` (or its | |
  5073. | | ID) to unpause | |
  5074. | | :returns: An instance | |
  5075. | | of novaclient.base.Tupl | |
  5076. | | eWithMeta'} | |
  5077. | | | |
  5078. | servers.unrescue | {'name': 'server', | Unrescue the server. |
  5079. | | 'desc': 'server: The | |
  5080. | | :class:`Server` (or its | |
  5081. | | ID) to unrescue | |
  5082. | | :returns: An instance | |
  5083. | | of novaclient.base.Tupl | |
  5084. | | eWithMeta'} | |
  5085. | | | |
  5086. | servers.unshelve | {'name': 'server', | Unshelve the server. |
  5087. | | 'desc': 'server: The | |
  5088. | | :class:`Server` (or its | |
  5089. | | ID) to unshelve | |
  5090. | | :returns: An instance | |
  5091. | | of novaclient.base.Tupl | |
  5092. | | eWithMeta'} | |
  5093. | | | |
  5094. | servers.update | {'name': 'obj', 'desc': | Update the name or the |
  5095. | | 'server: The | description for a |
  5096. | | :class:`Server` (or its | server. |
  5097. | | ID) to update.'} | |
  5098. | | | |
  5099. | servers.write_to_comple | | |
  5100. | tion_cache | | |
  5101. | servers_set_meta | {'name': 'server', | A wrapper for |
  5102. | | 'description': 'server | servers.set_meta() |
  5103. | | id'}, | |
  5104. | | {'name': 'meta-key1', | |
  5105. | | 'description': 'meta | |
  5106. | | key 1'}, | |
  5107. | | {'name': 'meta-value1', | |
  5108. | | 'description': 'value | |
  5109. | | for meta key1'}, | |
  5110. | | {'name': 'meta-keyN', | |
  5111. | | 'description': 'meta | |
  5112. | | key N'}, | |
  5113. | | {'name': 'meta-valueN', | |
  5114. | | 'description': 'value | |
  5115. | | for meta keyN'} | |
  5116. | | | |
  5117. | services.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  5118. | | 'cls: class that | specified type. |
  5119. | | registers hooks'}, | |
  5120. | | {'name': 'hook_type', | |
  5121. | | 'desc': "hook_type: | |
  5122. | | hook type, e.g., | |
  5123. | | '__pre_parse_args__'"}, | |
  5124. | | {'name': 'hook_func', | |
  5125. | | 'desc': 'hook_func: | |
  5126. | | hook function'} | |
  5127. | | | |
  5128. | services.alternate_serv | | |
  5129. | ice_type | | |
  5130. | services.completion_cac | | The completion cache for |
  5131. | he | | bash autocompletion. |
  5132. | | | The completion cache |
  5133. | | | store items that can be |
  5134. | | | used for bash |
  5135. | | | autocompletion, like |
  5136. | | | UUIDs or human-friendly |
  5137. | | | IDs. A resource listing |
  5138. | | | will clear and |
  5139. | | | repopulate the cache. A |
  5140. | | | resource create will |
  5141. | | | append to the cache. |
  5142. | | | Delete is not handled |
  5143. | | | because listings are |
  5144. | | | assumed to be performed |
  5145. | | | often enough to keep the |
  5146. | | | cache reasonably up-to- |
  5147. | | | date. |
  5148. | services.convert_into_w | | |
  5149. | ith_meta | | |
  5150. | services.delete | {'name': 'service_id', | Delete a service. |
  5151. | | 'desc': 'None'} | |
  5152. | | | |
  5153. | services.disable | {'name': 'host', | Disable the service |
  5154. | | 'desc': 'None'}, | specified by hostname |
  5155. | | {'name': 'binary', | and binary. |
  5156. | | 'desc': 'None'} | |
  5157. | | | |
  5158. | services.disable_log_re | {'name': 'host', | Disable the service with |
  5159. | ason | 'desc': 'None'}, | reason. |
  5160. | | {'name': 'binary', | |
  5161. | | 'desc': 'None'}, | |
  5162. | | {'name': 'reason', | |
  5163. | | 'desc': 'None'} | |
  5164. | | | |
  5165. | services.enable | {'name': 'host', | Enable the service |
  5166. | | 'desc': 'None'}, | specified by hostname |
  5167. | | {'name': 'binary', | and binary. |
  5168. | | 'desc': 'None'} | |
  5169. | | | |
  5170. | services.find | | Find a single item with |
  5171. | | | attributes matching |
  5172. | | | ``**kwargs``. |
  5173. | services.findall | | Find all items with |
  5174. | | | attributes matching |
  5175. | | | ``**kwargs``. |
  5176. | services.force_down | {'name': 'obj', 'desc': | Force service state to |
  5177. | | 'None'} | down specified by |
  5178. | | | hostname and binary. |
  5179. | services.list | {'name': 'host', | Get a list of services. |
  5180. | | 'desc': 'host: | |
  5181. | | destination host | |
  5182. | | name.'}, | |
  5183. | | {'name': 'binary', | |
  5184. | | 'desc': 'None'} | |
  5185. | | | |
  5186. | services.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  5187. | | 'cls: class that | specified type. |
  5188. | | registers hooks'}, | |
  5189. | | {'name': 'hook_type', | |
  5190. | | 'desc': "hook_type: | |
  5191. | | hook type, e.g., | |
  5192. | | '__pre_parse_args__'"} | |
  5193. | | | |
  5194. | services.write_to_compl | | |
  5195. | etion_cache | | |
  5196. | usage.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  5197. | | 'cls: class that | specified type. |
  5198. | | registers hooks'}, | |
  5199. | | {'name': 'hook_type', | |
  5200. | | 'desc': "hook_type: | |
  5201. | | hook type, e.g., | |
  5202. | | '__pre_parse_args__'"}, | |
  5203. | | {'name': 'hook_func', | |
  5204. | | 'desc': 'hook_func: | |
  5205. | | hook function'} | |
  5206. | | | |
  5207. | usage.alternate_service | | |
  5208. | _type | | |
  5209. | usage.completion_cache | | The completion cache for |
  5210. | | | bash autocompletion. |
  5211. | | | The completion cache |
  5212. | | | store items that can be |
  5213. | | | used for bash |
  5214. | | | autocompletion, like |
  5215. | | | UUIDs or human-friendly |
  5216. | | | IDs. A resource listing |
  5217. | | | will clear and |
  5218. | | | repopulate the cache. A |
  5219. | | | resource create will |
  5220. | | | append to the cache. |
  5221. | | | Delete is not handled |
  5222. | | | because listings are |
  5223. | | | assumed to be performed |
  5224. | | | often enough to keep the |
  5225. | | | cache reasonably up-to- |
  5226. | | | date. |
  5227. | usage.convert_into_with | | |
  5228. | _meta | | |
  5229. | usage.find | | Find a single item with |
  5230. | | | attributes matching |
  5231. | | | ``**kwargs``. |
  5232. | usage.findall | | Find all items with |
  5233. | | | attributes matching |
  5234. | | | ``**kwargs``. |
  5235. | usage.get | {'name': 'obj', 'desc': | Get usage for a specific |
  5236. | | 'tenant_id: Tenant ID | tenant. |
  5237. | | to fetch usage for'} | |
  5238. | | | |
  5239. | usage.list | {'name': 'obj', 'desc': | Get usage for all |
  5240. | | 'start: :class:`datetim | tenants |
  5241. | | e.datetime` Start date | |
  5242. | | in UTC'} | |
  5243. | | | |
  5244. | usage.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  5245. | | 'cls: class that | specified type. |
  5246. | | registers hooks'}, | |
  5247. | | {'name': 'hook_type', | |
  5248. | | 'desc': "hook_type: | |
  5249. | | hook type, e.g., | |
  5250. | | '__pre_parse_args__'"} | |
  5251. | | | |
  5252. | usage.write_to_completi | | |
  5253. | on_cache | | |
  5254. | versions.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  5255. | | 'cls: class that | specified type. |
  5256. | | registers hooks'}, | |
  5257. | | {'name': 'hook_type', | |
  5258. | | 'desc': "hook_type: | |
  5259. | | hook type, e.g., | |
  5260. | | '__pre_parse_args__'"}, | |
  5261. | | {'name': 'hook_func', | |
  5262. | | 'desc': 'hook_func: | |
  5263. | | hook function'} | |
  5264. | | | |
  5265. | versions.alternate_serv | | |
  5266. | ice_type | | |
  5267. | versions.completion_cac | | The completion cache for |
  5268. | he | | bash autocompletion. |
  5269. | | | The completion cache |
  5270. | | | store items that can be |
  5271. | | | used for bash |
  5272. | | | autocompletion, like |
  5273. | | | UUIDs or human-friendly |
  5274. | | | IDs. A resource listing |
  5275. | | | will clear and |
  5276. | | | repopulate the cache. A |
  5277. | | | resource create will |
  5278. | | | append to the cache. |
  5279. | | | Delete is not handled |
  5280. | | | because listings are |
  5281. | | | assumed to be performed |
  5282. | | | often enough to keep the |
  5283. | | | cache reasonably up-to- |
  5284. | | | date. |
  5285. | versions.convert_into_w | | |
  5286. | ith_meta | | |
  5287. | versions.find | | Find a single item with |
  5288. | | | attributes matching |
  5289. | | | ``**kwargs``. |
  5290. | versions.findall | | Find all items with |
  5291. | | | attributes matching |
  5292. | | | ``**kwargs``. |
  5293. | versions.get_current | | |
  5294. | | | |
  5295. | versions.list | | List all versions. |
  5296. | | | |
  5297. | versions.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  5298. | | 'cls: class that | specified type. |
  5299. | | registers hooks'}, | |
  5300. | | {'name': 'hook_type', | |
  5301. | | 'desc': "hook_type: | |
  5302. | | hook type, e.g., | |
  5303. | | '__pre_parse_args__'"} | |
  5304. | | | |
  5305. | versions.write_to_compl | | |
  5306. | etion_cache | | |
  5307. | virtual_interfaces.add_ | {'name': 'cls', 'desc': | Add a new hook of |
  5308. | hook | 'cls: class that | specified type. |
  5309. | | registers hooks'}, | |
  5310. | | {'name': 'hook_type', | |
  5311. | | 'desc': "hook_type: | |
  5312. | | hook type, e.g., | |
  5313. | | '__pre_parse_args__'"}, | |
  5314. | | {'name': 'hook_func', | |
  5315. | | 'desc': 'hook_func: | |
  5316. | | hook function'} | |
  5317. | | | |
  5318. | virtual_interfaces.alte | | |
  5319. | rnate_service_type | | |
  5320. | virtual_interfaces.comp | | The completion cache for |
  5321. | letion_cache | | bash autocompletion. |
  5322. | | | The completion cache |
  5323. | | | store items that can be |
  5324. | | | used for bash |
  5325. | | | autocompletion, like |
  5326. | | | UUIDs or human-friendly |
  5327. | | | IDs. A resource listing |
  5328. | | | will clear and |
  5329. | | | repopulate the cache. A |
  5330. | | | resource create will |
  5331. | | | append to the cache. |
  5332. | | | Delete is not handled |
  5333. | | | because listings are |
  5334. | | | assumed to be performed |
  5335. | | | often enough to keep the |
  5336. | | | cache reasonably up-to- |
  5337. | | | date. |
  5338. | virtual_interfaces.conv | | |
  5339. | ert_into_with_meta | | |
  5340. | virtual_interfaces.find | | Find a single item with |
  5341. | | | attributes matching |
  5342. | | | ``**kwargs``. |
  5343. | virtual_interfaces.find | | Find all items with |
  5344. | all | | attributes matching |
  5345. | | | ``**kwargs``. |
  5346. | virtual_interfaces.list | {'name': 'obj', 'desc': | DEPRECATED |
  5347. | | 'None'} | |
  5348. | | | |
  5349. | virtual_interfaces.run_ | {'name': 'cls', 'desc': | Run all hooks of |
  5350. | hooks | 'cls: class that | specified type. |
  5351. | | registers hooks'}, | |
  5352. | | {'name': 'hook_type', | |
  5353. | | 'desc': "hook_type: | |
  5354. | | hook type, e.g., | |
  5355. | | '__pre_parse_args__'"} | |
  5356. | | | |
  5357. | virtual_interfaces.writ | | |
  5358. | e_to_completion_cache | | |
  5359. | volumes.add_hook | {'name': 'cls', 'desc': | Add a new hook of |
  5360. | | 'cls: class that | specified type. |
  5361. | | registers hooks'}, | |
  5362. | | {'name': 'hook_type', | |
  5363. | | 'desc': "hook_type: | |
  5364. | | hook type, e.g., | |
  5365. | | '__pre_parse_args__'"}, | |
  5366. | | {'name': 'hook_func', | |
  5367. | | 'desc': 'hook_func: | |
  5368. | | hook function'} | |
  5369. | | | |
  5370. | volumes.alternate_servi | | |
  5371. | ce_type | | |
  5372. | volumes.completion_cach | | The completion cache for |
  5373. | e | | bash autocompletion. |
  5374. | | | The completion cache |
  5375. | | | store items that can be |
  5376. | | | used for bash |
  5377. | | | autocompletion, like |
  5378. | | | UUIDs or human-friendly |
  5379. | | | IDs. A resource listing |
  5380. | | | will clear and |
  5381. | | | repopulate the cache. A |
  5382. | | | resource create will |
  5383. | | | append to the cache. |
  5384. | | | Delete is not handled |
  5385. | | | because listings are |
  5386. | | | assumed to be performed |
  5387. | | | often enough to keep the |
  5388. | | | cache reasonably up-to- |
  5389. | | | date. |
  5390. | volumes.convert_into_wi | | |
  5391. | th_meta | | |
  5392. | volumes.create_server_v | {'name': 'server_id', | Attach a volume |
  5393. | olume | 'desc': 'server_id: The | identified by the volume |
  5394. | | ID of the server'}, | ID to the given server |
  5395. | | {'name': 'volume_id', | ID |
  5396. | | 'desc': 'volume_id: The | |
  5397. | | ID of the volume to | |
  5398. | | attach.'}, | |
  5399. | | {'name': 'device', | |
  5400. | | 'desc': 'device: The | |
  5401. | | device name (optional) | |
  5402. | | :rtype: | |
  5403. | | :class:`Volume`'} | |
  5404. | | | |
  5405. | volumes.delete_server_v | {'name': 'server_id', | Detach a volume |
  5406. | olume | 'desc': 'server_id: The | identified by the |
  5407. | | ID of the server'}, | attachment ID from the |
  5408. | | {'name': | given server |
  5409. | | 'attachment_id', | |
  5410. | | 'desc': 'attachment_id: | |
  5411. | | The ID of the | |
  5412. | | attachment :returns: An | |
  5413. | | instance of novaclient. | |
  5414. | | base.TupleWithMeta'} | |
  5415. | | | |
  5416. | volumes.get_server_volu | {'name': 'server_id', | Get the volume |
  5417. | me | 'desc': 'server_id: The | identified by the |
  5418. | | ID of the server'}, | attachment ID, that is |
  5419. | | {'name': | attached to the given |
  5420. | | 'attachment_id', | server ID |
  5421. | | 'desc': 'attachment_id: | |
  5422. | | The ID of the | |
  5423. | | attachment :rtype: | |
  5424. | | :class:`Volume`'} | |
  5425. | | | |
  5426. | volumes.get_server_volu | {'name': 'server_id', | Get a list of all the |
  5427. | mes | 'desc': 'server_id: The | attached volumes for the |
  5428. | | ID of the server | given server ID |
  5429. | | :rtype: list of | |
  5430. | | :class:`Volume`'} | |
  5431. | | | |
  5432. | volumes.run_hooks | {'name': 'cls', 'desc': | Run all hooks of |
  5433. | | 'cls: class that | specified type. |
  5434. | | registers hooks'}, | |
  5435. | | {'name': 'hook_type', | |
  5436. | | 'desc': "hook_type: | |
  5437. | | hook type, e.g., | |
  5438. | | '__pre_parse_args__'"} | |
  5439. | | | |
  5440. | volumes.update_server_v | {'name': 'server_id', | Swaps the existing |
  5441. | olume | 'desc': 'server_id: The | volume attachment to |
  5442. | | ID of the server'}, | point to a new volume. |
  5443. | | {'name': 'src_volid', | Takes a server, a source |
  5444. | | 'desc': 'source_volume: | (attached) volume and a |
  5445. | | The ID of the src | destination volume and |
  5446. | | volume'}, | performs a hypervisor |
  5447. | | {'name': 'dest_volid', | assisted data migration |
  5448. | | 'desc': 'dest_volume: | from src to dest volume, |
  5449. | | The ID of the | detaches the original |
  5450. | | destination volume | (source) volume and |
  5451. | | :rtype: | attaches the new |
  5452. | | :class:`Volume`'} | destination volume. Note |
  5453. | | | that not all backing |
  5454. | | | hypervisor drivers |
  5455. | | | support this operation |
  5456. | | | and it may be disabled |
  5457. | | | via policy. |
  5458. | volumes.write_to_comple | | |
  5459. | tion_cache | | |
  5460. +-------------------------+-------------------------+--------------------------+
  5461. +../congress/scripts/manual_testing/general.sh:main:18 openstack congress datasource list
  5462. +-----------------+------------+---------+-----------------+-------------------+
  5463. | id | name | enabled | driver | config |
  5464. +-----------------+------------+---------+-----------------+-------------------+
  5465. | 0039b314-2a7f-4 | cinder | True | cinder | {'username': |
  5466. | f83-9226-67fe8b | | | | 'admin', |
  5467. | 57d88a | | | | 'tenant_name': |
  5468. | | | | | 'admin', |
  5469. | | | | | 'poll_time': |
  5470. | | | | | '10', 'password': |
  5471. | | | | | '<hidden>', |
  5472. | | | | | 'auth_url': 'http |
  5473. | | | | | ://192.168.218.18 |
  5474. | | | | | 4/identity'} |
  5475. | 50c67b21-9aad-4 | nova | True | nova | {'username': |
  5476. | a49-ae51-3e83fc | | | | 'admin', |
  5477. | 39f65b | | | | 'tenant_name': |
  5478. | | | | | 'admin', |
  5479. | | | | | 'poll_time': '5', |
  5480. | | | | | 'password': |
  5481. | | | | | '<hidden>', |
  5482. | | | | | 'auth_url': 'http |
  5483. | | | | | ://127.0.0.1:5000 |
  5484. | | | | | /v3'} |
  5485. | 56a0a538-4ff7 | neutronv2 | True | neutronv2 | {'username': |
  5486. | -48aa-abf7-cf35 | | | | 'admin', |
  5487. | 209a5f2c | | | | 'tenant_name': |
  5488. | | | | | 'admin', |
  5489. | | | | | 'poll_time': |
  5490. | | | | | '10', 'password': |
  5491. | | | | | '<hidden>', |
  5492. | | | | | 'auth_url': 'http |
  5493. | | | | | ://192.168.218.18 |
  5494. | | | | | 4/identity'} |
  5495. | 5b5c8438-a2ef-4 | glancev2 | True | glancev2 | {'username': |
  5496. | bec-8772-f2ca40 | | | | 'admin', |
  5497. | 002fed | | | | 'tenant_name': |
  5498. | | | | | 'admin', |
  5499. | | | | | 'poll_time': |
  5500. | | | | | '10', 'password': |
  5501. | | | | | '<hidden>', |
  5502. | | | | | 'auth_url': 'http |
  5503. | | | | | ://192.168.218.18 |
  5504. | | | | | 4/identity'} |
  5505. | 5cac77e5-6a83-4 | fake2 | True | fake_datasource | {'username': |
  5506. | c10-b495-a06ba5 | | | | 'admin', |
  5507. | 45674b | | | | 'tenant_name': |
  5508. | | | | | 'admin', |
  5509. | | | | | 'poll_time': '5', |
  5510. | | | | | 'password': |
  5511. | | | | | '<hidden>', |
  5512. | | | | | 'auth_url': 'http |
  5513. | | | | | ://127.0.0.1:5000 |
  5514. | | | | | /v2'} |
  5515. | 650fdbe5-5c3f-4 | aodh | True | aodh | {'username': |
  5516. | 851-970d- | | | | 'admin', |
  5517. | d55d1a97da6f | | | | 'tenant_name': |
  5518. | | | | | 'admin', |
  5519. | | | | | 'poll_time': |
  5520. | | | | | '10', 'password': |
  5521. | | | | | '<hidden>', |
  5522. | | | | | 'auth_url': 'http |
  5523. | | | | | ://192.168.218.18 |
  5524. | | | | | 4/identity'} |
  5525. | 7632adb5-c106 | nova2 | True | nova | {'username': |
  5526. | -468b-ae60-bc57 | | | | 'admin', |
  5527. | 6a73072d | | | | 'tenant_name': |
  5528. | | | | | 'admin', |
  5529. | | | | | 'poll_time': '5', |
  5530. | | | | | 'password': |
  5531. | | | | | '<hidden>', |
  5532. | | | | | 'auth_url': 'http |
  5533. | | | | | ://127.0.0.1:5000 |
  5534. | | | | | /v3'} |
  5535. | 7dff8365-9e6a-4 | fake | True | fake_datasource | {'username': |
  5536. | 226-a704-be3e61 | | | | 'admin', |
  5537. | 02b3f2 | | | | 'tenant_name': |
  5538. | | | | | 'admin', |
  5539. | | | | | 'poll_time': '5', |
  5540. | | | | | 'password': |
  5541. | | | | | '<hidden>', |
  5542. | | | | | 'auth_url': 'http |
  5543. | | | | | ://192.168.218.18 |
  5544. | | | | | 4/identity'} |
  5545. | 973075ba-3921 | heat | True | heat | {'username': |
  5546. | -479c-ba00-27b3 | | | | 'admin', |
  5547. | eeae68ee | | | | 'tenant_name': |
  5548. | | | | | 'admin', |
  5549. | | | | | 'poll_time': |
  5550. | | | | | '10', 'password': |
  5551. | | | | | '<hidden>', |
  5552. | | | | | 'auth_url': 'http |
  5553. | | | | | ://192.168.218.18 |
  5554. | | | | | 4/identity'} |
  5555. | 98ee8d01-325a-4 | keystonev3 | True | keystonev3 | {'username': |
  5556. | 321-8992-6d862e | | | | 'admin', |
  5557. | ecdd5b | | | | 'tenant_name': |
  5558. | | | | | 'admin', |
  5559. | | | | | 'poll_time': |
  5560. | | | | | '10', 'password': |
  5561. | | | | | '<hidden>', |
  5562. | | | | | 'auth_url': 'http |
  5563. | | | | | ://192.168.218.18 |
  5564. | | | | | 4/identity'} |
  5565. | d21afd2f-af3a-4 | murano | True | murano | {'username': |
  5566. | dc1-9c63-eee592 | | | | 'admin', |
  5567. | 12702a | | | | 'tenant_name': |
  5568. | | | | | 'admin', |
  5569. | | | | | 'poll_time': |
  5570. | | | | | '10', 'password': |
  5571. | | | | | '<hidden>', |
  5572. | | | | | 'auth_url': 'http |
  5573. | | | | | ://192.168.218.18 |
  5574. | | | | | 4/identity'} |
  5575. +-----------------+------------+---------+-----------------+-------------------+
  5576. +../congress/scripts/manual_testing/general.sh:main:19 openstack congress datasource request-refresh nova2
  5577. +../congress/scripts/manual_testing/general.sh:main:20 openstack congress datasource request-refresh 7632adb5-c106-468b-ae60-bc576a73072d
  5578. +../congress/scripts/manual_testing/general.sh:main:21 openstack congress datasource schema show nova2
  5579. +--------------------+---------------------------------------------------------+
  5580. | table | columns |
  5581. +--------------------+---------------------------------------------------------+
  5582. | flavors | {'name': 'id', 'description': 'ID of the flavor'}, |
  5583. | | {'name': 'name', 'description': 'Name of the flavor'}, |
  5584. | | {'name': 'vcpus', 'description': 'Number of vcpus'}, |
  5585. | | {'name': 'ram', 'description': 'Memory size in MB'}, |
  5586. | | {'name': 'disk', 'description': 'Disk size in GB'}, |
  5587. | | {'name': 'ephemeral', 'description': 'Ephemeral space |
  5588. | | size in GB'}, |
  5589. | | {'name': 'rxtx_factor', 'description': 'RX/TX factor'} |
  5590. | | |
  5591. | services | {'name': 'service_id', 'description': 'Service ID'}, |
  5592. | | {'name': 'binary', 'description': 'Service binary'}, |
  5593. | | {'name': 'host', 'description': 'Host Name'}, |
  5594. | | {'name': 'zone', 'description': 'Availability Zone'}, |
  5595. | | {'name': 'status', 'description': 'Status of service'}, |
  5596. | | {'name': 'state', 'description': 'State of service'}, |
  5597. | | {'name': 'updated_at', 'description': 'Last updated |
  5598. | | time'}, |
  5599. | | {'name': 'disabled_reason', 'description': 'Disabled |
  5600. | | reason'} |
  5601. | | |
  5602. | availability_zones | {'name': 'zone', 'description': 'Availability zone |
  5603. | | name'}, |
  5604. | | {'name': 'state', 'description': 'Availability zone |
  5605. | | state'} |
  5606. | | |
  5607. | hosts | {'name': 'host_name', 'description': 'Name of host'}, |
  5608. | | {'name': 'service', 'description': 'Enabled service'}, |
  5609. | | {'name': 'zone', 'description': 'The availability zone |
  5610. | | of host'} |
  5611. | | |
  5612. | servers | {'name': 'id', 'description': 'The UUID for the |
  5613. | | server'}, |
  5614. | | {'name': 'name', 'description': 'Name of the server'}, |
  5615. | | {'name': 'host_id', 'description': 'The UUID for the |
  5616. | | host'}, |
  5617. | | {'name': 'status', 'description': 'The server status'}, |
  5618. | | {'name': 'tenant_id', 'description': 'The tenant ID'}, |
  5619. | | {'name': 'user_id', 'description': 'The user ID of the |
  5620. | | user who owns the server'}, |
  5621. | | {'name': 'image_id', 'description': 'Name or ID of |
  5622. | | image'}, |
  5623. | | {'name': 'flavor_id', 'description': 'ID of the |
  5624. | | flavor'}, |
  5625. | | {'name': 'zone', 'description': 'The availability zone |
  5626. | | of host'}, |
  5627. | | {'name': 'host_name', 'description': 'The hostname of |
  5628. | | hypervisor where the server is running'} |
  5629. | | |
  5630. +--------------------+---------------------------------------------------------+
  5631. +../congress/scripts/manual_testing/general.sh:main:22 openstack congress datasource schema show 7632adb5-c106-468b-ae60-bc576a73072d
  5632. +--------------------+---------------------------------------------------------+
  5633. | table | columns |
  5634. +--------------------+---------------------------------------------------------+
  5635. | flavors | {'name': 'id', 'description': 'ID of the flavor'}, |
  5636. | | {'name': 'name', 'description': 'Name of the flavor'}, |
  5637. | | {'name': 'vcpus', 'description': 'Number of vcpus'}, |
  5638. | | {'name': 'ram', 'description': 'Memory size in MB'}, |
  5639. | | {'name': 'disk', 'description': 'Disk size in GB'}, |
  5640. | | {'name': 'ephemeral', 'description': 'Ephemeral space |
  5641. | | size in GB'}, |
  5642. | | {'name': 'rxtx_factor', 'description': 'RX/TX factor'} |
  5643. | | |
  5644. | services | {'name': 'service_id', 'description': 'Service ID'}, |
  5645. | | {'name': 'binary', 'description': 'Service binary'}, |
  5646. | | {'name': 'host', 'description': 'Host Name'}, |
  5647. | | {'name': 'zone', 'description': 'Availability Zone'}, |
  5648. | | {'name': 'status', 'description': 'Status of service'}, |
  5649. | | {'name': 'state', 'description': 'State of service'}, |
  5650. | | {'name': 'updated_at', 'description': 'Last updated |
  5651. | | time'}, |
  5652. | | {'name': 'disabled_reason', 'description': 'Disabled |
  5653. | | reason'} |
  5654. | | |
  5655. | availability_zones | {'name': 'zone', 'description': 'Availability zone |
  5656. | | name'}, |
  5657. | | {'name': 'state', 'description': 'Availability zone |
  5658. | | state'} |
  5659. | | |
  5660. | hosts | {'name': 'host_name', 'description': 'Name of host'}, |
  5661. | | {'name': 'service', 'description': 'Enabled service'}, |
  5662. | | {'name': 'zone', 'description': 'The availability zone |
  5663. | | of host'} |
  5664. | | |
  5665. | servers | {'name': 'id', 'description': 'The UUID for the |
  5666. | | server'}, |
  5667. | | {'name': 'name', 'description': 'Name of the server'}, |
  5668. | | {'name': 'host_id', 'description': 'The UUID for the |
  5669. | | host'}, |
  5670. | | {'name': 'status', 'description': 'The server status'}, |
  5671. | | {'name': 'tenant_id', 'description': 'The tenant ID'}, |
  5672. | | {'name': 'user_id', 'description': 'The user ID of the |
  5673. | | user who owns the server'}, |
  5674. | | {'name': 'image_id', 'description': 'Name or ID of |
  5675. | | image'}, |
  5676. | | {'name': 'flavor_id', 'description': 'ID of the |
  5677. | | flavor'}, |
  5678. | | {'name': 'zone', 'description': 'The availability zone |
  5679. | | of host'}, |
  5680. | | {'name': 'host_name', 'description': 'The hostname of |
  5681. | | hypervisor where the server is running'} |
  5682. | | |
  5683. +--------------------+---------------------------------------------------------+
  5684. +../congress/scripts/manual_testing/general.sh:main:23 openstack congress datasource status show nova2
  5685. +-------------------+----------------------------------------------------------+
  5686. | Field | Value |
  5687. +-------------------+----------------------------------------------------------+
  5688. | initialized | True |
  5689. | last_error | Unable to establish connection to |
  5690. | | http://127.0.0.1:5000/v3/auth/tokens: |
  5691. | | HTTPConnectionPool(host='127.0.0.1', port=5000): Max |
  5692. | | retries exceeded with url: /v3/auth/tokens (Caused by |
  5693. | | NewConnectionError('<urllib3.connection.HTTPConnection |
  5694. | | object at 0x7fe45f8e8d90>: Failed to establish a new |
  5695. | | connection: [Errno 111] ECONNREFUSED',)) |
  5696. | last_updated | 2017-07-25 21:14:34.594420 |
  5697. | number_of_updates | 6 |
  5698. | subscribers | [] |
  5699. | subscriptions | [] |
  5700. +-------------------+----------------------------------------------------------+
  5701. +../congress/scripts/manual_testing/general.sh:main:24 openstack congress datasource status show 7632adb5-c106-468b-ae60-bc576a73072d
  5702. +-------------------+----------------------------------------------------------+
  5703. | Field | Value |
  5704. +-------------------+----------------------------------------------------------+
  5705. | initialized | True |
  5706. | last_error | Unable to establish connection to |
  5707. | | http://127.0.0.1:5000/v3/auth/tokens: |
  5708. | | HTTPConnectionPool(host='127.0.0.1', port=5000): Max |
  5709. | | retries exceeded with url: /v3/auth/tokens (Caused by |
  5710. | | NewConnectionError('<urllib3.connection.HTTPConnection |
  5711. | | object at 0x7fe45f8e8d90>: Failed to establish a new |
  5712. | | connection: [Errno 111] ECONNREFUSED',)) |
  5713. | last_updated | 2017-07-25 21:14:34.594420 |
  5714. | number_of_updates | 6 |
  5715. | subscribers | [] |
  5716. | subscriptions | [] |
  5717. +-------------------+----------------------------------------------------------+
  5718. +../congress/scripts/manual_testing/general.sh:main:25 openstack congress datasource table list nova2
  5719. +--------------------+
  5720. | id |
  5721. +--------------------+
  5722. | flavors |
  5723. | services |
  5724. | availability_zones |
  5725. | hosts |
  5726. | servers |
  5727. +--------------------+
  5728. +../congress/scripts/manual_testing/general.sh:main:26 openstack congress datasource table list 7632adb5-c106-468b-ae60-bc576a73072d
  5729. +--------------------+
  5730. | id |
  5731. +--------------------+
  5732. | flavors |
  5733. | services |
  5734. | availability_zones |
  5735. | hosts |
  5736. | servers |
  5737. +--------------------+
  5738. +../congress/scripts/manual_testing/general.sh:main:27 openstack congress datasource table schema show nova2 flavors
  5739. +-------------+----------------------------+
  5740. | name | description |
  5741. +-------------+----------------------------+
  5742. | id | ID of the flavor |
  5743. | name | Name of the flavor |
  5744. | vcpus | Number of vcpus |
  5745. | ram | Memory size in MB |
  5746. | disk | Disk size in GB |
  5747. | ephemeral | Ephemeral space size in GB |
  5748. | rxtx_factor | RX/TX factor |
  5749. +-------------+----------------------------+
  5750. +../congress/scripts/manual_testing/general.sh:main:28 openstack congress datasource table schema show 7632adb5-c106-468b-ae60-bc576a73072d flavors
  5751. +-------------+----------------------------+
  5752. | name | description |
  5753. +-------------+----------------------------+
  5754. | id | ID of the flavor |
  5755. | name | Name of the flavor |
  5756. | vcpus | Number of vcpus |
  5757. | ram | Memory size in MB |
  5758. | disk | Disk size in GB |
  5759. | ephemeral | Ephemeral space size in GB |
  5760. | rxtx_factor | RX/TX factor |
  5761. +-------------+----------------------------+
  5762. +../congress/scripts/manual_testing/general.sh:main:29 openstack congress datasource table show nova2 flavors
  5763. +-------+---------+
  5764. | Field | Value |
  5765. +-------+---------+
  5766. | id | flavors |
  5767. +-------+---------+
  5768. +../congress/scripts/manual_testing/general.sh:main:30 openstack congress datasource table show 7632adb5-c106-468b-ae60-bc576a73072d flavors
  5769. +-------+---------+
  5770. | Field | Value |
  5771. +-------+---------+
  5772. | id | flavors |
  5773. +-------+---------+
  5774. +../congress/scripts/manual_testing/general.sh:main:31 openstack congress driver config show nova
  5775. +-------------+----------------------------------------------------------------+
  5776. | Field | Value |
  5777. +-------------+----------------------------------------------------------------+
  5778. | config | {u'username': u'required', u'lazy_tables': u'(optional)', |
  5779. | | u'project_name': u'(optional)', u'tenant_name': u'required', |
  5780. | | u'region': u'(optional)', u'endpoint': u'(optional)', |
  5781. | | u'auth_url': u'required', u'password': u'required', |
  5782. | | u'poll_time': u'(optional)', u'api_version': u'(optional)'} |
  5783. | description | Datasource driver that interfaces with OpenStack Compute aka |
  5784. | | nova. |
  5785. | id | nova |
  5786. | module | congress.datasources.nova_driver.NovaDriver |
  5787. | secret | [u'password'] |
  5788. +-------------+----------------------------------------------------------------+
  5789. +../congress/scripts/manual_testing/general.sh:main:32 openstack congress driver list
  5790. +-----------------+------------------------------------------------------------+
  5791. | id | description |
  5792. +-----------------+------------------------------------------------------------+
  5793. | ceilometer | Datasource driver that interfaces with ceilometer. |
  5794. | plexxi | Datasource driver that interfaces with PlexxiCore. |
  5795. | doctor | Datasource driver that allows external systems to push |
  5796. | | data in accordance with OPNFV Doctor Inspector southbound |
  5797. | | interface specification. |
  5798. | swift | Datasource driver that interfaces with swift. |
  5799. | neutronv2 | Datasource driver that interfaces with OpenStack |
  5800. | | Networking aka Neutron. |
  5801. | heat | Datasource driver that interfaces with OpenStack |
  5802. | | orchestration aka heat. |
  5803. | nova | Datasource driver that interfaces with OpenStack Compute |
  5804. | | aka nova. |
  5805. | murano | Datasource driver that interfaces with murano |
  5806. | aodh | Datasource driver that interfaces with aodh. |
  5807. | ironic | Datasource driver that interfaces with OpenStack bare |
  5808. | | metal aka ironic. |
  5809. | cinder | Datasource driver that interfaces with OpenStack cinder. |
  5810. | vcenter | Datasource driver that interfaces with vcenter |
  5811. | glancev2 | Datasource driver that interfaces with OpenStack Images |
  5812. | | aka Glance. |
  5813. | fake_datasource | This is a fake driver used for testing |
  5814. | keystonev3 | Datasource driver that interfaces with keystone. |
  5815. +-----------------+------------------------------------------------------------+
  5816. +../congress/scripts/manual_testing/general.sh:main:33 openstack congress driver schema show nova
  5817. +--------------------+---------------------------------------------------------+
  5818. | table | columns |
  5819. +--------------------+---------------------------------------------------------+
  5820. | flavors | {'name': 'id', 'description': 'ID of the flavor'}, |
  5821. | | {'name': 'name', 'description': 'Name of the flavor'}, |
  5822. | | {'name': 'vcpus', 'description': 'Number of vcpus'}, |
  5823. | | {'name': 'ram', 'description': 'Memory size in MB'}, |
  5824. | | {'name': 'disk', 'description': 'Disk size in GB'}, |
  5825. | | {'name': 'ephemeral', 'description': 'Ephemeral space |
  5826. | | size in GB'}, |
  5827. | | {'name': 'rxtx_factor', 'description': 'RX/TX factor'} |
  5828. | | |
  5829. | services | {'name': 'service_id', 'description': 'Service ID'}, |
  5830. | | {'name': 'binary', 'description': 'Service binary'}, |
  5831. | | {'name': 'host', 'description': 'Host Name'}, |
  5832. | | {'name': 'zone', 'description': 'Availability Zone'}, |
  5833. | | {'name': 'status', 'description': 'Status of service'}, |
  5834. | | {'name': 'state', 'description': 'State of service'}, |
  5835. | | {'name': 'updated_at', 'description': 'Last updated |
  5836. | | time'}, |
  5837. | | {'name': 'disabled_reason', 'description': 'Disabled |
  5838. | | reason'} |
  5839. | | |
  5840. | availability_zones | {'name': 'zone', 'description': 'Availability zone |
  5841. | | name'}, |
  5842. | | {'name': 'state', 'description': 'Availability zone |
  5843. | | state'} |
  5844. | | |
  5845. | hosts | {'name': 'host_name', 'description': 'Name of host'}, |
  5846. | | {'name': 'service', 'description': 'Enabled service'}, |
  5847. | | {'name': 'zone', 'description': 'The availability zone |
  5848. | | of host'} |
  5849. | | |
  5850. | servers | {'name': 'id', 'description': 'The UUID for the |
  5851. | | server'}, |
  5852. | | {'name': 'name', 'description': 'Name of the server'}, |
  5853. | | {'name': 'host_id', 'description': 'The UUID for the |
  5854. | | host'}, |
  5855. | | {'name': 'status', 'description': 'The server status'}, |
  5856. | | {'name': 'tenant_id', 'description': 'The tenant ID'}, |
  5857. | | {'name': 'user_id', 'description': 'The user ID of the |
  5858. | | user who owns the server'}, |
  5859. | | {'name': 'image_id', 'description': 'Name or ID of |
  5860. | | image'}, |
  5861. | | {'name': 'flavor_id', 'description': 'ID of the |
  5862. | | flavor'}, |
  5863. | | {'name': 'zone', 'description': 'The availability zone |
  5864. | | of host'}, |
  5865. | | {'name': 'host_name', 'description': 'The hostname of |
  5866. | | hypervisor where the server is running'} |
  5867. | | |
  5868. +--------------------+---------------------------------------------------------+
  5869. +../congress/scripts/manual_testing/general.sh:main:34 openstack congress datasource row list nova flavors
  5870.  
  5871. +../congress/scripts/manual_testing/general.sh:main:35 openstack congress datasource row list nova2 flavors
  5872.  
  5873. +../congress/scripts/manual_testing/general.sh:main:36 openstack congress datasource row list 7632adb5-c106-468b-ae60-bc576a73072d flavors
  5874.  
  5875. +../congress/scripts/manual_testing/general.sh:main:37 openstack congress datasource delete nova2
  5876. ++../congress/scripts/manual_testing/general.sh:main:39 openstack congress policy create policy1 -f value
  5877. ++../congress/scripts/manual_testing/general.sh:main:39 sed -n 3p
  5878. +../congress/scripts/manual_testing/general.sh:main:39 PUUID=bdbe4151-4190-4e11-b3a7-12b80ceedd78
  5879. +../congress/scripts/manual_testing/general.sh:main:40 openstack congress policy show policy1
  5880. +--------------+--------------------------------------+
  5881. | Field | Value |
  5882. +--------------+--------------------------------------+
  5883. | abbreviation | polic |
  5884. | description | |
  5885. | id | bdbe4151-4190-4e11-b3a7-12b80ceedd78 |
  5886. | kind | nonrecursive |
  5887. | name | policy1 |
  5888. | owner_id | user |
  5889. +--------------+--------------------------------------+
  5890. +../congress/scripts/manual_testing/general.sh:main:41 openstack congress policy show bdbe4151-4190-4e11-b3a7-12b80ceedd78
  5891. +--------------+--------------------------------------+
  5892. | Field | Value |
  5893. +--------------+--------------------------------------+
  5894. | abbreviation | polic |
  5895. | description | |
  5896. | id | bdbe4151-4190-4e11-b3a7-12b80ceedd78 |
  5897. | kind | nonrecursive |
  5898. | name | policy1 |
  5899. | owner_id | user |
  5900. +--------------+--------------------------------------+
  5901. +../congress/scripts/manual_testing/general.sh:main:42 openstack congress policy list
  5902. +----------------+----------------+----------+--------------+------------------+
  5903. | id | name | owner_id | kind | description |
  5904. +----------------+----------------+----------+--------------+------------------+
  5905. | b7045f26-49ef- | action | user | action | default action |
  5906. | 4bd1-a9f2-b442 | | | | policy |
  5907. | 213d1dd2 | | | | |
  5908. | bdbe4151-4190- | policy1 | user | nonrecursive | |
  5909. | 4e11-b3a7-12b8 | | | | |
  5910. | 0ceedd78 | | | | |
  5911. | dd178062-087c- | classification | user | nonrecursive | default policy |
  5912. | 4a8e-92bf- | | | | |
  5913. | 4233af5f02d8 | | | | |
  5914. +----------------+----------------+----------+--------------+------------------+
  5915. ++../congress/scripts/manual_testing/general.sh:main:43 sed -n 2p
  5916. ++../congress/scripts/manual_testing/general.sh:main:43 openstack congress policy rule create policy1 'temp(1,2)' -f value
  5917. +../congress/scripts/manual_testing/general.sh:main:43 UUID=5231b749-3194-4dff-bcd2-958fbbf78b04
  5918. +../congress/scripts/manual_testing/general.sh:main:44 openstack congress policy rule show policy1 5231b749-3194-4dff-bcd2-958fbbf78b04
  5919. +---------+--------------------------------------+
  5920. | Field | Value |
  5921. +---------+--------------------------------------+
  5922. | comment | |
  5923. | id | 5231b749-3194-4dff-bcd2-958fbbf78b04 |
  5924. | name | None |
  5925. | rule | temp(1,2) |
  5926. +---------+--------------------------------------+
  5927. +../congress/scripts/manual_testing/general.sh:main:45 openstack congress policy rule delete policy1 5231b749-3194-4dff-bcd2-958fbbf78b04
  5928. +../congress/scripts/manual_testing/general.sh:main:49 openstack congress policy rule create policy1 'q(1,2)'
  5929. +---------+--------------------------------------+
  5930. | Field | Value |
  5931. +---------+--------------------------------------+
  5932. | comment | |
  5933. | id | 83cea399-fb54-46b1-87e6-289f752a8ad6 |
  5934. | name | None |
  5935. | rule | q(1,2) |
  5936. +---------+--------------------------------------+
  5937. +../congress/scripts/manual_testing/general.sh:main:50 openstack congress policy rule list policy1
  5938. // ID: 83cea399-fb54-46b1-87e6-289f752a8ad6
  5939. // Name: None
  5940. q(1,2)
  5941.  
  5942. +../congress/scripts/manual_testing/general.sh:main:52 openstack congress policy rule create policy1 'q(2,3)'
  5943. +---------+--------------------------------------+
  5944. | Field | Value |
  5945. +---------+--------------------------------------+
  5946. | comment | |
  5947. | id | 3f8d8ba4-0b54-429f-a55d-2f5110781e62 |
  5948. | name | None |
  5949. | rule | q(2,3) |
  5950. +---------+--------------------------------------+
  5951. +../congress/scripts/manual_testing/general.sh:main:53 openstack congress policy rule create policy1 'p(x,y) :- q(x,y), r(y,x)'
  5952. +---------+--------------------------------------+
  5953. | Field | Value |
  5954. +---------+--------------------------------------+
  5955. | comment | |
  5956. | id | 8b01a41b-06cb-46c4-bd05-22ffb24a4d75 |
  5957. | name | None |
  5958. | rule | p(x,y) :- |
  5959. | | q(x,y), |
  5960. | | r(y,x) |
  5961. +---------+--------------------------------------+
  5962. +../congress/scripts/manual_testing/general.sh:main:54 openstack congress policy row list policy1 q
  5963. +------+------+
  5964. | Col0 | Col1 |
  5965. +------+------+
  5966. | 1 | 2 |
  5967. | 2 | 3 |
  5968. +------+------+
  5969. +../congress/scripts/manual_testing/general.sh:main:56 openstack congress policy row list policy1 p
  5970.  
  5971. +../congress/scripts/manual_testing/general.sh:main:57 openstack congress policy rule create policy1 'r(2,1)'
  5972. +---------+--------------------------------------+
  5973. | Field | Value |
  5974. +---------+--------------------------------------+
  5975. | comment | |
  5976. | id | 1390b300-b4fd-433c-83bd-efd8a7346cb6 |
  5977. | name | None |
  5978. | rule | r(2,1) |
  5979. +---------+--------------------------------------+
  5980. +../congress/scripts/manual_testing/general.sh:main:58 openstack congress policy rule create policy1 'r(3,2)'
  5981. +---------+--------------------------------------+
  5982. | Field | Value |
  5983. +---------+--------------------------------------+
  5984. | comment | |
  5985. | id | 5f8b3e72-0d87-4bdf-bbf3-0b6b6d5e1c2c |
  5986. | name | None |
  5987. | rule | r(3,2) |
  5988. +---------+--------------------------------------+
  5989. +../congress/scripts/manual_testing/general.sh:main:59 openstack congress policy rule create policy1 'r(5,7)'
  5990. +---------+--------------------------------------+
  5991. | Field | Value |
  5992. +---------+--------------------------------------+
  5993. | comment | |
  5994. | id | 7887e6f0-a717-4580-9ef1-e1463e1fdc55 |
  5995. | name | None |
  5996. | rule | r(5,7) |
  5997. +---------+--------------------------------------+
  5998. +../congress/scripts/manual_testing/general.sh:main:60 openstack congress policy rule create policy1 'r(9,9)'
  5999. +---------+--------------------------------------+
  6000. | Field | Value |
  6001. +---------+--------------------------------------+
  6002. | comment | |
  6003. | id | f1c48bfd-f181-459d-b7f6-9fd46c65c914 |
  6004. | name | None |
  6005. | rule | r(9,9) |
  6006. +---------+--------------------------------------+
  6007. +../congress/scripts/manual_testing/general.sh:main:61 openstack congress policy rule create policy1 'q(5,7)'
  6008. +---------+--------------------------------------+
  6009. | Field | Value |
  6010. +---------+--------------------------------------+
  6011. | comment | |
  6012. | id | e705d1ed-98f1-4924-b166-8371fab2b381 |
  6013. | name | None |
  6014. | rule | q(5,7) |
  6015. +---------+--------------------------------------+
  6016. +../congress/scripts/manual_testing/general.sh:main:63 openstack congress policy table list policy1
  6017. +----+
  6018. | id |
  6019. +----+
  6020. | q |
  6021. | p |
  6022. | r |
  6023. +----+
  6024. +../congress/scripts/manual_testing/general.sh:main:65 openstack congress policy table show policy1 p
  6025. +-------+-------+
  6026. | Field | Value |
  6027. +-------+-------+
  6028. | id | p |
  6029. +-------+-------+
  6030. +../congress/scripts/manual_testing/general.sh:main:67 openstack congress policy row list policy1 q
  6031. +------+------+
  6032. | Col0 | Col1 |
  6033. +------+------+
  6034. | 1 | 2 |
  6035. | 2 | 3 |
  6036. | 5 | 7 |
  6037. +------+------+
  6038. +../congress/scripts/manual_testing/general.sh:main:68 openstack congress policy row list policy1 r
  6039. +------+------+
  6040. | Col0 | Col1 |
  6041. +------+------+
  6042. | 9 | 9 |
  6043. | 5 | 7 |
  6044. | 3 | 2 |
  6045. | 2 | 1 |
  6046. +------+------+
  6047. +../congress/scripts/manual_testing/general.sh:main:69 openstack congress policy row list policy1 p
  6048. +------+------+
  6049. | Col0 | Col1 |
  6050. +------+------+
  6051. | 1 | 2 |
  6052. | 2 | 3 |
  6053. +------+------+
  6054. +../congress/scripts/manual_testing/general.sh:main:70 openstack congress policy rule create policy1 'p(x,y) :- r(x,y), NOT equal(x,9)'
  6055. +---------+--------------------------------------+
  6056. | Field | Value |
  6057. +---------+--------------------------------------+
  6058. | comment | |
  6059. | id | c0a10610-ea07-4115-a81b-4d0686cda833 |
  6060. | name | None |
  6061. | rule | p(x,y) :- |
  6062. | | r(x,y), |
  6063. | | NOT equal(x,9) |
  6064. +---------+--------------------------------------+
  6065. +../congress/scripts/manual_testing/general.sh:main:71 openstack congress policy row list policy1 p
  6066. +------+------+
  6067. | Col0 | Col1 |
  6068. +------+------+
  6069. | 2 | 1 |
  6070. | 3 | 2 |
  6071. | 1 | 2 |
  6072. | 5 | 7 |
  6073. | 2 | 3 |
  6074. +------+------+
  6075. +../congress/scripts/manual_testing/general.sh:main:72 openstack congress policy rule create policy1 's(x) :- nova:flavors(vcpus=x), p(x,y)'
  6076. +---------+--------------------------------------+
  6077. | Field | Value |
  6078. +---------+--------------------------------------+
  6079. | comment | |
  6080. | id | 9825eb1c-4214-4b97-a001-b7576a3edd5e |
  6081. | name | None |
  6082. | rule | s(x) :- |
  6083. | | nova:flavors(vcpus=x), |
  6084. | | p(x,y) |
  6085. +---------+--------------------------------------+
  6086. +../congress/scripts/manual_testing/general.sh:main:73 openstack congress policy rule create policy1 't(x) :- nova:flavors(vcpus=x), NOT s(x)'
  6087. +---------+--------------------------------------+
  6088. | Field | Value |
  6089. +---------+--------------------------------------+
  6090. | comment | |
  6091. | id | 564895cd-678d-45d8-8301-6219a9c2f7c3 |
  6092. | name | None |
  6093. | rule | t(x) :- |
  6094. | | nova:flavors(vcpus=x), |
  6095. | | NOT s(x) |
  6096. +---------+--------------------------------------+
  6097. +../congress/scripts/manual_testing/general.sh:main:74 openstack congress policy row list policy1 s
  6098.  
  6099. +../congress/scripts/manual_testing/general.sh:main:75 openstack congress policy row list policy1 t
  6100.  
  6101. +../congress/scripts/manual_testing/general.sh:main:76 openstack congress policy create policy2
  6102. +--------------+--------------------------------------+
  6103. | Field | Value |
  6104. +--------------+--------------------------------------+
  6105. | abbreviation | polic |
  6106. | description | |
  6107. | id | 34f415a6-be4f-428b-8d1c-ae3f3075a3d6 |
  6108. | kind | nonrecursive |
  6109. | name | policy2 |
  6110. | owner_id | user |
  6111. +--------------+--------------------------------------+
  6112. +../congress/scripts/manual_testing/general.sh:main:77 openstack congress policy rule create policy2 'a(1,2)'
  6113. +---------+--------------------------------------+
  6114. | Field | Value |
  6115. +---------+--------------------------------------+
  6116. | comment | |
  6117. | id | d8ae5ecf-323e-46c1-a599-d1a73779c55b |
  6118. | name | None |
  6119. | rule | a(1,2) |
  6120. +---------+--------------------------------------+
  6121. +../congress/scripts/manual_testing/general.sh:main:78 openstack congress policy row list policy2 a
  6122. +------+------+
  6123. | Col0 | Col1 |
  6124. +------+------+
  6125. | 1 | 2 |
  6126. +------+------+
  6127. +../congress/scripts/manual_testing/general.sh:main:79 openstack congress policy table list policy2
  6128. +----+
  6129. | id |
  6130. +----+
  6131. | a |
  6132. +----+
  6133. +../congress/scripts/manual_testing/general.sh:main:80 openstack congress policy rule create policy1 'u(x,y) :- q(x,y), NOT policy2:a(x,y)'
  6134. +---------+--------------------------------------+
  6135. | Field | Value |
  6136. +---------+--------------------------------------+
  6137. | comment | |
  6138. | id | 6b7fdc94-2668-4869-ad3d-6ea2d6a6599c |
  6139. | name | None |
  6140. | rule | u(x,y) :- |
  6141. | | q(x,y), |
  6142. | | NOT policy2:a(x,y) |
  6143. +---------+--------------------------------------+
  6144. +../congress/scripts/manual_testing/general.sh:main:81 openstack congress policy row list policy1 u
  6145. +------+------+
  6146. | Col0 | Col1 |
  6147. +------+------+
  6148. | 2 | 3 |
  6149. | 5 | 7 |
  6150. +------+------+
  6151. +../congress/scripts/manual_testing/general.sh:main:82 openstack congress policy delete policy2
  6152. +../congress/scripts/manual_testing/general.sh:main:85 openstack congress policy row list policy1 q
  6153. +------+------+
  6154. | Col0 | Col1 |
  6155. +------+------+
  6156. | 1 | 2 |
  6157. | 2 | 3 |
  6158. | 5 | 7 |
  6159. +------+------+
  6160. +../congress/scripts/manual_testing/general.sh:main:86 openstack congress policy row list policy1 r
  6161. +------+------+
  6162. | Col0 | Col1 |
  6163. +------+------+
  6164. | 9 | 9 |
  6165. | 5 | 7 |
  6166. | 3 | 2 |
  6167. | 2 | 1 |
  6168. +------+------+
  6169. +../congress/scripts/manual_testing/general.sh:main:87 openstack congress policy row list policy1 p
  6170. +------+------+
  6171. | Col0 | Col1 |
  6172. +------+------+
  6173. | 3 | 2 |
  6174. | 2 | 1 |
  6175. | 1 | 2 |
  6176. | 5 | 7 |
  6177. | 2 | 3 |
  6178. +------+------+
  6179. +../congress/scripts/manual_testing/general.sh:main:88 openstack congress policy row list policy1 s
  6180.  
  6181. +../congress/scripts/manual_testing/general.sh:main:89 openstack congress policy row list policy1 t
  6182.  
  6183. +../congress/scripts/manual_testing/general.sh:main:92 openstack congress policy rule create policy1 'execute[nova:flavors.delete(id)] :- nova:flavors(id=id,vcpus=x),s(x), q(10,10)'
  6184. +---------+--------------------------------------+
  6185. | Field | Value |
  6186. +---------+--------------------------------------+
  6187. | comment | |
  6188. | id | 4aa07596-0988-4992-bfa6-80b76873037a |
  6189. | name | None |
  6190. | rule | execute[nova:flavors.delete(id)] :- |
  6191. | | nova:flavors(id=id,vcpus=x), |
  6192. | | s(x), |
  6193. | | q(10,10) |
  6194. +---------+--------------------------------------+
  6195. +../congress/scripts/manual_testing/general.sh:main:93 openstack congress policy row list policy1 s
  6196.  
  6197. +../congress/scripts/manual_testing/general.sh:main:96 openstack congress datasource delete nova
  6198. ++../congress/scripts/manual_testing/general.sh:main:97 openstack congress datasource create --config username=admin --config tenant_name=admin --config auth_url=http://127.0.0.1:5000/v3 --config password=password --config poll_time=5 nova nova -f value
  6199. ++../congress/scripts/manual_testing/general.sh:main:97 sed -n 5p
  6200. +../congress/scripts/manual_testing/general.sh:main:97 UUID=439d8eee-0eaf-42e0-a203-91c8fb670ead
  6201. +../congress/scripts/manual_testing/general.sh:main:98 openstack congress datasource row list nova flavors
  6202.  
  6203. +../congress/scripts/manual_testing/general.sh:main:99 openstack congress policy rule create policy1 'q(10,10)'
  6204. +---------+--------------------------------------+
  6205. | Field | Value |
  6206. +---------+--------------------------------------+
  6207. | comment | |
  6208. | id | 677722e1-da54-496b-a028-d68678d476d3 |
  6209. | name | None |
  6210. | rule | q(10,10) |
  6211. +---------+--------------------------------------+
  6212. +../congress/scripts/manual_testing/general.sh:main:100 openstack congress policy row list policy1 s
  6213.  
  6214. +../congress/scripts/manual_testing/general.sh:main:101 openstack congress datasource row list 439d8eee-0eaf-42e0-a203-91c8fb670ead flavors
  6215.  
  6216. +../congress/scripts/manual_testing/general.sh:main:104 openstack congress policy rule create policy1 'simA(x) :- simB(x)'
  6217. +---------+--------------------------------------+
  6218. | Field | Value |
  6219. +---------+--------------------------------------+
  6220. | comment | |
  6221. | id | e3a7c2f5-2694-4285-b5b0-d73918128ddc |
  6222. | name | None |
  6223. | rule | simA(x) :- |
  6224. | | simB(x) |
  6225. +---------+--------------------------------------+
  6226. +../congress/scripts/manual_testing/general.sh:main:105 openstack congress policy simulate policy1 'simA(x)' 'simB+(1)' action
  6227. simA(1)
  6228. +../congress/scripts/manual_testing/general.sh:main:108 openstack congress policy delete bdbe4151-4190-4e11-b3a7-12b80ceedd78
  6229. +../congress/scripts/manual_testing/general.sh:main:109 openstack congress policy list
  6230. +----------------+----------------+----------+--------------+------------------+
  6231. | id | name | owner_id | kind | description |
  6232. +----------------+----------------+----------+--------------+------------------+
  6233. | b7045f26-49ef- | action | user | action | default action |
  6234. | 4bd1-a9f2-b442 | | | | policy |
  6235. | 213d1dd2 | | | | |
  6236. | dd178062-087c- | classification | user | nonrecursive | default policy |
  6237. | 4a8e-92bf- | | | | |
  6238. | 4233af5f02d8 | | | | |
  6239. +----------------+----------------+----------+--------------+------------------+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement