Deprecated

Removed in 2.0.0

i

Reason:All VELOS related modules have been moved to a dedicated collection for managing F5OS based devices. | Alternative:Use M(f5networks.f5os.velos_partition) instead.

f5networks.f5_bigip.velos_partition (1.13.0) — module

Manage VELOS chassis partitions

| "added in version" 1.3.0 of f5networks.f5_bigip"

Authors: Ravinder Reddy (@chinthalapalli)

Install collection

Install with ansible-galaxy collection install f5networks.f5_bigip:==1.13.0


Add to requirements.yml

  collections:
    - name: f5networks.f5_bigip
      version: 1.13.0

Description

Manage VELOS chassis partitions.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- hosts: all
  collections:
    - f5networks.f5_bigip
  connection: httpapi

  vars:
    ansible_host: "lb.mydomain.com"
    ansible_user: "admin"
    ansible_httpapi_password: "secret"
    ansible_network_os: f5networks.f5_bigip.bigip
    ansible_httpapi_use_ssl: yes

  tasks:
    - 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

Inputs

    
name:
    description:
    - Name of the chassis partition.
    required: true
    type: str

slots:
    description:
    - List (integers), specifies which slots with which the chassis partition should associated.
    - By default, the chassis partition is not associated with any slots.
    elements: int
    type: list

state:
    choices:
    - present
    - absent
    - enabled
    - disabled
    default: present
    description:
    - The chassis partition state. If C(absent), deletes the chassis partition if it exists.
      C(present) creates the chassis partition and enables it. If C(enabled), enables
      the chassis partition if it exists. If C(disabled), creates the chassis partition
      if needed, and sets state to C(disabled).
    type: str

wait_time:
    default: 300
    description:
    - Max number of seconds to wait after creating a chassis partition for it to transition
      to the 'running' state.
    type: int

os_version:
    description:
    - Chassis partition F5OS-C OS version.
    - The value C(none) can be used during an update to remove this value.
    type: str

service_version:
    description:
    - Chassis partition F5OS-C Service version.
    type: str

ipv4_mgmt_address:
    description:
    - 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 C(/24) is appended to the address.
    - The address must be specified in CIDR notation e.g. 192.168.1.1/24.
    type: str

ipv4_mgmt_gateway:
    description:
    - Desired chassis partition management gateway.
    - The value C(none) can be used during an update to remove this value.
    type: str

ipv6_mgmt_address:
    description:
    - 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 C(/96) is appended to the address.
    - The address must be specified in CIDR notation e.g. 2002::1234:abcd:ffff:c0a8:101/64.
    type: str

ipv6_mgmt_gateway:
    description:
    - Desired chassis partition management gateway.
    - The value C(none) can be used during an update to remove this value.
    type: str

Outputs

ipv4_mgmt_address:
  description: Specifies the IPv4 address and subnet or subnet mask that you use to
    access the partition.
  returned: changed
  sample: 192.168.1.12/24
  type: str
ipv4_mgmt_gateway:
  description: Desired partition management gateway.
  returned: changed
  sample: 192.168.1.1
  type: str
name:
  description: Specify the name of the partition.
  returned: changed
  sample: foo
  type: str
os_version:
  description: Partition OS version.
  returned: changed
  sample: 1.1.1-5046
  type: str
slots:
  description: Specifies which slots with which the partition should be associated.
  returned: changed
  sample:
  - 3
  - 4
  type: list