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

validation of cloudmesh.yaml? #31

Open
lee212 opened this issue Apr 22, 2013 · 3 comments
Open

validation of cloudmesh.yaml? #31

lee212 opened this issue Apr 22, 2013 · 3 comments

Comments

@lee212
Copy link
Contributor

lee212 commented Apr 22, 2013

We are in the need of a validation function of the yaml file. Also it would be cool to have a program that expands missing tabs in a yaml file.

could we have a python script that does

cm-manage validate -f filename --fix

fixes the tabs

@lee212
Copy link
Contributor Author

lee212 commented Apr 22, 2013

I found the example by googling cloudmesh.yaml.

I've got two questions:

  • How can I update the yaml file with my information instead of manually modifying it?
  • Can we have a syntax checker for yaml file? I've got
    yaml.scanner.ScannerError: while scanning for the next token. found character '\t' that cannot start any token
    and removed tabs from Gregor's tip.
    If we could have a syntax checker before loading yaml file, it may be helpful to get the file fixed.

@lee212
Copy link
Contributor Author

lee212 commented Apr 22, 2013

I was able to copy and paste the information about Eucalyptus and Openstack from my current futuregrid credentials on $HOME/.futuregrid/.. however, I couldn't find the one about Windows Azure.

Where can I find username: and password: sections from Windows Azure web portal or somewhere else?

@laszewsk
Copy link
Member

how can we do a tab checker for the yaml file?

can you work on this.

maybe we can have in cm_config a method called

validate(self)

@ghost ghost assigned ppnewaskar May 14, 2013
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

No branches or pull requests

3 participants