Project

General

Profile

Actions

Bug #18663

closed

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

Added by Tomáš Strachota about 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Low
Category:
Networking
Difficulty:
Triaged:
Team Backlog:
Marek
Fixed in Releases:
Found in Releases:
In Kanboard:

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

Actions

Also available in: Atom PDF