Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.46 KB | None | 0 0
  1. Usage: convirt-cli operation parameters
  2. convirt cli --help operation
  3.  
  4. CLI Setup Details":
  5. For CLI to work, the following information is required.
  6. * CMS url
  7. * CMS username
  8. * CMS pasword
  9.  
  10. You can provide this information via environment variables,
  11. from a file or command line.
  12.  
  13. For using environment variables :
  14. export auth_type='ENV'
  15. export the cms_url,cms_username and cms_password...
  16.  
  17. For using a file :
  18. export auth_type='FILE'
  19. and
  20. cms_config_filename='path to config file.'
  21. The file content should have ...
  22. cms_url=
  23. cms_username=
  24. cms_password=
  25.  
  26. For using commandline:
  27. export auth_type='STDIN'
  28. and
  29. give username,password and url when prompted for.
  30.  
  31. To login as LDAP user , you need to provide the ldap_user
  32. parameter in addition to url,username and password.
  33. set ldap_user to True/False as required.
  34.  
  35. Data Center operations:
  36. list_server_pools Lists all Server Pools
  37. add_server_pool Adds a Server Pool
  38.  
  39. Server Pool operations:
  40. remove_server_pool Removes a Server Pool
  41. list_servers Lists all Managed Servers
  42. add_server Adds a server
  43.  
  44. Server operations:
  45. connect_server Connect to the Server
  46. edit_server Edits Server details
  47. remove_server Removes a Server
  48. kill_all_vms Kill all vms
  49. start_all_vms Start all vms
  50. shutdown_all_vms Shutdown all vms
  51. list_vms Listing Virtual Machines
  52. transfer_node Transfering a node
  53. provision_vm Creates a vm
  54. import_vm Imports a vmconfig to a Server
  55. change_server_password Changes Server password
  56.  
  57. Virtual Machine operations:
  58. remove_vm Deletes a vm
  59. migrate_vm Migrates a vm
  60. start_vm Starts a vm
  61. pause_vm Pauses a vm
  62. resume_vm Resumes a paused vm
  63. shutdown_vm Shuts a vm down
  64. kill_vm Kills a vm
  65. edit_vm_settings Edit the memory and cpu of
  66. virtual machine
  67. snapshot_vm Snapshots a virtual machine
  68.  
  69. Template Library operations:
  70. add_template_group Adds a Template Group
  71. list_template_groups Lists Template Groups
  72. scan_for_templates Scan for new Templates in
  73. default template store
  74. location or given directory
  75. create_template Creates a new Template from
  76. disk reference
  77.  
  78. Templategroup operations:
  79. remove_template_group Removes a Template Group
  80. rename_template_group Renames Template Group
  81. list_templates Lists all Templates
  82.  
  83. Template operations:
  84. remove_template Removes a Template
  85. rename_template Renames a Template
  86. clone_template Creates a Similar Template
  87.  
  88. Task:
  89. task_status Returns details of a Task
  90. cancel_task Cancels a running task
  91. cancel_backup Cancels a running backup policy
  92.  
  93. Metrics operations:
  94. datacenter_summary_info Summary for Data Center
  95. serverpool_summary_info Summary for Server Pool
  96. server_summary_info Summary information for
  97. Server
  98. vm_summary_info Summary infromation for
  99. Virtual Machine
  100. server_metric_info Metric information for server
  101. vm_metric_info Metric information for
  102. virtual Machine
  103.  
  104. get_vm_metrics The cpu /Memory Usage for
  105. Virtual Machine
  106.  
  107. get_server_metrics The cpu /Memory Usage for
  108. Virtual Machine
  109.  
  110. User Permissions:
  111. list_user_operations Lists permitted Operations
  112. for the Entity
  113. has_permission Checks the user's Privilege
  114.  
  115. User Model:
  116. list_users Listing Users
  117. user_info User Information
  118. add_user Adds a User
  119. remove_user Deletes a Usergroup
  120. change_password Change Password
  121.  
  122. list_groups List of Groups
  123. group_info Group Information
  124. add_group Adds a Usergroup
  125. remove_group Deletes a Group
  126. add_group_user Adds a User to Group
  127. remove_group_user Delete a User from Group
  128. assign_role Assign a Role to Group
  129.  
  130. list_roles The list of Roles
  131. add_role Adds a Role
  132. remove_role Deletes a Role
  133. assign_entity_privilege Assign a Privilege for the
  134. Role on the Entity
  135. remove_entity_privilege Remove a Privilege for the
  136. Role on the Entity
  137.  
  138. create_like_role Creates a Similar Role
  139.  
  140. list_privileges List of Privileges
  141. add_privilege Add Privilege
  142. remove_privilege Deleting a Privilege
  143.  
  144. list_operations List of Operations
  145. list_opgroups List of Operations Groups
  146. add_opgroup Add an Operations Group
  147. remove_opgroup Deletes an Operation Group
  148. add_operation Add an Operation to
  149. Operations Group
  150. remove_operation Delete an Operation from
  151. Operations Group
  152.  
  153. create_like_opgroup Creates a similar
  154. Operations_Group
  155. assign_opgroup_privilege Assign a Privilege to the
  156. Operations Group
  157. remove_opgroup_privilege Removes the privilege of
  158. Operations Group
  159.  
  160. High Availability:
  161.  
  162. standby_servers List Standby servers for HA
  163. under a serverpool
  164. get_ha_details Detail whether HA or Not
  165. fencing_details The available fencing
  166. Configurations
  167. vm_priority The Virtuel Machine proirity
  168. enable_ha Enable/Disable High Availability
  169.  
  170. Storage Management:
  171.  
  172. list_storages Lists defined storages
  173. list_storage_disks Lists Storage Disks
  174. add_storage Add a new storage
  175. remove_storage Removes a storage
  176. add_storage_disk Adds a storage disk
  177. remove_storage_disk Removes a disk from a storage
  178. associate_storage_defns Associate storage definition
  179. to serverpool
  180. dissociate_storage_defns Remove storage form the
  181. serverpool
  182. mark_sorage_disk Define disk as allocated
  183.  
  184. Backup and Restore:
  185.  
  186. list_backup_info Backup Informations associated
  187. with a Virtual Machine
  188. list_backups The policies defined with backup
  189. details
  190. backup_vm Virtual Machine backup
  191. restore_vm Restores a Virtual Machine
  192. from a recent Backup
  193.  
  194. Cache:
  195. list_cache_details List all cache details
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement