Bug 786166

Summary: inconsistent default-value UX in wallaby shell CRUD commands
Product: Red Hat Enterprise MRG Reporter: Will Benton <willb>
Component: wallabyAssignee: grid-maint-list <grid-maint-list>
Status: CLOSED WONTFIX QA Contact: MRG Quality Engineering <mrgqe-bugs>
Severity: low Docs Contact:
Priority: low    
Version: DevelopmentCC: ltrilety, matt, willb
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 783142 Environment:
Last Closed: 2016-05-26 20:10:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 783142    

Description Will Benton 2012-01-31 16:01:30 UTC
+++ This bug was initially created as a clone of Bug #783142 +++

Description of problem:
In wallaby shell commands there are some discrepancies:  default value for parameters differs in various commands (add-params-to-node/group uses "0" but add-params-to-feature uses "" as default value)
# wallaby add-params-to-feature F P1
Console Connection Established...
# wallaby show-feature F
Console Connection Established...
F
  name:  "F"
  params:  {"P1"=>""}
  depends:  ["DF1"]
  conflicts:  ["CF"]
  included_features:  ["IF1"]

# wallaby add-params-to-group g P1
Console Connection Established...
# wallaby show-group g
Console Connection Established...
Showing the following group: g
g
  name:  "g"
  membership:  ["n1", "n"]
  features:  ["F", "F1", "F2"]
  params:  {"P1"=>"0"}

Version-Release number of selected component (if applicable):
wallaby-utils-0.12.5-1

How reproducible:
100%

Steps to Reproduce:
see description
  
Actual results:


Expected results:
the behaviour and output will be unified for all similar wallaby commands

Additional info:

--- Additional comment from willb on 2012-01-24 10:40:18 EST ---

This should probably be split into multiple bugs, some of which will wind up WONTFIX; assigning to Rob since these commands are his wheelhouse.