Project

General

Profile

Bug #12699

Unable to set paramteres at the location level

Added by Tomáš Strachota over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Urgent
Category:
Foreman commands (obsolete)
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1256461
Description of problem:

Unable to set / change paramters at the location level:

  1. hammer location update --help
    Usage:
    hammer location update [OPTIONS]

Options:
--compute-resource-ids COMPUTE_RESOURCE_IDS Comma separated list of values.
--compute-resources COMPUTE_RESOURCE_NAMES Comma separated list of values.
--config-template-ids CONFIG_TEMPLATE_IDS Comma separated list of values.
--config-templates CONFIG_TEMPLATE_NAMES Comma separated list of values.
--description DESCRIPTION
--domain-ids DOMAIN_IDS Numerical ID or domain name
Comma separated list of values.
--domains DOMAIN_NAMES Comma separated list of values.
--environment-ids ENVIRONMENT_IDS Comma separated list of values.
--environments ENVIRONMENT_NAMES Comma separated list of values.
--hostgroup-ids HOSTGROUP_IDS Comma separated list of values.
--hostgroups HOSTGROUP_NAMES Comma separated list of values.
--id ID Location numeric id to search by
--media MEDIUM_NAMES Comma separated list of values.
--media-ids MEDIA_IDS Media IDs
Comma separated list of values.
--medium-ids MEDIUM_IDS Comma separated list of values.
--name NAME
--new-name NEW_NAME
--realm-ids REALM_IDS Numerical ID or realm name
Comma separated list of values.
--realms REALM_NAMES Comma separated list of values.
--smart-proxies SMART_PROXY_NAMES Comma separated list of values.
--smart-proxy-ids SMART_PROXY_IDS Comma separated list of values.
--subnet-ids SUBNET_IDS Comma separated list of values.
--subnets SUBNET_NAMES Comma separated list of values.
--user-ids USER_IDS Comma separated list of values.
--users USER_LOGINS Comma separated list of values.
-h, --help print help

Version-Release number of selected component (if applicable):
6.1.1 GA

How reproducible:
Always.

Steps to Reproduce:
1.
2.
3.

Actual results:

Expected results:
Paramters should be able to be set via the hammer tool.

Additional info:


Related issues

Related to Foreman - Bug #12725: Taxonomy#show doesn't return parametersNew2015-12-07

Associated revisions

Revision 14ce3fa4 (diff)
Added by Tomas Strachota over 3 years ago

Fixes #12699 - Commands for setting parameters at taxonomies

- parameter commands for organizations and locations
- common foundation for functional tests
- base parameter commands updated to enable for displaying names and values in messages

Revision 36437259 (diff)
Added by Tomas Strachota over 3 years ago

Refs #12699 - params are now local variables

Revision 2299e22d (diff)
Added by Tomas Strachota over 3 years ago

Refs #12699 - api expectations refactor

Revision 56f02858
Added by Martin Bacovsky over 3 years ago

Merge pull request #206 from tstrachota/taxonomy_params_12699

Fixes #12699 - Commands for setting parameters at taxonomies

History

#1 Updated by Tomáš Strachota over 3 years ago

  • Target version set to hammer-cli 0.5.0

#2 Updated by Tomáš Strachota over 3 years ago

  • Category set to Foreman commands (obsolete)
  • Status changed from New to Assigned

#3 Updated by The Foreman Bot over 3 years ago

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

#4 Updated by Tomáš Strachota over 3 years ago

Please note that testing the patch may be affected with http://projects.theforeman.org/issues/12725. UI works fine.

#5 Updated by Tomáš Strachota over 3 years ago

  • Related to Bug #12725: Taxonomy#show doesn't return parameters added

#6 Updated by Anonymous over 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF