radware / radware.radware_alteon / 1.1.2 / module / alteon_config_network_class_ip Manage network class 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_network_class_ip (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
You can set a network class to include several subnets or IP ranges, which can be used for filtering and virtual server classification.
- 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: net_class_ip_test description: test ip_ver: ipv4 classes: - name: net_1 network_type: subnet ip4_address: 172.16.5.0 ip4_subnet: 255.255.255.0 match_type: exclude - name: net_2 network_type: range ip4_range_first_address: 172.16.6.1 ip4_range_last_address: 172.16.6.15 match_type: include - name: net_3 network_type: range ip4_range_first_address: 172.16.0.1 ip4_range_last_address: 172.16.0.15 match_type: include
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 network class configuration. suboptions: classes: default: null description: - Network class elements. elements: dict required: false suboptions: ip4_address: default: null description: - IPv4 address. required: false type: str ip4_range_first_address: default: null description: - The first IP address in the range. required: false type: str ip4_range_last_address: default: null description: - The last IP address in the range. 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 ip6_range_first_address: default: null description: -The first IP address in the range. required: false type: str ip6_range_last_address: default: null description: - The last IP address in the range. required: false type: str match_type: choices: - include - exclude default: include description: - Include/Exclude the IP addresses that match the element definition in the network class. required: false name: default: null description: - The ID of the network class element. required: true type: int network_type: choices: - subnet - range default: subnet description: - Specifies the type of network class element. required: false type: list description: default: null description: - Network class description. required: false type: str index: default: null description: - Network class ID. required: true type: str ip_ver: choices: - ipv4 - ipv6 default: ipv4 description: - IP version. 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