table of contents
OCF_HEARTBEAT_IFACE(7) | OCF resource agents | OCF_HEARTBEAT_IFACE(7) |
NAME¶
ocf_heartbeat_iface-macvlan - Manages MACVLAN network interfaces.
SYNOPSIS¶
iface-macvlan [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION¶
This resource manages MACVLAN network interfaces. It can add, remove, configure MACVLANs.
SUPPORTED PARAMETERS¶
device
(required, string, no default)
name
(unique, required, string, no default)
mode
(optional, string, default "bridge")
mac
(unique, optional, string, no default)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
status
monitor
meta-data
validate-all
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¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
04/13/2023 | resource-agents 4.12.0-2 |