dellemc / dellemc.powerscale / 3.0.0 / module / networksettings Manages Network Settings on PowerScale Storage System | "added in version" 1.5.0 of dellemc.powerscale" Authors: Meenakshi Dembi (@dembim) <ansible.team@dell.com>dellemc.powerscale.networksettings (3.0.0) — module
Install with ansible-galaxy collection install dellemc.powerscale:==3.0.0
collections: - name: dellemc.powerscale version: 3.0.0
Managing Network Settings on the PowerScale Storage System includes modifying and retrieving details of network settings.
- name: Get Network settings dellemc.powerscale.networksettings: onefs_host: "{{onefs_host}}" api_user: "{{api_user}}" api_password: "{{api_password}}" verify_ssl: "{{verify_ssl}}" state: "{{state_present}}"
- name: Enable source based routing dellemc.powerscale.networksettings: onefs_host: "{{onefs_host}}" api_user: "{{api_user}}" api_password: "{{api_password}}" verify_ssl: "{{verify_ssl}}" enable_source_routing: true state: "{{state_present}}"
- name: Disable source based routing dellemc.powerscale.networksettings: onefs_host: "{{onefs_host}}" api_user: "{{api_user}}" api_password: "{{api_password}}" verify_ssl: "{{verify_ssl}}" enable_source_routing: false state: "{{state_present}}"
state: choices: - present description: - State of network settings. required: true type: str port_no: default: '8080' description: - Port number of the PowerScale cluster.It defaults to 8080 if not specified. required: false type: str api_user: description: - username of the PowerScale cluster. required: true type: str onefs_host: description: - IP address or FQDN of the PowerScale cluster. required: true type: str verify_ssl: choices: - true - false description: - boolean variable to specify whether to validate SSL certificate or not. - C(true) - indicates that the SSL certificate should be verified. - C(false) - indicates that the SSL certificate should not be verified. required: true type: bool api_password: description: - the password of the PowerScale cluster. required: true type: str enable_source_routing: description: - The value for enabling or disabling source based routing. type: bool
changed: description: Whether or not the resource has changed. returned: always sample: 'false' type: bool network_settings: contains: default_groupnet: description: Default client-side DNS settings for non-multitenancy aware programs. type: str sbr: description: Enable or disable source based routing. type: str sc_rebalance_delay: description: Delay in seconds for IP rebalance. type: int tcp_ports: description: List of client TCP ports. type: list description: Details of the network settings. returned: always sample: settings: default_groupnet: groupnet0 sbr: 'false' sc_rebalance_delay: '0' tcp_ports: - '2049' - '445' type: complex