OCF_HEARTBEAT_IFACE() OCF_HEARTBEAT_IFACE() 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, con- figure MACVLANs. SUPPORTED PARAMETERS device Define the interface where MACVLAN should be attached. (required, string, no default) name Define the MACVLAN NAME. It has to be a valid interface name (max 15 characters). (unique, required, string, no default) mode Define the name of the MACVLAN mode (currently only bridge is sup- ported). (optional, string, default "bridge") mac Set the interface MAC address explicitly. (unique, optional, string, no default) SUPPORTED ACTIONS This resource agent supports the following actions (operations): start Starts the resource. Suggested minimum timeout: 30s. stop Stops the resource. Suggested minimum timeout: 20s. status Performs a status check. Suggested minimum timeout: 20s. Suggested in- terval: 10s. monitor Performs a detailed status check. Suggested minimum timeout: 20s. Sug- gested interval: 10s. meta-data Retrieves resource agent metadata (internal use only). Suggested mini- mum timeout: 5s. validate-all Performs a validation of the resource configuration. Suggested minimum timeout: 20s. EXAMPLE CRM SHELL The following is an example configuration for a iface-macvlan resource us- ing 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 us- ing 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 http://clusterlabs.org/ AUTHOR ClusterLabs contributors (see the resource agent source for information about individual authors) OCF_HEARTBEAT_IFACE()
NAME | SYNOPSIS | DESCRIPTION | SUPPORTED PARAMETERS | SUPPORTED ACTIONS | EXAMPLE CRM SHELL | EXAMPLE PCS | SEE ALSO | AUTHOR
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=ocf_heartbeat_iface-macvlan&sektion=7&manpath=FreeBSD+Ports+15.1.quarterly>
