1OCF_HEARTBEAT_OPENST(7)       OCF resource agents      OCF_HEARTBEAT_OPENST(7)
2
3
4

NAME

6       ocf_heartbeat_openstack-floating-ip - Move a floating IP
7

SYNOPSIS

9       openstack-floating-ip [start | stop | monitor | meta-data |
10                             validate-all]
11

DESCRIPTION

13       Resource Agent to move a floating IP address from an instance to
14       another one. It relies on attributes given by openstack-info resource
15       agent (openstack_ports, openstack_id attributes). The attribute called
16       "openstack_floating_ip" is updated.
17

SUPPORTED PARAMETERS

19       openstackcli
20           Path to command line tools for openstack.
21
22           (optional, string, default "/usr/bin/openstack")
23
24       openrc
25           Valid Openstack credentials as openrc file from api_access/openrc.
26
27           (required, string, no default)
28
29       ip_id
30           Floating IP Identifier.
31
32           (required, string, no default)
33
34       subnet_id
35           Subnet Identifier to use to attach the address.
36
37           (required, 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: 180s.
44
45       stop
46           Stops the resource. Suggested minimum timeout: 180s.
47
48       monitor
49           Performs a detailed status check. Suggested minimum timeout: 30s.
50           Suggested interval: 60s.
51
52       validate-all
53           Performs a validation of the resource configuration. Suggested
54           minimum timeout: 5s.
55
56       meta-data
57           Retrieves resource agent metadata (internal use only). Suggested
58           minimum timeout: 5s.
59

EXAMPLE CRM SHELL

61       The following is an example configuration for a openstack-floating-ip
62       resource using the crm(8) shell:
63
64           primitive p_openstack-floating-ip ocf:heartbeat:openstack-floating-ip \
65             params \
66               openrc=string \
67               ip_id=string \
68               subnet_id=string \
69             op monitor depth="0" timeout="30s" interval="60s"
70

EXAMPLE PCS

72       The following is an example configuration for a openstack-floating-ip
73       resource using pcs(8)
74
75           pcs resource create p_openstack-floating-ip ocf:heartbeat:openstack-floating-ip \
76             openrc=string \
77             ip_id=string \
78             subnet_id=string \
79             op monitor OCF_CHECK_LEVEL="0" timeout="30s" interval="60s"
80

SEE ALSO

82       http://clusterlabs.org/
83

AUTHOR

85       ClusterLabs contributors (see the resource agent source for information
86       about individual authors)
87
88
89
90resource-agents UNKNOWN           03/25/2021           OCF_HEARTBEAT_OPENST(7)
Impressum