-
Language:
English
-
Language:
English
Red Hat Training
A Red Hat training course is available for Red Hat Gluster Storage
4.3. networks
The
network
resource type groups all logical network resources in a Red Hat Storage Console Application.
Table 4.9. Network parameters
Name | Type | Description | Required | User Creatable | User Updatable |
---|---|---|---|---|---|
--data_center-id|name | string | A reference to the data center for a logical network. | Yes | Yes | No |
--name | string | A plain text name for the logical network. | Yes | Yes | No |
--description | String | A description for the logical network. | No | Yes | Yes |
--vlan-id | String | A VLAN tag. | No | Yes | Yes |
--ip-address | String | The IP address for the logical network's bridge. | No | Yes | Yes |
--ip-gateway | String | The gateway for the logical network's bridge. | No | Yes | Yes |
--ip-netmask | String | The netmask for the logical network's bridge. | No | Yes | Yes |
--display | boolean | Signifies if a logical network is used for display communication usage. Set to either true or false . | No | Yes | Yes |
--stp | boolean | Set to true if Spanning Tree Protocol is enabled on this network. | No | Yes | Yes |
--mtu | int | Sets a user-defined value for the maximum transmission unit of the logical network. | No | Yes | Yes |
--usages-usage | collection | Defines usage parameters for the logical network. | No | No | Yes |
The
--usages-usage
parameter is a collection that uses the sub-parameters in the following table.
Table 4.10. usages-usage parameters
Name | Type | Description |
---|---|---|
Usage | string | Usage types for the network. |
The following table lists additional
network
options for resource-based commands.
Table 4.11. Additional command options
Option | Description |
---|---|
--cluster-identifier | Adds the network to a cluster as a sub-resource. |
Example 4.5. Creating a new network
[RHSC shell (connected)]# add network --name WebNetwork --datacenter-name Default --cluster-identifier Default
Example 4.6. Updating a network
[RHSC shell (connected)]# update network WebNetwork --name DataNetwork
Example 4.7. Deleting a network
[RHSC shell (connected)]# remove network WebNetwork