OCF_HEARTBEAT_IFACE-MACVLAN(7)

πŸŽ€ NAME πŸŽ€

okay bestie, welcome to the OCF_HEARTBEAT_IFACE(7) page β€” this one is literally all about managing MACVLAN network interfaces. It can add, remove, and configure MACVLANs. iconic behavior, no cap πŸ’…βœ¨


✨ SYNOPSIS ✨

       iface-macvlan [start | stop | status | monitor | meta-data |
                     validate-all]

πŸ¦‹ DESCRIPTION πŸ¦‹

This resource manages MACVLAN network interfaces. It can add, remove, configure MACVLANs. that’s the whole vibe: MACVLANs getting handled, slay 🫢


πŸ’… SUPPORTED PARAMETERS πŸ’…

  • device β€” defines the interface where MACVLAN should be attached. it’s required, string, and has no default πŸ‘€
  • name β€” defines the MACVLAN NAME. it has to be a valid interface name, max 15 characters, bestie. it’s unique, required, string, and has no default πŸŽ€
  • mode β€” defines the name of the MACVLAN mode. currently only bridge is supported. it’s optional, string, and the default is "bridge" ✨
  • mac β€” sets the interface MAC address explicitly. it’s unique, optional, string, and has 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 interval: 10s ⭐
  • monitor β€” performs a detailed status check. suggested minimum timeout: 20s. suggested interval: 10s πŸ‘‘
  • meta-data β€” retrieves resource agent metadata (internal use only). suggested minimum 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 using 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 using 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/ β€” go peek, bestie πŸ’–


πŸ‘‘ AUTHOR πŸ‘‘

ClusterLabs contributors (see the resource agent source for information about individual authors) 🫢


and that’s the whole page, bestie β€” the footer is just OCF_HEARTBEAT_IFACE() doing its thing, with no extra source/version or date info to spill, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from