radware / radware.radware_alteon / 1.1.2 / module / alteon_config_physical_port Manage physical port 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_physical_port (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
Manage physical port in Radware Alteon
- name: alteon configuration command radware.radware_alteon.alteon_config_physical_port: 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: 2 state: enabled vlan_tag_mode: tagged pvid: 10 name: my_port discard_non_ip_traffic: enabled link_state_trap: enabled ip_forwarding: enabled
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 physical interface configuration. suboptions: discard_non_ip_traffic: choices: - enabled - disabled default: null description: - Discard non-IP traffic on port. required: false index: default: null description: - Port ID. required: true type: int ip_forwarding: choices: - enabled - disabled default: null description: - IP forwarding is enabled by default and is used for VLAN-to-VLAN (non-BGP) routing. - Make sure IP forwarding is enabled if the default gateways are on different subnets or if Alteon is connected to different subnets and those subnets need to communicate through Alteon. - Specifies whether to enable IP forwarding. required: false link_state_trap: choices: - enabled - disabled default: enabled description: - Specifies whether linkUp/linkDown traps are generated for this interface. required: false name: default: null description: - The switch port name. required: false type: str port_alias: default: null description: - The switch port alias. required: false type: str pvid: default: 1 description: - The default VLAN ID for the port. required: false type: int rmon_state: choices: - true - false default: false description: - Specifies whether to enable RMON on the port. required: false spanning_tree_state: choices: - true - false default: null description: - Specifies whether to enable the spanning tree. required: false state: choices: - enabled - disabled default: null description: - Port state. required: false traffic_contract_id: default: 1024 description: - The switch port Bandwidth Management contract number. required: false type: int vlan_tag_mode: choices: - tagged - untagged default: null description: - VLAN tag state of the port. required: false 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