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

Commit

Permalink
Add vmgroup tests (#1286)
Browse files Browse the repository at this point in the history
* Tests for vmgroups.

* Comments addressed

* Fixed up ssh module and function comments.
  • Loading branch information
govint authored and shuklanirdesh82 committed Jun 6, 2017
1 parent 2010701 commit 392c77e
Show file tree
Hide file tree
Showing 8 changed files with 512 additions and 13 deletions.
1 change: 0 additions & 1 deletion misc/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# limitations under the License.



# The preffered choice to build the repo. Uses a docker image
# with all dependencies installed.

Expand Down
12 changes: 9 additions & 3 deletions tests/constants/admincli/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ const (
// where --name will be name of the vmgroup
ReplaceVMFromVMgroup = vmdkopsAdmin + "vmgroup vm replace --name="

// SetAccessForVMgroup modify access perms on vmgroup
SetAccessForVMgroup = vmdkopsAdmin + "vmgroup access set --name "

// GetAccessForVMgroup get access perms for a vmgroup
GetAccessForVMgroup = vmdkopsAdmin + "vmgroup access ls --name "

// ListVMgroups list vm groups
ListVMgroups = vmdkopsAdmin + "vmgroup ls"

// DefaultVMgroup referring name of default vmgroup
DefaultVMgroup = "_DEFAULT "

Expand All @@ -64,9 +73,6 @@ const (
// RemoveLocalConfigDb referring to Remove (local) Single Node Config DB
RemoveLocalConfigDb = vmdkopsAdmin + "config rm --local --confirm"

// ListVMgroups referring to vmdkops_admin vmgroups ls
ListVMgroups = vmdkopsAdmin + "vmgroup ls "

// UpdateVMgroup referring to updating a vmgroup
// where --name will be name of the vmgroup
UpdateVMgroup = vmdkopsAdmin + "vmgroup update --name="
Expand Down
Loading

0 comments on commit 392c77e

Please sign in to comment.