Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 52. location
Manipulate locations
Usage
hammer location [OPTIONS] SUBCOMMAND [ARG] ...
# hammer location [OPTIONS] SUBCOMMAND [ARG] ...
Options
-
-h,--help– Print help
52.1. location add-compute-resource Link kopierenLink in die Zwischenablage kopiert!
Associate a compute resource
Usage
hammer location add-compute-resource [OPTIONS]
# hammer location add-compute-resource [OPTIONS]
Options
-
--compute-resource VALUE– Compute resource name -
--compute-resource-id NUMBER -
--id VALUE -
--name VALUE– Set the current location context for the request -
--title VALUE– Set the current location context for the request -
-h,--help– Print help
52.2. location add-domain Link kopierenLink in die Zwischenablage kopiert!
Associate a domain
Usage
hammer location add-domain [OPTIONS]
# hammer location add-domain [OPTIONS]
Options
-
--domain VALUE– Domain name -
--domain-id NUMBER– Numerical ID or domain name -
--id VALUE -
--name VALUE– Set the current location context for the request -
--title VALUE– Set the current location context for the request -
-h,--help– Print help
52.3. location add-hostgroup Link kopierenLink in die Zwischenablage kopiert!
Associate a hostgroup
Usage
hammer location add-hostgroup [OPTIONS]
# hammer location add-hostgroup [OPTIONS]
Options
-
--hostgroup VALUE– Hostgroup name -
--hostgroup-id NUMBER -
--hostgroup-title VALUE– Hostgroup title -
--id VALUE -
--name VALUE– Set the current location context for the request -
--title VALUE– Set the current location context for the request -
-h,--help– Print help
52.4. location add-medium Link kopierenLink in die Zwischenablage kopiert!
Associate a medium
Usage
hammer location add-medium [OPTIONS]
# hammer location add-medium [OPTIONS]
Options
-
--id VALUE -
--medium VALUE– Medium name -
--medium-id NUMBER -
--name VALUE– Set the current location context for the request -
--title VALUE– Set the current location context for the request -
-h,--help– Print help
52.5. location add-organization Link kopierenLink in die Zwischenablage kopiert!
Associate an organization
Usage
hammer location add-organization [OPTIONS]
# hammer location add-organization [OPTIONS]
Options
-
--id VALUE -
--name VALUE– Set the current location context for the request -
--organization VALUE– Set the current organization context for the request -
--organization-id NUMBER– Organization ID -
--organization-title VALUE– Set the current organization context for the request -
--title VALUE– Set the current location context for the request -
-h,--help– Print help
52.6. location add-provisioning-template Link kopierenLink in die Zwischenablage kopiert!
Associate provisioning templates
Usage
hammer location add-provisioning-template [OPTIONS]
# hammer location add-provisioning-template [OPTIONS]
Options
-
--id VALUE -
--name VALUE– Set the current location context for the request -
--provisioning-template VALUE– Name to search by -
--provisioning-template-id NUMBER -
--provisioning-template-ids LIST– List of provisioning template ids -
--provisioning-template-search VALUEProvisioning template name regex to search, all matching templates will be associated -
--provisioning-templates LIST– List of provisioning template names -
--title VALUE– Set the current location context for the request -
-h,--help– Print help
52.7. location add-smart-proxy Link kopierenLink in die Zwischenablage kopiert!
Associate a smart proxy
Usage
hammer location add-smart-proxy [OPTIONS]
# hammer location add-smart-proxy [OPTIONS]
Options
-
--id VALUE -
--name VALUE– Set the current location context for the request -
--smart-proxy VALUE– Name to search by -
--smart-proxy-id NUMBER -
--title VALUE– Set the current location context for the request -
-h,--help– Print help
52.8. location add-subnet Link kopierenLink in die Zwischenablage kopiert!
Associate a subnet
Usage
hammer location add-subnet [OPTIONS]
# hammer location add-subnet [OPTIONS]
Options
-
--id VALUE -
--name VALUE– Set the current location context for the request -
--subnet VALUE– Subnet name -
--subnet-id NUMBER -
--title VALUE– Set the current location context for the request -
-h,--help– Print help
52.9. location add-user Link kopierenLink in die Zwischenablage kopiert!
Associate an user
Usage
hammer location add-user [OPTIONS]
# hammer location add-user [OPTIONS]
Options
-
--id VALUE -
--name VALUE– Set the current location context for the request -
--title VALUE– Set the current location context for the request -
--user VALUE– User`s login to search by -
--user-id NUMBER -
-h,--help– Print help
52.10. location create Link kopierenLink in die Zwischenablage kopiert!
Create a location
Usage
hammer location create [OPTIONS]
# hammer location create [OPTIONS]
Options
-
--compute-resource-ids LIST– Compute resource IDs -
--compute-resources LIST -
--description VALUE -
--domain-ids LIST– Domain IDs -
--domains LIST -
--environment-ids LIST– Environment IDs -
--environments LIST -
--hostgroup-ids LIST– Host group IDs -
--hostgroup-titles LIST -
--hostgroups LIST -
--ignore-types LIST– List of resources types that will be automatically associated -
--location VALUE– Set the current location context for the request -
--location-id NUMBER– Set the current location context for the request -
--location-title VALUE– Set the current location context for the request -
--media LIST -
--medium-ids LIST– Medium IDs -
--name VALUE -
--organization VALUE– Set the current organization context for the request -
--organization-id NUMBER– Set the current organization context for the request -
--organization-ids LIST– Associated organization IDs -
--organization-title VALUE– Set the current organization context for the request -
--organization-titles LIST -
--organizations LIST -
--parent-id NUMBER– Parent ID -
--partition-table-ids LIST– Partition template IDs -
--partition-tables LIST -
--provisioning-template-ids LISTProvisioning template IDs -
--provisioning-templates LIST -
--puppet-environment-ids LIST– IDs of associated Puppet environment -
--puppet-environments VALUE– Names of associated Puppet environment -
--realm-ids LIST– Realm IDs -
--realms LIST -
--smart-proxies LIST -
--smart-proxy-ids LIST– Capsule IDs -
--subnet-ids LIST– Subnet IDs -
--subnets LIST -
--user-ids LIST– User IDs -
--users LIST -
-h,--help– Print help
52.11. location delete Link kopierenLink in die Zwischenablage kopiert!
Delete a location
Usage
hammer location <delete|destroy> [OPTIONS]
# hammer location <delete|destroy> [OPTIONS]
Options
-
--id VALUE– Location numeric id to search by -
--location VALUE– Set the current location context for the request -
--location-id NUMBER– Set the current location context for the request -
--location-title VALUE– Set the current location context for the request -
--name VALUE– Set the current organization context for the request -
--organization VALUE– Set the current organization context for the request -
--organization-id NUMBER– Set the current organization context for the request -
--organization-title VALUE– Set the current organization context for the request -
--title VALUE– Set the current organization context for the request -
-h,--help– Print help
52.12. location delete-parameter Link kopierenLink in die Zwischenablage kopiert!
Delete parameter for a location
Usage
hammer location delete-parameter [OPTIONS]
# hammer location delete-parameter [OPTIONS]
Options
-
--location VALUE– Set the current location context for the request -
--location-id NUMBER -
--location-title VALUE– Set the current location context for the request -
--name VALUE– Parameter name -
-h,--help– Print help
52.13. location info Link kopierenLink in die Zwischenablage kopiert!
Show a location
Usage
hammer location <info|show> [OPTIONS]
# hammer location <info|show> [OPTIONS]
Options
-
--fields LIST– Show specified fields or predefined field sets only. (See below) -
--id VALUE– Location numeric id to search by -
--location VALUE– Set the current location context for the request -
--location-id NUMBER– Set the current location context for the request -
--location-title VALUE– Set the current location context for the request -
--name VALUE– Set the current organization context for the request -
--organization VALUE– Set the current organization context for the request -
--organization-id NUMBER– Set the current organization context for the request -
--organization-title VALUE– Set the current organization context for the request -
--show-hidden-parameters BOOLEANDisplay hidden parameter values -
--title VALUE– Set the current organization context for the request -
-h,--help– Print help
Predefined field sets
| FIELDS | ALL | DEFAULT | THIN |
|---|---|---|---|
| Id | x | x | x |
| Title | x | x | x |
| Name | x | x | x |
| Description | x | x | |
| Parent | x | x | |
| Users/ | x | x | |
| Smart proxies/ | x | x | |
| Subnets/ | x | x | |
| Compute resources/ | x | x | |
| Installation media/ | x | x | |
| Templates/ | x | x | |
| Partition tables/ | x | x | |
| Domains/ | x | x | |
| Realms/ | x | x | |
| Environments/ | x | x | |
| Hostgroups/ | x | x | |
| Parameters/ | x | x | |
| Organizations/ | x | x | |
| Created at | x | x | |
| Updated at | x | x |
52.14. location list Link kopierenLink in die Zwischenablage kopiert!
List all locations
Usage
hammer location <list|index> [OPTIONS]
# hammer location <list|index> [OPTIONS]
Options
-
--fields LIST– Show specified fields or predefined field sets only. (See below) -
--location VALUE– Set the current location context for the request -
--location-id NUMBER– Set the current location context for the request -
--location-title VALUE– Set the current location context for the request -
--order VALUE– Sort and order by a searchable field, e.g.<field> DESC -
--organization VALUE– Set the current organization context for the request -
--organization-id NUMBER– Set the current organization context for the request -
--organization-title VALUE– Set the current organization context for the request -
--page NUMBER– Page number, starting at 1 -
--per-page VALUE– Number of results per page to return,allto return all results -
--search VALUE– Filter results -
-h,--help– Print help
Predefined field sets
| FIELDS | ALL | DEFAULT | THIN |
|---|---|---|---|
| Id | x | x | x |
| Title | x | x | x |
| Name | x | x | x |
| Description | x | x |
Search and order fields
-
description– text -
id– integer -
location_id– integer -
name– string -
title– string
52.15. location remove-compute-resource Link kopierenLink in die Zwischenablage kopiert!
Disassociate a compute resource
Usage
hammer location remove-compute-resource [OPTIONS]
# hammer location remove-compute-resource [OPTIONS]
Options
-
--compute-resource VALUE– Compute resource name -
--compute-resource-id NUMBER -
--id VALUE -
--name VALUE– Set the current location context for the request -
--title VALUE– Set the current location context for the request -
-h,--help– Print help
52.16. location remove-domain Link kopierenLink in die Zwischenablage kopiert!
Disassociate a domain
Usage
hammer location remove-domain [OPTIONS]
# hammer location remove-domain [OPTIONS]
Options
-
--domain VALUE– Domain name -
--domain-id NUMBER– Numerical ID or domain name -
--id VALUE -
--name VALUE– Set the current location context for the request -
--title VALUE– Set the current location context for the request -
-h,--help– Print help
52.17. location remove-hostgroup Link kopierenLink in die Zwischenablage kopiert!
Disassociate a hostgroup
Usage
hammer location remove-hostgroup [OPTIONS]
# hammer location remove-hostgroup [OPTIONS]
Options
-
--hostgroup VALUE– Hostgroup name -
--hostgroup-id NUMBER -
--hostgroup-title VALUE– Hostgroup title -
--id VALUE -
--name VALUE– Set the current location context for the request -
--title VALUE– Set the current location context for the request -
-h,--help– Print help
52.18. location remove-medium Link kopierenLink in die Zwischenablage kopiert!
Disassociate a medium
Usage
hammer location remove-medium [OPTIONS]
# hammer location remove-medium [OPTIONS]
Options
-
--id VALUE -
--medium VALUE– Medium name -
--medium-id NUMBER -
--name VALUE– Set the current location context for the request -
--title VALUE– Set the current location context for the request -
-h,--help– Print help
52.19. location remove-organization Link kopierenLink in die Zwischenablage kopiert!
Disassociate an organization
Usage
hammer location remove-organization [OPTIONS]
# hammer location remove-organization [OPTIONS]
Options
-
--id VALUE -
--name VALUE– Set the current location context for the request -
--organization VALUE– Set the current organization context for the request -
--organization-id NUMBER– Organization ID -
--organization-title VALUE– Set the current organization context for the request -
--title VALUE– Set the current location context for the request -
-h,--help– Print help
52.20. location remove-provisioning-template Link kopierenLink in die Zwischenablage kopiert!
Disassociate provisioning templates
Usage
hammer location remove-provisioning-template [OPTIONS]
# hammer location remove-provisioning-template [OPTIONS]
Options
-
--id VALUE -
--name VALUE– Set the current location context for the request -
--provisioning-template VALUE– Name to search by -
--provisioning-template-id NUMBER -
--provisioning-template-ids LIST– List of provisioning template ids -
--provisioning-template-search VALUEProvisioning template name regex to search, all matching templates will be disassociated -
--provisioning-templates LIST– List of provisioning template names -
--title VALUE– Set the current location context for the request -
-h,--help– Print help
52.21. location remove-smart-proxy Link kopierenLink in die Zwischenablage kopiert!
Disassociate a smart proxy
Usage
hammer location remove-smart-proxy [OPTIONS]
# hammer location remove-smart-proxy [OPTIONS]
Options
-
--id VALUE -
--name VALUE– Set the current location context for the request -
--smart-proxy VALUE– Name to search by -
--smart-proxy-id NUMBER -
--title VALUE– Set the current location context for the request -
-h,--help– Print help
52.22. location remove-subnet Link kopierenLink in die Zwischenablage kopiert!
Disassociate a subnet
Usage
hammer location remove-subnet [OPTIONS]
# hammer location remove-subnet [OPTIONS]
Options
-
--id VALUE -
--name VALUE– Set the current location context for the request -
--subnet VALUE– Subnet name -
--subnet-id NUMBER -
--title VALUE– Set the current location context for the request -
-h,--help– Print help
52.23. location remove-user Link kopierenLink in die Zwischenablage kopiert!
Disassociate an user
Usage
hammer location remove-user [OPTIONS]
# hammer location remove-user [OPTIONS]
Options
-
--id VALUE -
--name VALUE– Set the current location context for the request -
--title VALUE– Set the current location context for the request -
--user VALUE– User`s login to search by -
--user-id NUMBER -
-h,--help– Print help
52.24. location set-parameter Link kopierenLink in die Zwischenablage kopiert!
Create or update parameter for a location
Usage
hammer location set-parameter [OPTIONS]
# hammer location set-parameter [OPTIONS]
Options
-
--hidden-value BOOLEAN– Should the value be hidden -
--location VALUE– Set the current location context for the request -
--location-id NUMBER -
--location-title VALUE– Set the current location context for the request -
--name VALUE– Parameter name -
--parameter-type ENUM– Type of the parameter Possible value(s):string,boolean,integer,real,array,hash,yaml,jsonDefault: "string" -
--value VALUE– Parameter value -
-h,--help– Print help
52.25. location update Link kopierenLink in die Zwischenablage kopiert!
Update a location
Usage
hammer location update [OPTIONS]
# hammer location update [OPTIONS]
Options
-
--compute-resource-ids LIST– Compute resource IDs -
--compute-resources LIST -
--description VALUE -
--domain-ids LIST– Domain IDs -
--domains LIST -
--environment-ids LIST– Environment IDs -
--environments LIST -
--hostgroup-ids LIST– Host group IDs -
--hostgroup-titles LIST -
--hostgroups LIST -
--id VALUE– Location numeric id to search by -
--ignore-types LIST– List of resources types that will be automatically associated -
--location VALUE– Set the current location context for the request -
--location-id NUMBER– Set the current location context for the request -
--location-title VALUE– Set the current location context for the request -
--media LIST -
--medium-ids LIST– Medium IDs -
--name VALUE -
--new-name VALUE -
--organization VALUE– Set the current organization context for the request -
--organization-id NUMBER– Set the current organization context for the request -
--organization-ids LIST– Associated organization IDs -
--organization-title VALUE– Set the current organization context for the request -
--organization-titles LIST -
--organizations LIST -
--parent-id NUMBER– Parent ID -
--partition-table-ids LIST– Partition template IDs -
--partition-tables LIST -
--provisioning-template-ids LISTProvisioning template IDs -
--provisioning-templates LIST -
--puppet-environment-ids LIST– IDs of associated Puppet environment -
--puppet-environments VALUE– Names of associated Puppet environment -
--realm-ids LIST– Realm IDs -
--realms LIST -
--smart-proxies LIST -
--smart-proxy-ids LIST– Capsule IDs -
--subnet-ids LIST– Subnet IDs -
--subnets LIST -
--title VALUE– Set the current location context for the request -
--user-ids LIST– User IDs -
--users LIST -
-h,--help– Print help