-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added sample scripts using V2 Client #3
base: main
Are you sure you want to change the base?
Conversation
naveena-maplelabs
commented
Feb 1, 2024
- Added python script to register vmware source, create a protection job, trigger a run and delete the job.
- Added script to register a view and create a job using the view.
samples/helios/helios_client.py
Outdated
@@ -0,0 +1,57 @@ | |||
import pytest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove the pytest part
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
|
||
|
||
def get_objects_by_vmname(): | ||
vm_size = 99999999999 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this logic this way ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To find a VM of smaller size
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leave a comment with the size of the VM defined, also this could be constant upfront , for users to change the value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay
67d6616
to
680665f
Compare
680665f
to
1bf86d3
Compare