Last updated on: 2024-01-16 03:25:50.
velos_partition – Manage VELOS chassis partitions¶
New in version 1.0.0.
Parameters¶
Parameter | Choices/Defaults | Configuration | Comments |
---|---|---|---|
ipv4_mgmt_address
string
|
Specifies the IPv4 address and subnet or subnet mask you use to access the chassis partition.
When creating a new chassis partition, if the CIDR notation is not used, a default of
/24 is appended to the address.The address must be specified in CIDR notation e.g. 192.168.1.1/24.
|
||
ipv4_mgmt_gateway
string
|
Chassis partition management gateway.
The value
none can be used during an update to remove this value. |
||
ipv6_mgmt_address
string
|
Specifies the IPv6 address and subnet or subnet mask that you use to access the chassis partition.
When creating a new chassis partition, if the CIDR notation is not used a default of
/96 is appended to the address.The address must be specified in CIDR notation e.g. 2002::1234:abcd:ffff:c0a8:101/64.
|
||
ipv6_mgmt_gateway
string
|
Chassis partition management gateway.
The value
none can be used during an update to remove this value. |
||
name
string
/ required
|
Name of the chassis partition.
|
||
os_version
string
|
Chassis partition F5OS-C OS version.
The value
none can be used during an update to remove this value.This value must be in ISO format on the VELOS controller, otherwise you receive an illegal reference error message.
|
||
slots
list
/ elements=integer
|
List (integers), specifies which slots with which the chassis partition should associated.
By default, the chassis partition is not associated with any slots.
|
||
state
string
|
|
The chassis partition state. If
absent , deletes the chassis partition if it exists. present creates the chassis partition and enables it. If enabled , enables the chassis partition if it exists. If disabled , creates the chassis partition if needed, and sets state to disabled . |
|
wait_time
integer
|
Default: 300
|
Max number of seconds to wait after creating a chassis partition for it to transition to the 'running' state.
|
Examples¶
- name: Create partition 'foo'
velos_partition:
name: foo
state: present
os_version: 1.1.1-5046
ipv4_mgmt_address: 10.144.140.124/24
ipv4_mgmt_gateway: 10.144.140.254
slots: [4, 5]
- name: Delete partition 'foo'
velos_partition:
name: foo
state: absent
Return Values¶
The following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
ipv4_mgmt_address
string
|
changed |
Specifies the IPv4 address and subnet or subnet mask that you use to access the partition.
Sample:
192.168.1.12/24
|
ipv4_mgmt_gateway
string
|
changed |
Partition management gateway.
Sample:
192.168.1.1
|
name
string
|
changed |
Specify the name of the partition.
Sample:
foo
|
os_version
string
|
changed |
Partition OS version.
Sample:
1.1.1-5046
|
slots
list
|
changed |
Specifies which slots with which the partition should be associated.
Sample:
[3, 4]
|