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       cloud
20           Openstack cloud (from ~/.config/openstack/clouds.yaml or
21           /etc/openstack/clouds.yaml).
22
23           (optional, string, no default)
24
25       openrc
26           Openstack credentials as openrc file from api_access/openrc.
27
28           (optional, string, no default)
29
30       auth_url
31           Keystone Auth URL
32
33           (optional, string, no default)
34
35       username
36           Username.
37
38           (optional, string, no default)
39
40       password
41           Password.
42
43           (optional, string, no default)
44
45       project_name
46           Keystone Project.
47
48           (optional, string, no default)
49
50       user_domain_name
51           Keystone User Domain Name.
52
53           (optional, string, default "Default")
54
55       project_domain_name
56           Keystone Project Domain Name.
57
58           (optional, string, default "Default")
59
60       openstackcli
61           Path to command line tools for openstack.
62
63           (optional, string, default "/usr/bin/openstack")
64
65       insecure
66           Allow insecure connections
67
68           (optional, boolean, default false)
69
70       ip_id
71           Floating IP Identifier.
72
73           (required, string, no default)
74
75       subnet_id
76           Subnet Identifier to use to attach the address.
77
78           (required, string, no default)
79

SUPPORTED ACTIONS

81       This resource agent supports the following actions (operations):
82
83       start
84           Starts the resource. Suggested minimum timeout: 180s.
85
86       stop
87           Stops the resource. Suggested minimum timeout: 180s.
88
89       monitor
90           Performs a detailed status check. Suggested minimum timeout: 180s.
91           Suggested interval: 60s.
92
93       validate-all
94           Performs a validation of the resource configuration. Suggested
95           minimum timeout: 5s.
96
97       meta-data
98           Retrieves resource agent metadata (internal use only). Suggested
99           minimum timeout: 5s.
100

EXAMPLE CRM SHELL

102       The following is an example configuration for a openstack-floating-ip
103       resource using the crm(8) shell:
104
105           primitive p_openstack-floating-ip ocf:heartbeat:openstack-floating-ip \
106             params \
107               ip_id=string \
108               subnet_id=string \
109             op monitor depth="0" timeout="180s" interval="60s"
110

EXAMPLE PCS

112       The following is an example configuration for a openstack-floating-ip
113       resource using pcs(8)
114
115           pcs resource create p_openstack-floating-ip ocf:heartbeat:openstack-floating-ip \
116             ip_id=string \
117             subnet_id=string \
118             op monitor OCF_CHECK_LEVEL="0" timeout="180s" interval="60s"
119

SEE ALSO

121       http://clusterlabs.org/
122

AUTHOR

124       ClusterLabs contributors (see the resource agent source for information
125       about individual authors)
126
127
128
129resource-agents UNKNOWN           01/25/2023           OCF_HEARTBEAT_OPENST(7)
Impressum