.. _ansible.netcommon.net_interface_module: ******************************* ansible.netcommon.net_interface ******************************* **(deprecated, removed after 2022-06-01) Manage Interface on network devices** Version added: 1.0.0 .. contents:: :local: :depth: 1 DEPRECATED ---------- :Removed in collection release after 2022-06-01 :Why: Updated modules released with more functionality :Alternative: Use platform-specific "[netos]_interfaces" module Synopsis -------- - This module provides declarative management of Interfaces on network devices. Parameters ---------- .. raw:: html
| Parameter | Choices/Defaults | Comments |
|---|---|---|
|
aggregate
-
|
List of Interfaces definitions.
|
|
|
delay
-
|
Default: 10
|
Time in seconds to wait before checking for the operational state on remote device. This wait is applicable for operational state argument which are state with values
up/down, tx_rate and rx_rate. |
|
description
-
|
Description of Interface.
|
|
|
duplex
-
|
|
Interface link status
|
|
enabled
-
|
Configure interface link status.
|
|
|
mtu
-
|
Maximum size of transmit packet.
|
|
|
name
-
/ required
|
Name of the Interface.
|
|
|
purge
-
|
Default: "no"
|
Purge Interfaces not defined in the aggregate parameter. This applies only for logical interface.
|
|
rx_rate
-
|
Receiver rate in bits per second (bps).
This is state check parameter only.
Supports conditionals, see Conditionals in Networking Modules
|
|
|
speed
-
|
Interface link speed.
|
|
|
state
-
|
|
State of the Interface configuration,
up indicates present and operationally up and down indicates present and operationally down |
|
tx_rate
-
|
Transmit rate in bits per second (bps).
This is state check parameter only.
Supports conditionals, see Conditionals in Networking Modules
|