Sha256: 58691509055ba0ad4c3cf2806486e2f48cfec653f7c86618d3587589aaa4ac29
Contents?: true
Size: 1.64 KB
Versions: 2
Compression:
Stored size: 1.64 KB
Contents
# BmcApi::ServerPrivateNetwork ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **id** | **String** | The network identifier. | | | **ips** | **Array<String>** | IPs to configure/configured on the server.<br> Valid IP formats are single IPv4 addresses or IPv4 ranges. IPs must be within the network's range. Should be null or empty list if DHCP is true. <br> If field is undefined and DHCP is false, next available IP in network will be automatically allocated.<br> If the network contains a membership of type 'storage', the first twelve IPs are already reserved by BMC and not usable.<br> Setting the `force` query parameter to `true` allows you to:<ul> <li> Assign no specific IP addresses by designating an empty array of IPs. Note that at least one IP is required for the gateway address to be selected from this network. <li> Assign one or more IP addresses which are already configured on other resource(s) in network. <li> Assign IP addresses which are considered as reserved in network.</ul> | [optional] | | **dhcp** | **Boolean** | Determines whether DHCP is enabled for this server. Should be false if any IPs are provided. Not supported for Proxmox OS. | [optional][default to false] | | **status_description** | **String** | (Read-only) The status of the network. | [optional][readonly] | ## Example ```ruby require 'pnap_bmc_api' instance = BmcApi::ServerPrivateNetwork.new( id: 603f3b2cfcaf050643b89a4b, ips: ["10.1.1.1","10.1.1.20 - 10.1.1.25"], dhcp: false, status_description: assigned ) ```
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pnap_bmc_api-2.1.0 | docs/ServerPrivateNetwork.md |
pnap_bmc_api-2.0.0 | docs/ServerPrivateNetwork.md |