OCF_HEARTBEAT_IFACE-VLAN(7)
π NAME π
okay bestie, welcome to ocf_heartbeat_iface-vlan(7) β the manual for iface-vlan, the resource agent that manages VLAN network interfaces. That's literally the NAME section: ocf_heartbeat_iface-vlan β manages VLAN network interfaces. Periodt. β¨
β¨ SYNOPSIS β¨
iface-vlan [start | stop | status | monitor | meta-data | validate-all]
π¦ DESCRIPTION π¦
This resource manages VLAN network interfaces. It can add, remove, configure VLANs. That's the whole vibe: add, remove, configure. Slay.
π SUPPORTED PARAMETERS π
vlan_interfaceβ define the interface where VLAN should be attached. (required, string, no default)vlan_idβ define the VLAN ID. It has to be a value between0and4094. (required, integer, no default)vlan_nameβ define the name of the VLAN interface (max 15 charaters). (unique, optional, string, default".")vlan_reorder_hdrβ enable or disable header reordering. (optional, boolean, default1)vlan_gvrpβ enable or disable GARP VLAN registration protocol. (optional, boolean, default0)vlan_mvrpβ enable or disable Multiple VLAN Registration Protocol. Please note that most distributions do not ship a version of iproute2 that supports mvrp yet, even if the kernel has support for it. Check output oflink add type vlan --helpin the FLAG section to verify if mvrp support is available. (optional, boolean, default0)vlan_loose_bindingβ enable or disable VLAN loose bind. By default the VLAN interface admin status (UP/DOWN) follows the underneath interface status. Enabling loose bind allows the VLAN to disconnect from the interface status. (optional, boolean, default0)
warning bestie β be very careful that enabling loose binding could invalidate this agent monitor operations. Please note that most distributions do not ship a version of iproute2 that supports loose_binding yet, even if the kernel has support for it. Check output of link add type vlan --help in the FLAG section to verify if loose_binding support is available.
π SUPPORTED ACTIONS π
This resource agent supports the following actions (operations):
startβ starts the resource. Suggested minimum timeout:30s.stopβ stops the resource. Suggested minimum timeout:20s.statusβ performs a status check. Suggested minimum timeout:20s. Suggested interval:10s.monitorβ performs a detailed status check. Suggested minimum timeout:20s. Suggested interval:10s.meta-dataβ retrieves resource agent metadata (internal use only). Suggested minimum timeout:5s.validate-allβ performs a validation of the resource configuration. Suggested minimum timeout:20s.
π EXAMPLE CRM SHELL π
The following is an example configuration for an iface-vlan resource using the crm(8) shell:
primitive p_iface-vlan ocf:heartbeat:iface-vlan \
params \
vlan_interface=string \
vlan_id=integer \
op monitor timeout="20s" depth="0" interval="10s"
π§ EXAMPLE PCS π§
The following is an example configuration for an iface-vlan resource using pcs(8):
pcs resource create p_iface-vlan ocf:heartbeat:iface-vlan \
vlan_interface=string \
vlan_id=integer \
op monitor timeout="20s" OCF_CHECK_LEVEL="0" interval="10s"
π SEE ALSO π
πΈ AUTHOR πΈ
ClusterLabs contributors (see the resource agent source for information about individual authors).
okay that's the whole page, bestie π β this was OCF_HEARTBEAT_IFACE-VLAN(7), and source/version and date aren't separately stamped on this copy (the footer only carried the manual name), so I'm not making them up. Bye! π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms