table of contents
OCF_HEARTBEAT_IFACE() | OCF_HEARTBEAT_IFACE() |
NAME¶
ocf_heartbeat_iface-vlan - Manages VLAN network interfaces.
SYNOPSIS¶
iface-vlan [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION¶
This resource manages VLAN network interfaces. It can add, remove, configure VLANs.
SUPPORTED PARAMETERS¶
vlan_interface
(unique, required, string, no default)
vlan_id
(unique, required, integer, no default)
vlan_name
(unique, optional, string, default "vlan_interface.vlan.id")
vlan_reorder_hdr
(optional, boolean, default 1)
vlan_gvrp
(optional, boolean, default 0)
vlan_mvrp
(optional, boolean, default 0)
vlan_loose_binding
(optional, boolean, default 0)
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-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 a 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" depth="0" interval="10s"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)