velos_partition_lag – Manage network interfaces on VELOS chassis partitions¶
New in version 1.4.0.
DEPRECATED¶
Removed in F5 BIGIP Collection version: | |
---|---|
2.0.0 | |
Why: | All VELOS related modules have been moved to a dedicated collection for managing F5OS based devices. |
Alternative: | Use f5networks.f5os.f5os_lag instead. |
Parameters¶
Parameter | Choices/Defaults | Configuration | Comments |
---|---|---|---|
config_members
list
/ elements=string
|
Configures the list of interfaces to be grouped for the Link Aggregation Group (LAG).
|
||
lag_type
string
|
|
The LAG type of the interface to be created.
|
|
name
string
/ required
|
Name of the chassis partition interface to configure.
|
||
native_vlan
integer
|
Configures the VLAN ID to associate with the Link Aggregation Group.
The
native_vlans parameter is used for untagged traffic.The
native_vlan and trunk_vlans parameters are mutually exclusive. |
||
state
string
|
|
If
present , creates the specified object if it does not exist, or updates the existing object.If
absent , deletes the object if it exists. |
|
trunk_vlans
list
/ elements=integer
|
Configures multiple VLAN IDs to associate with the Link Aggregation Group.
The
trunk_vlans parameter is used for tagged traffic.The
native_vlan and trunk_vlans parameters are mutually exclusive.The order of these VLANs is ignored, the module orders the VLANs automatically.
|
Examples¶
- 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
Return Values¶
The following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
name
string
|
changed |
Name of the partition LAG interface to configure
Sample:
new_name
|
trunk_vlans
integer
|
changed |
trunk_vlans to attach to the interface
Sample:
[444, 555]
|
Status¶
- This module will be removed in version 2.0.0. [deprecated]
- For more information see DEPRECATED.
Authors¶
- Ravinder Reddy (@chinthalapalli)