radware.radware_modules.alteon_config_bgp_global (0.6.12) — module

Manage BGP global parameters in Radware Alteon

| "added in version" 2.9 of radware.radware_modules"

Authors: Leon Meguira (@leonmeguira), Nati Fridman (@natifridman)

stableinterface | supported by certified

Install collection

Install with ansible-galaxy collection install radware.radware_modules:==0.6.12


Add to requirements.yml

  collections:
    - name: radware.radware_modules
      version: 0.6.12

Description

configure BGP global parameters in Radware Alteon.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: alteon configuration command
  radware.radware_modules.alteon_config_bgp_global:
    provider:
      server: 192.168.1.1
      user: admin
      password: admin
      validate_certs: no
      https_port: 443
      ssh_port: 22
      timeout: 5
    state: present
    parameters:
      router_id: 2.2.2.2
      bgp_status: on
      local_preference: 200

Inputs

    
state:
    choices:
    - present
    - absent
    - read
    - overwrite
    - append
    default: null
    description:
    - When C(present), guarantees that the object exists with the provided attributes.
    - When C(absent), when applicable removes the object. Not supported in this module.
    - When C(read), when exists read object from configuration to parameter format.
    - When C(overwrite), removes the object if exists then recreate it. Not supported
      in this module.
    - When C(append), append object configuration with the provided parameters
    required: true

provider:
    description:
    - Radware Alteon connection details.
    required: true
    suboptions:
      https_port:
        default: null
        description:
        - Radware Alteon https port.
        required: true
      password:
        default: null
        description:
        - Radware Alteon password.
        required: true
      server:
        default: null
        description:
        - Radware Alteon IP address.
        required: true
      ssh_port:
        default: null
        description:
        - Radware Alteon ssh port.
        required: true
      timeout:
        default: null
        description:
        - Timeout for connection.
        required: true
      user:
        default: null
        description:
        - Radware Alteon username.
        required: true
      validate_certs:
        default: null
        description:
        - If C(no), SSL certificates will not be validated.
        - This should only set to C(no) used on personally controlled sites using self-signed
          certificates.
        required: true
        type: bool

parameters:
    description:
    - BGP global parameters configuration.
    suboptions:
      as_number:
        default: null
        description:
        - Set Autonomous System (AS) number using plain notation.
        - Use either this or asdot_number (as asdot notation), but not both.
        required: false
        type: int
      asdot_number:
        default: null
        description:
        - Set Autonomous System (AS) number using asdot notation.
        - Use either this or as_number (as plain notation), but not both.
        - This field is available from alteon versions 32.6.10.0, 33.0.5.0 and 33.5.1.0.
        - It is recommended to wrap the text in " ".
        required: false
        type: str
      asdot_status:
        choices:
        - true
        - false
        default: false
        description:
        - Enable/Disable ASDOT Notation.
        required: false
      bgp_mode:
        choices:
        - legacy
        - frr
        default: legacy
        description:
        - Set BGP mode (FRR or Legacy).
        - This fields should be set in seperate from the other fields in this module.
        - This fields is supported only on branch 33.0 and up.
        required: false
      bgp_status:
        choices:
        - true
        - false
        default: false
        description:
        - enable or disable BGP.
        required: false
      ecmp_mode:
        choices:
        - false
        - ibgp
        - ebgp
        - eibgp
        default: legacy
        description:
        - Set ECMP mode. this field can be set only when BGP mode is in FRR mode.
        - This fields is supported only on branch 33.0 and up.
        required: false
      floating_ip_advertisement:
        choices:
        - enabled
        - disabled
        default: disabled
        description:
        - Enable or Disable advertising floating IP address.
        required: false
      local_preference:
        default: null
        description:
        - Set Local Preference.
        required: false
        type: int
      max_as_path_length:
        default: null
        description:
        - Set max Autonomous System (AS) path length.
        required: false
        type: int
      router_id:
        default: null
        description:
        - Set router ID.
        required: false
        type: str
      vip_advertisement:
        choices:
        - enabled
        - disabled
        default: enabled
        description:
        - Enable or Disable sending VIP advertisement.
        required: false

revert_on_error:
    default: false
    description:
    - If an error occurs, perform revert on alteon.
    required: false
    type: bool

write_on_change:
    default: false
    description:
    - Executes Alteon write calls only when an actual change has been evaluated.
    required: false
    type: bool

Outputs

obj:
  description: parameters object type
  returned: changed, read
  type: dictionary
status:
  description: Message detailing run result
  returned: success
  sample: object deployed successfully
  type: str