OCF_HEARTBEAT_IFACE(7) | OCF resource agents | OCF_HEARTBEAT_IFACE(7) |
ocf_heartbeat_iface-vlan - Manages VLAN network interfaces.
iface-vlan [start | stop | status | monitor | meta-data | validate-all]
This resource manages VLAN network interfaces. It can add, remove, configure VLANs.
vlan_interface
(required, string, no default)
vlan_id
(required, integer, no default)
vlan_name
(unique, optional, string, default ".")
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)
This resource agent supports the following actions (operations):
start
stop
status
monitor
meta-data
validate-all
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"
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" OCF_CHECK_LEVEL="0" interval="10s"
http://clusterlabs.org/
ClusterLabs contributors (see the resource agent source for information about individual authors)
04/01/2024 | resource-agents 4.13.0-1ubuntu |