New in version 2.4.
parameter | required | default | choices | comments |
---|---|---|---|---|
dfs_group_id |
no | present |
ID of a DFS group. The value is 1.
|
|
eth_trunk_id |
no |
Name of the peer-link interface. The value is in the range from 0 to 511.
|
||
ip_address |
no |
IP address bound to the DFS group. The value is in dotted decimal notation.
|
||
nickname |
no |
The nickname bound to a DFS group. The value is an integer that ranges from 1 to 65471.
|
||
peer_link_id |
no |
Number of the peer-link interface. The value is 1.
|
||
priority_id |
no |
Priority of a DFS group. The value is an integer that ranges from 1 to 254. The default value is 100.
|
||
pseudo_nickname |
no |
A pseudo nickname of a DFS group. The value is an integer that ranges from 1 to 65471.
|
||
pseudo_priority |
no |
The priority of a pseudo nickname. The value is an integer that ranges from 128 to 255. The default value is 192. A larger value indicates a higher priority.
|
||
state |
no | present |
|
Specify desired state of the resource.
|
vpn_instance_name |
no |
Name of the VPN instance bound to the DFS group. The value is a string of 1 to 31 case-sensitive characters without spaces. If the character string is quoted by double quotation marks, the character string can contain spaces. The value _public_ is reserved and cannot be used as the VPN instance name.
|
- name: mlag config module test hosts: cloudengine connection: local gather_facts: no vars: cli: host: "{{ inventory_hostname }}" port: "{{ ansible_ssh_port }}" username: "{{ username }}" password: "{{ password }}" transport: cli tasks: - name: Create DFS Group id ce_mlag_config: dfs_group_id: 1 provider: "{{ cli }}" - name: Set dfs-group priority ce_mlag_config: dfs_group_id: 1 priority_id: 3 state: present provider: "{{ cli }}" - name: Set pseudo nickname ce_mlag_config: dfs_group_id: 1 pseudo_nickname: 3 pseudo_priority: 130 state: present provider: "{{ cli }}" - name: Set ip ce_mlag_config: dfs_group_id: 1 ip_address: 11.1.1.2 vpn_instance_name: 6 provider: "{{ cli }}" - name: Set peer link ce_mlag_config: eth_trunk_id: 3 peer_link_id: 2 state: present provider: "{{ cli }}"
Common return values are documented here Return Values, the following are the fields unique to this module:
name | description | returned | type | sample |
---|---|---|---|---|
changed |
check to see if a change was made on the device
|
always | boolean | True |
end_state |
k/v pairs of aaa params after module execution
|
always | dict | {'eth_trunk_id': 'Eth-Trunk3', 'peer_link_id': '1'} |
existing |
k/v pairs of existing aaa server
|
always | dict | {} |
proposed |
k/v pairs of parameters passed into module
|
always | dict | {'eth_trunk_id': '3', 'peer_link_id': '1', 'state': 'present'} |
updates |
command sent to the device
|
always | list | {'peer-link 1': None} |
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.