f5networks / f5networks.f5_bigip / 1.13.0 / module / velos_partition_lag
Removed in 2.0.0
Reason:All VELOS related modules have been moved to a dedicated collection for managing F5OS based devices. | Alternative:Use M(f5networks.f5os.f5os_lag) instead.
Manage network interfaces on VELOS chassis partitions
| "added in version" 1.4.0 of f5networks.f5_bigip"
Authors: Ravinder Reddy (@chinthalapalli)
Install with ansible-galaxy collection install f5networks.f5_bigip:==1.13.0
collections: - name: f5networks.f5_bigip version: 1.13.0
Manage network interfaces on VELOS chassis partitions.
- hosts: all collections: - f5networks.f5_bigip connection: httpapi vars: ansible_host: "lb.mydomain.com" ansible_user: "admin" ansible_httpapi_password: "secret" ansible_network_os: f5networks.f5_bigip.velos ansible_httpapi_use_ssl: yes tasks: - name: Creating VLAN444 velos_partition_vlan: name: vlan-444 vlan_id: 444 - name: Creating VLAN555 velos_partition_vlan: name: vlan-555 vlan_id: 555 - name: Attach Trunk-vlans to LAG to interface velos_partition_lag: name: "Arista" trunk_vlans: [444] state: present - name: modify Vlans to LAG interface velos_partition_lag: name: "Arista" trunk_vlans: [444,555] state: present - name: Delete LAG on interface velos_partition_lag: name: "Arista" trunk_vlans: [444,555] state: absent
name: description: - Name of the chassis partition interface to configure. required: true type: str state: choices: - present - absent default: present description: - If C(present), creates the specified object if it does not exist, or updates the existing object. - If C(absent), deletes the object if it exists. type: str lag_type: choices: - LACP - STATIC description: - The LAG type of the interface to be created. type: str native_vlan: description: - Configures the VLAN ID to associate with the Link Aggregation Group. - The C(native_vlans) parameter is used for untagged traffic. - The C(native_vlan) and C(trunk_vlans) parameters are mutually exclusive. type: int trunk_vlans: description: - Configures multiple VLAN IDs to associate with the Link Aggregation Group. - The C(trunk_vlans) parameter is used for tagged traffic. - The C(native_vlan) and C(trunk_vlans) parameters are mutually exclusive. - The order of these VLANs is ignored, the module orders the VLANs automatically. elements: int type: list config_members: description: - Configures the list of interfaces to be grouped for the Link Aggregation Group (LAG). elements: str type: list
name: description: Name of the partition LAG interface to configure returned: changed sample: new_name type: str trunk_vlans: description: trunk_vlans to attach to the interface returned: changed sample: - 444 - 555 type: int