Skip to content
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

verifying template creation permission based on global parameter #153

Closed
wants to merge 1 commit into from
Closed

verifying template creation permission based on global parameter #153

wants to merge 1 commit into from

Conversation

shwetaag
Copy link

@shwetaag shwetaag commented Apr 9, 2015

Test to create Public Template by registering or by snapshot and volume when
Global parameter 'allow.public.user.template' is set to False
@steps:
1.Set Global parameter 'allow.public.user.template' as False. Restart Management server
2. Create a domain
3. Create a domain admin and a domain user
4. Create a vm as domain user
5. take snapshot of root disk as user vm
6. try to create public template from snapshot . It should fail
7. stop the VM
8. take the public template from volume. it should fail
9. register a public template as a domain user . it should fail
10. create a VM as domain admin
11. create a snapshot of root disk as domain admin
12 create a public template of the snapshot .it should fail
13. Register a public template as domain admin. it should fail
14 Stop the vm as domain admin
15. Create a template from volume as domain admin . it should fail

@eriweb
Copy link
Member

eriweb commented May 28, 2015

@gauravaradhye is this something you could take a look at?

@gauravaradhye
Copy link

@terbolous yes I will review this.

@classmethod
def updateConfigurAndRestart(cls,name, value):
Configurations.update(cls.api_client,
name,value )

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix pep8 issues. You can do this using autopep8 tool.
pip install autopep8.
autopep8 -i -a -a fileName.py

Then check for any issues remaining to be fixed using pep8 fileName.py command. If there are any, fix them manually.
Autopep8 will fix most of the issues but not all.

@DaanHoogland
Copy link
Contributor

@gauravaradhye is it to be merged, is extra work necessary?

@DaanHoogland
Copy link
Contributor

@shwetaag are you still working on this? (if not can you close it?)

@gauravaradhye
Copy link

@DaanHoogland Let's wait for @shwetaag to respond. The patch is not yet updated after the review comments.

@shwetaag
Copy link
Author

@gauravaradhye and @DaanHoogland another request for this was created

#184
and @sanjeevneelarapu reviewed it and checked it . Most of your review comments were incorporated in the new request except moving it to maintenance folder.

@shwetaag shwetaag closed this Jun 22, 2015
rohityadavcloud added a commit that referenced this pull request Jan 20, 2021
Create volume form with support for custom disk offerings.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Co-authored-by: davidjumani <dj.davidjumani1994@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants