Ask Your Question
0

whose responsibility to validate the arguments of a command, client or api

asked 2013-06-08 03:35:07 -0500

narala-surendra gravatar image

updated 2013-06-08 03:36:07 -0500

For example, if any glance command is given with arguments, where those options should be validated. should it be done by glance-client or glance api.

glance image-create --name <name> --dist-format <format> --container-format <format>

where the options --name , --disk-format, --container-format should be validated. Like whether all mandatory options are mentioned or not and their validity.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-06-08 11:26:42 -0500

annegentle gravatar image

In that case, the glance client should validate the options, I believe.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-06-08 03:35:07 -0500

Seen: 58 times

Last updated: Jun 08 '13