OCF_HEARTBEAT_IFACE-MACVLAN(7)
π NAME π
okay bestie, welcome to the OCF_HEARTBEAT_IFACE(7) page β this one is literally all about managing MACVLAN network interfaces. It can add, remove, and configure MACVLANs. iconic behavior, no cap π
β¨
β¨ SYNOPSIS β¨
iface-macvlan [start | stop | status | monitor | meta-data |
validate-all]
π¦ DESCRIPTION π¦
This resource manages MACVLAN network interfaces. It can add, remove, configure MACVLANs. thatβs the whole vibe: MACVLANs getting handled, slay π«Ά
π SUPPORTED PARAMETERS π
deviceβ defines the interface where MACVLAN should be attached. itβsrequired,string, and hasno defaultπnameβ defines the MACVLAN NAME. it has to be a valid interface name, max15characters, bestie. itβsunique,required,string, and hasno defaultπmodeβ defines the name of the MACVLAN mode. currently onlybridgeis supported. itβsoptional,string, and the default is"bridge"β¨macβ sets the interface MAC address explicitly. itβsunique,optional,string, and hasno defaultπ¦
πΈ 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 a iface-macvlan resource using the crm(8) shell:
primitive p_iface-macvlan ocf:heartbeat:iface-macvlan \
params \
device=string \
name=string \
op monitor timeout="20s" depth="0" interval="10s"
π₯ EXAMPLE PCS π₯
the following is an example configuration for a iface-macvlan resource using pcs(8):
pcs resource create p_iface-macvlan ocf:heartbeat:iface-macvlan \
device=string \
name=string \
op monitor timeout="20s" OCF_CHECK_LEVEL="0" interval="10s"
π SEE ALSO π
http://clusterlabs.org/ β go peek, bestie π
π AUTHOR π
ClusterLabs contributors (see the resource agent source for information about individual authors) π«Ά
and thatβs the whole page, bestie β the footer is just OCF_HEARTBEAT_IFACE() doing its thing, with no extra source/version or date info to spill, periodt π
β¨
π¦ 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