Bug #18663

hammer subnet create/update shouldn't contain option --subnet-parameters-attributes

Added by Tomáš Strachota about 1 month ago. Updated about 8 hours ago.

Status:Ready For Testing
Priority:Low
Assigned To:Dominik Hlavac Duran
Category:Networking
Target version:Foreman - Team Marek backlog
Difficulty: Bugzilla link:1426612
Found in release: Pull request:https://github.com/theforeman/hammer-cli-foreman/pull/292
Story points-
Velocity based estimate-

Description

Description of problem:

Commands hammer subnet create/update contain option --subnet-parameters-attributes that is generated automatically from apidoc. The option should be removed and replaced with set-parameter and delete-parameter commands as how it's done for other resources that have parameters (eg. domains).

Version-Release number of selected component (if applicable):
foreman 1.14
hammer-cli-foreman 0.9.0

Steps to Reproduce:
1. run: hammer subnet create -h
2. run: hammer subnet update -h

Actual results:
Help output for the both commands contain option --subnet-parameters-attributes

Expected results:
The option should be removed and there should be two new commands:
hammer subnet set-parameter
hammer subnet delete-parameter

History

#1 Updated by Tomáš Strachota about 1 month ago

  • Project changed from Foreman to Hammer CLI
  • Subject changed from hammer subnet create/update shouldn't contain option --subnet-parameters-attributes to hammer subnet create/update shouldn't contain option --subnet-parameters-attributes
  • Category changed from Network to Networking
  • Target version set to Team Marek backlog

#2 Updated by Dominik Hlavac Duran 19 days ago

  • Status changed from New to Assigned
  • Assigned To set to Dominik Hlavac Duran
  • Priority changed from Normal to Low

#3 Updated by The Foreman Bot 6 days ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/292 added

Also available in: Atom PDF