1OCF_HEARTBEAT_IFACE()                                    OCF_HEARTBEAT_IFACE()
2
3
4

NAME

6       ocf_heartbeat_iface-macvlan - Manages MACVLAN network interfaces.
7

SYNOPSIS

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

DESCRIPTION

13       This resource manages MACVLAN network interfaces. It can add, remove,
14       configure MACVLANs.
15

SUPPORTED PARAMETERS

17       device
18           Define the interface where MACVLAN should be attached.
19
20           (required, string, no default)
21
22       name
23           Define the MACVLAN NAME. It has to be a valid interface name (max
24           15 characters).
25
26           (unique, required, string, no default)
27
28       mode
29           Define the name of the MACVLAN mode (currently only bridge is
30           supported).
31
32           (optional, string, default "bridge")
33
34       mac
35           Set the interface MAC address explicitly.
36
37           (unique, optional, string, no default)
38

SUPPORTED ACTIONS

40       This resource agent supports the following actions (operations):
41
42       start
43           Starts the resource. Suggested minimum timeout: 30s.
44
45       stop
46           Stops the resource. Suggested minimum timeout: 20s.
47
48       status
49           Performs a status check. Suggested minimum timeout: 20s. Suggested
50           interval: 10s.
51
52       monitor
53           Performs a detailed status check. Suggested minimum timeout: 20s.
54           Suggested interval: 10s.
55
56       meta-data
57           Retrieves resource agent metadata (internal use only). Suggested
58           minimum timeout: 5s.
59
60       validate-all
61           Performs a validation of the resource configuration. Suggested
62           minimum timeout: 20s.
63

EXAMPLE CRM SHELL

65       The following is an example configuration for a iface-macvlan resource
66       using the crm(8) shell:
67
68           primitive p_iface-macvlan ocf:heartbeat:iface-macvlan \
69             params \
70               device=string \
71               name=string \
72             op monitor timeout="20s" depth="0" interval="10s"
73

EXAMPLE PCS

75       The following is an example configuration for a iface-macvlan resource
76       using pcs(8)
77
78           pcs resource create p_iface-macvlan ocf:heartbeat:iface-macvlan \
79             device=string \
80             name=string \
81             op monitor timeout="20s" OCF_CHECK_LEVEL="0" interval="10s"
82

SEE ALSO

84       http://clusterlabs.org/
85

AUTHOR

87       ClusterLabs contributors (see the resource agent source for information
88       about individual authors)
89
90
91
92                                                         OCF_HEARTBEAT_IFACE()
Impressum