Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Updated documentation for tenant access set command in admin-cli to keep it consistent with the output of the CLI. #974

Merged
merged 1 commit into from Feb 28, 2017

Conversation

tusharnt
Copy link
Contributor

@tusharnt tusharnt commented Feb 27, 2017

Updated documentation for tenant access set command in admin-cli to keep it consistent with the output of the CLI.

@tusharnt tusharnt added this to the 0.12 milestone Feb 27, 2017
@tusharnt tusharnt self-assigned this Feb 27, 2017
@tusharnt tusharnt changed the title Updated documentation for tenant access set command in admin-cli to k… Updated documentation for tenant access set command in admin-cli to keep it consistent with the output of the CLI. Feb 27, 2017
@@ -390,8 +390,8 @@ usage: vmdkops_admin.py tenant access set [-h]
[--volume-totalsize Num{MB,GB,TB} - e.g. 2TB]
--name NAME
[--volume-maxsize Num{MB,GB,TB} - e.g. 2TB]
[--allow-create] --datastore
DATASTORE
[--allow-create ALLOW_CREATE]
Copy link
Contributor

Choose a reason for hiding this comment

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

  1. How about changing "ALLOW_CREATE" to "True|False" to make it clearer?
  2. We need to make the same change for line 300.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As we discussed, we will address the change to make add and set commands consistent separately.

@@ -401,7 +401,10 @@ optional arguments:
--name NAME Tenant name
--volume-maxsize Num{MB,GB,TB} - e.g. 2TB
Maximum size of the volume that can be created
--allow-create Allow create and delete on datastore if set to True
--allow-create ALLOW_CREATE
Allow create and delete on datastore if set to True;
Copy link
Contributor

Choose a reason for hiding this comment

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

We need to make the same change for line 311.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As we discussed, we will address the change to make add and set commands consistent separately.

…eep it consistent with the output of the CLI.

Addressed Sam's feedback.
Copy link
Contributor

@shuklanirdesh82 shuklanirdesh82 left a comment

Choose a reason for hiding this comment

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

LGTM!

@tusharnt
Copy link
Contributor Author

@pshahzeb is updating the CLI as part of issue #918 and will keep it consistent with the documentation changes done in this PR

Copy link
Contributor

@shaominchen shaominchen left a comment

Choose a reason for hiding this comment

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

LGTM.

@@ -390,8 +390,8 @@ usage: vmdkops_admin.py tenant access set [-h]
[--volume-totalsize Num{MB,GB,TB} - e.g. 2TB]
--name NAME
[--volume-maxsize Num{MB,GB,TB} - e.g. 2TB]
[--allow-create] --datastore
DATASTORE
[--allow-create Value{True|False} e.g. True]
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: I think we can remove "e.g. True"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would prefer to keep it as to keep it consistent with the rest.

@@ -401,7 +401,10 @@ optional arguments:
--name NAME Tenant name
--volume-maxsize Num{MB,GB,TB} - e.g. 2TB
Maximum size of the volume that can be created
--allow-create Allow create and delete on datastore if set to True
--allow-create Value{True|False} - e.g. True
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would prefer to keep it as to keep it consistent with the rest.

Copy link
Contributor

@pshahzeb pshahzeb left a comment

Choose a reason for hiding this comment

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

LGTM

@tusharnt
Copy link
Contributor Author

@tusharnt tusharnt merged commit 8f677fa into vmware-archive:master Feb 28, 2017
@tusharnt tusharnt deleted the issue_917.tusharnt branch February 28, 2017 21:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants