purestorage.flashblade.purefb_connect (1.17.0) — module

Manage replication connections between two FlashBlades

| "added in version" 1.0.0 of purestorage.flashblade"

Authors: Pure Storage Ansible Team (@sdodsley) <pure-ansible-team@purestorage.com>

preview | supported by community

Install collection

Install with ansible-galaxy collection install purestorage.flashblade:==1.17.0


Add to requirements.yml

  collections:
    - name: purestorage.flashblade
      version: 1.17.0

Description

Manage replication connections to specified remote FlashBlade system


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create a connection to remote FlashBlade system
  purestorage.flashblade.purefb_connect:
    target_url: 10.10.10.20
    target_api: T-b3275b1c-8958-4190-9052-eb46b0bd09f8
    fb_url: 10.10.10.2
    api_token: T-91528421-fe42-47ee-bcb1-47eefb0a9220
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create a connection to remote FlashBlade system with bandwidth limits
  purestorage.flashblade.purefb_connect:
    target_url: 10.10.10.20
    target_api: T-b3275b1c-8958-4190-9052-eb46b0bd09f8
    window_limit: 28G
    window_start: 1AM
    window_end: 7AM
    default_limit: 5M
    fb_url: 10.10.10.2
    api_token: T-91528421-fe42-47ee-bcb1-47eefb0a9220
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete connection to target FlashBlade system
  purestorage.flashblade.purefb_connect:
    state: absent
    target_url: 10.10.10.20
    target_api: T-b3275b1c-8958-4190-9052-eb46b0bd09f8
    fb_url: 10.10.10.2
    api_token: T-91528421-fe42-47ee-bcb1-47eefb0a9220

Inputs

    
state:
    choices:
    - absent
    - present
    default: present
    description:
    - Create or delete replication connection
    type: str

fb_url:
    description:
    - FlashBlade management IP address or Hostname.
    type: str

api_token:
    description:
    - FlashBlade API token for admin privileged user.
    type: str

encrypted:
    default: false
    description:
    - Define if replication connection is encrypted
    type: bool

target_api:
    description:
    - API token for target FlashBlade system
    type: str

target_url:
    description:
    - Management IP address of target FlashBlade system
    required: true
    type: str

window_end:
    description:
    - The window end time.
    - The time must be set to the hour.
    type: str
    version_added: 1.9.0
    version_added_collection: purestorage.flashblade

target_repl:
    description:
    - Replication IP address of target FlashBlade system
    - If not set at time of connection creation, will default to all the replication addresses
      available on the target array at the time of connection creation.
    elements: str
    type: list
    version_added: 1.9.0
    version_added_collection: purestorage.flashblade

window_limit:
    description:
    - Maximum bandwidth threshold for outbound traffic during the specified time range
      in bytes.
    - B, K, M, or G units. See examples.
    - Must be 0 or between 5MB and 28GB
    - Once exceeded, bandwidth throttling occurs
    type: str
    version_added: 1.9.0
    version_added_collection: purestorage.flashblade

window_start:
    description:
    - The window start time.
    - The time must be set to the hour.
    type: str
    version_added: 1.9.0
    version_added_collection: purestorage.flashblade

default_limit:
    description:
    - Default maximum bandwidth threshold for outbound traffic in bytes.
    - B, K, M, or G units. See examples.
    - Must be 0 or between 5MB and 28GB
    - Once exceeded, bandwidth throttling occurs
    type: str
    version_added: 1.9.0
    version_added_collection: purestorage.flashblade