検索

2.77. hammer subnet

download PDF

サブネットを操作します。

Usage:
    hammer subnet [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 create                        Create a subnet
 delete, destroy               Delete a subnet
 delete-parameter              Delete parameter for a subnet
 info, show                    Show a subnet
 list, index                   List of subnets
 set-parameter                 Create or update parameter for a subnet
 update                        Update a subnet

Options:
 -h, --help                    Print help

2.77.1. hammer subnet create

サブネットを作成します。

Usage:
    hammer subnet create [OPTIONS]

Options:
 --bmc-id BMC_ID                                         BMC Capsule ID to use within this subnet
 --boot-mode BOOT_MODE                                   Default boot mode for interfaces assigned to this subnet.
                                                         Possible value(s): 'Static', 'DHCP'
 --description DESCRIPTION                               Subnet description
 --dhcp DHCP_NAME                                        DHCP Proxy to use within this subnet
 --dhcp-id DHCP_ID                                       DHCP Capsule ID to use within this subnet
 --discovery-id DISCOVERY_ID                             ID of Discovery Capsule to use within this subnet for managing connection
                                                         To discovered hosts
 --dns DNS_NAME                                          DNS Proxy to use within this subnet
 --dns-id DNS_ID                                         DNS Capsule ID to use within this subnet
 --dns-primary DNS_PRIMARY                               Primary DNS for this subnet
 --dns-secondary DNS_SECONDARY                           Secondary DNS for this subnet
 --domain-ids DOMAIN_IDS                                 Domains in which this subnet is part
                                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                         JSON is acceptable and preferred way for complex parameters
 --domains DOMAIN_NAMES                                  Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                         JSON is acceptable and preferred way for complex parameters
 --externalipam-group EXTERNALIPAM_GROUP                 External IPAM group - only relevant when IPAM is set to external
 --externalipam-id EXTERNALIPAM_ID                       External IPAM Capsule ID to use within this subnet
 --from FROM                                             Starting IP Address for IP auto suggestion
 --gateway GATEWAY                                       Subnet gateway
 --httpboot-id HTTPBOOT_ID                               HTTPBoot Capsule ID to use within this subnet
 --ipam IPAM                                             IP Address auto suggestion mode for this subnet.
                                                         Possible value(s): 'DHCP', 'Internal DB', 'Random DB', 'EUI-64', 'External IPAM', 'None'
 --location LOCATION_NAME                                Set the current location context for the request
 --location-id LOCATION_ID                               Set the current location context for the request
 --location-ids LOCATION_IDS                             REPLACE locations with given ids
                                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                         JSON is acceptable and preferred way for complex parameters
 --location-title LOCATION_TITLE                         Set the current location context for the request
 --location-titles LOCATION_TITLES                       Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                         JSON is acceptable and preferred way for complex parameters
 --locations LOCATION_NAMES                              Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                         JSON is acceptable and preferred way for complex parameters
 --mask MASK                                             Netmask for this subnet
 --mtu MTU                                               MTU for this subnet
 --name NAME                                             Subnet name
 --network NETWORK                                       Subnet network
 --network-type NETWORK_TYPE                             Type or protocol, IPv4 or IPv6, defaults to IPv4
                                                         Possible value(s): 'IPv4', 'IPv6'
 --organization ORGANIZATION_NAME                        Set the current organization context for the request
 --organization-id ORGANIZATION_ID                       Set the current organization context for the request
 --organization-ids ORGANIZATION_IDS                     REPLACE organizations with given ids.
                                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                         JSON is acceptable and preferred way for complex parameters
 --organization-title ORGANIZATION_TITLE                 Set the current organization context for the request
 --organization-titles ORGANIZATION_TITLES               Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                         JSON is acceptable and preferred way for complex parameters
 --organizations ORGANIZATION_NAMES                      Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                         JSON is acceptable and preferred way for complex parameters
 --prefix PREFIX                                         Network prefix in CIDR notation (e.g. 64) for this subnet
 --remote-execution-proxy-ids REMOTE_EXECUTION_PROXY_IDS List of Capsule IDs to be used for remote execution
                                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                         JSON is acceptable and preferred way for complex parameters
 --template-id TEMPLATE_ID                               Template HTTP(S) Capsule ID to use within this subnet
 --tftp TFTP_NAME                                        TFTP Proxy to use within this subnet
 --tftp-id TFTP_ID                                       TFTP Capsule ID to use within this subnet
 --to TO                                                 Ending IP Address for IP auto suggestion
 --vlanid VLANID                                         VLAN ID for this subnet
 -h, --help                                              Print help
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

© 2024 Red Hat, Inc.