interface.update ================ Update Interface of `id`. .. examples(cli):: Update network interface static IP: > network interface update enp0s3 aliases="192.168.0.10" .. raw:: html
ID of the interface to update.
Updated interface configuration data.
No Additional PropertiesGenerate a name if not provided based on type, e.g. "br0", "bond1", "vlan0".
Human-readable description of the interface.
Enable IPv4 DHCP for automatic IP address assignment.
Enable IPv6 autoconfiguration.
List of IP address aliases to configure on the interface.
All items must be unique
No Additional ItemsThe type of IP address (INET for IPv4, INET6 for IPv6).
The IP address for the failover alias.
""
The network mask in CIDR notation.
Whether this interface is critical for failover functionality. Critical interfaces are monitored for failover events and can trigger failover when they fail.
Failover group identifier for clustering. Interfaces in the same group fail over together during failover events.
Virtual Host ID for VRRP failover configuration. Must be unique within the VRRP group and match between failover nodes.
Value must be greater or equal to 1 and lesser or equal to 255
List of IP aliases for failover configuration. These IPs are assigned to the interface during normal operation and migrate during failover.
No Additional ItemsThe type of IP address (INET for IPv4, INET6 for IPv6).
The IP address for the failover alias.
""
List of virtual IP aliases for failover configuration. These are shared IPs that float between nodes during failover events.
No Additional ItemsThe type of IP address (INET for IPv4, INET6 for IPv6).
The IP address for the failover alias.
""
List of interfaces to add as members of this bridge.
No Additional ItemsEnable MAC address learning for bridge interfaces. When enabled, the bridge learns MAC addresses from incoming frames and builds a forwarding table to optimize traffic flow.
Enable Spanning Tree Protocol for bridge interfaces. STP prevents network loops by blocking redundant paths and enables automatic failover when the primary path fails.
Link aggregation protocol to use for bonding interfaces. LACP uses 802.3ad dynamic negotiation, FAILOVER provides active-backup, LOADBALANCE and ROUNDROBIN distribute traffic across links.
Transmit hash policy for load balancing in link aggregation. LAYER2 uses MAC addresses, LAYER2+3 adds IP addresses, and LAYER3+4 includes TCP/UDP ports for distribution.
LACP data unit transmission rate. SLOW sends LACPDUs every 30 seconds, FAST sends every 1 second for quicker link failure detection.
List of interface names to include in the link aggregation group.
No Additional ItemsParent interface for VLAN configuration.
VLAN tag number (1-4094).
Priority Code Point for VLAN traffic prioritization (0-7). Values 0-7 map to different QoS priority levels, with 0 being lowest and 7 highest priority.
Value must be greater or equal to 0 and lesser or equal to 7
Maximum transmission unit size for the interface (68-9216 bytes).
Value must be greater or equal to 68 and lesser or equal to 9216
The updated interface configuration.
Unique identifier for the network interface.
Name of the network interface.
Whether this is a fake/simulated interface for testing purposes.
Type of interface (PHYSICAL, BRIDGE, LINK_AGGREGATION, VLAN, etc.).
Current runtime state information for the interface.
No Additional PropertiesCurrent name of the network interface.
Original name of the network interface before any renaming.
Human-readable description of the network interface.
Maximum transmission unit size for the interface.
Whether the interface is a cloned/virtual interface.
List of interface flags indicating various states and capabilities. Common flags include UP, DOWN, RUNNING, MULTICAST, BROADCAST, LOOPBACK, and POINTOPOINT.
No Additional ItemsIPv6 neighbor discovery flags. These control IPv6 autoconfiguration behavior and include flags like AUTOLINKLOCAL, ACCEPTRTADV, and PERFORMNUD.
No Additional ItemsList of hardware capabilities supported by the interface. Common capabilities include VLANMTU, JUMBOMTU, VLANHWTAGGING, VLANHWCSUM, and TSO4.
No Additional ItemsCurrent link state of the interface (up, down, etc.).
Type of media/connection for the interface. Examples include Ethernet, 802.11, or loopback.
Subtype of media/connection for the interface. Examples include 1000baseT, 100baseTX, or autoselect.
Currently active media type. This may differ from configured media_type during autonegotiation.
Currently active media subtype. This reflects the actual negotiated connection speed and type.
List of supported media types for the interface. Contains media descriptors like '1000baseT <full-duplex>' or 'autoselect'.
No Additional ItemsAvailable media options for the interface. Options may include 'full-duplex', 'half-duplex', 'flowcontrol', or 'rxpause'.
MAC address of the interface.
Permanent MAC address of the interface if different from current.
Hardware MAC address of the interface.
Number of receive queues configured for the interface.
Number of transmit queues configured for the interface.
List of IP address aliases configured on the interface.
No Additional ItemsThe type of IP address (INET for IPv4, INET6 for IPv6).
The IP address value.
The network mask for the IP address, either as a string or CIDR notation integer.
Broadcast address for the network interface.
VRRP (Virtual Router Redundancy Protocol) configuration for the interface.
Link aggregation protocol used (LACP, FAILOVER, etc.).
List of ports that are members of this link aggregation group.
No Additional ItemsThe name of the port interface.
List of flags associated with the port.
No Additional ItemsTransmit hash policy for load balancing in link aggregation. LAYER2 uses MAC addresses, LAYER2+3 adds IP addresses, and LAYER3+4 includes TCP/UDP ports for distribution.
LACP data unit transmission rate. SLOW sends LACPDUs every 30 seconds, FAST sends every 1 second for quicker link failure detection.
Parent interface for VLAN configuration.
VLAN tag number.
Priority Code Point for VLAN traffic prioritization. Values 0-7 map to different QoS priority levels, with 0 being lowest and 7 highest priority.
List of IP address aliases configured on the interface.
No Additional ItemsThe type of IP address (INET for IPv4, INET6 for IPv6).
The IP address value.
The network mask for the IP address, either as a string or CIDR notation integer.
Whether IPv4 DHCP is enabled for automatic IP address assignment.
Whether IPv6 autoconfiguration is enabled.
Human-readable description of the interface.
Maximum transmission unit size for the interface.
Parent interface for VLAN configuration.
VLAN tag number for VLAN interfaces.
Priority Code Point for VLAN traffic prioritization.
Link aggregation protocol (LACP, FAILOVER, LOADBALANCE, etc.).
List of interface names that are members of this link aggregation group.
No Additional ItemsList of interface names that are members of this bridge.
No Additional ItemsWhether MAC address learning is enabled for bridge interfaces.
Additional Properties of any type are allowed.
Type: object