table of contents
OCF_HEARTBEAT_IFACE(7) | OCF resource agents | OCF_HEARTBEAT_IFACE(7) |
NAME¶
ocf_heartbeat_iface-bridge - Manages Bridge network interfaces.
SYNOPSIS¶
iface-bridge [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION¶
This resource manages Bridge network interfaces. It can add, remove, configure bridges and spanning-tree.
SUPPORTED PARAMETERS¶
bridge_name
(unique, required, string, no default)
bridge_slaves
(unique, optional, string, no default)
bridge_ageing
(optional, integer, no default)
port_hairpin
(optional, string, no default)
stp
(optional, boolean, default false)
stp_bridgeprio
(optional, integer, no default)
stp_fd
(optional, integer, default 0)
stp_maxage
(optional, integer, no default)
stp_hello
(optional, integer, no default)
stp_pathcost
(optional, string, no default)
stp_portprio
(optional, string, no default)
multicast_router
(optional, boolean, default 1)
multicast_snooping
(optional, boolean, default 1)
multicast_port_router
(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-bridge resource using the crm(8) shell:
primitive p_iface-bridge ocf:heartbeat:iface-bridge \
params \
bridge_name=string \
op monitor timeout="20s" depth="0" interval="10s"
EXAMPLE PCS¶
The following is an example configuration for a iface-bridge resource using pcs(8)
pcs resource create p_iface-bridge ocf:heartbeat:iface-bridge \
bridge_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)
11/10/2024 | resource-agents 4.16.0-1 |