table of contents
- buster 1:4.2.0-2+deb10u2
- buster-backports 1:4.7.0-1~bpo10+1
- testing 1:4.7.0-1
- unstable 1:4.7.0-1
OCF_HEARTBEAT_IFACE() | OCF_HEARTBEAT_IFACE() |
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"