radware / radware.radware_alteon / 1.1.2 / module / alteon_config_l3_interface Manage l3 interface in Radware Alteon | "added in version" 1.0.0 of radware.radware_alteon" Authors: Leon Meguira (@leonmeguira), Nati Fridman (@natifridman) stableinterface | supported by certifiedradware.radware_alteon.alteon_config_l3_interface (1.1.2) — module
Install with ansible-galaxy collection install radware.radware_alteon:==1.1.2
collections: - name: radware.radware_alteon version: 1.1.2
Alteon needs an IP interface for each subnet to which it is connected so it can communicate with the real servers and other devices attached to it that receive switching services.
Alteon can be configured with up to 256 IP interfaces. Each IP interface represents Alteon on an IP subnet on your network.
- name: alteon configuration command radware.radware_alteon.alteon_config_l3_interface: provider: server: 192.168.1.1 user: admin password: admin validate_certs: false https_port: 443 ssh_port: 22 timeout: 5 state: present parameters: index: 10 state: enabled ip4_address: 8.8.8.8 ip_ver: ipv4 vlan: 10 bootp_relay: enabled peer_ip: 8.8.8.9
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. - When C(read), when exists read object from configuration to parameter format. - When C(overwrite), removes the object if exists then recreate it - When C(append), append object configuration with the provided parameters required: true type: str 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(false), SSL certificates will not be validated. - This should only set to C(false) used on personally controlled sites using self-signed certificates. required: true type: bool type: dict parameters: description: - Parameters for l3 interafce configuration. suboptions: bootp_relay: choices: - enabled - disabled default: enabled description: - Specifies whether to enable BOOTP relay. - In the DHCP environment, Alteon acts as a relay agent. - This BOOTP relay feature enables Alteon to forward a client request for an IP address to two BOOTP servers with configured IP addresses. required: false description: default: null description: - Interface description. required: false type: str index: default: null description: - Interface ID. required: true type: int ip4_address: default: null description: - IPv4 address. required: false type: str ip4_subnet: default: null description: - IPv4 subnet mask. required: false type: str ip6_address: default: null description: - IPv6 address. required: false type: str ip6_prefix: default: null description: - IPv6 prefix. required: false type: str ip_ver: choices: - ipv4 - ipv6 default: ipv4 description: - IP version. required: false peer_ip: default: null description: - The peer interface IP address used in high availability unicast session failover. - Radware recommends that you configure a peer IP address for all IP interfaces participating in session failover. required: false type: str state: choices: - enabled - disabled default: enabled description: - Gateway state. required: false vlan: default: null description: - VLAN ID. required: false type: int type: dict 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
obj: description: parameters object type returned: changed, read type: dict status: description: Message detailing run result returned: success sample: object deployed successfully type: str