Revision 6e8091f9 doc/hooks.rst

b/doc/hooks.rst
214 214
:pre-execution: master node and all nodes in the group
215 215
:post-execution: master node and all nodes in the group
216 216

  
217
Network operations
218
~~~~~~~~~~~~~~~~~~
219

  
220
OP_NETWORK_ADD
221
++++++++++++++
222

  
223
Adds a network to the cluster.
224

  
225
:directory: network-add
226
:env. vars: NETWORK_NAME, NETWORK_SUBNET, NETWORK_GATEWAY, NETWORK_SUBNET6,
227
            NETWORK_GATEWAY6, NETWORK_TYPE, NETWORK_MAC_PREFIX, NETWORK_TAGS
228
:pre-execution: master node
229
:post-execution: master node
230

  
231
OP_NETWORK_REMOVE
232
+++++++++++++++++
233

  
234
Removes a network from the cluster.
235

  
236
:directory: network-remove
237
:env. vars: NETWORK_NAME
238
:pre-execution: master node
239
:post-execution: master node
240

  
241
OP_NETWORK_CONNECT
242
++++++++++++++++++
243

  
244
Connects a network to a nodegroup.
245

  
246
:directory: network-connect
247
:env. vars: GROUP_NAME, NETWORK_NAME,
248
            GROUP_NETWORK_MODE, GROUP_NETWORK_LINK,
249
            NETWORK_SUBNET, NETWORK_GATEWAY, NETWORK_SUBNET6,
250
            NETWORK_GATEWAY6, NETWORK_TYPE, NETWORK_MAC_PREFIX, NETWORK_TAGS
251
:pre-execution: nodegroup nodes
252
:post-execution: nodegroup nodes
253

  
254

  
255
OP_NETWORK_DISCONNECT
256
+++++++++++++++++++++
257

  
258
Disconnects a network from a nodegroup.
259

  
260
:directory: network-disconnect
261
:env. vars: GROUP_NAME, NETWORK_NAME,
262
            GROUP_NETWORK_MODE, GROUP_NETWORK_LINK,
263
            NETWORK_SUBNET, NETWORK_GATEWAY, NETWORK_SUBNET6,
264
            NETWORK_GATEWAY6, NETWORK_TYPE, NETWORK_MAC_PREFIX, NETWORK_TAGS
265
:pre-execution: nodegroup nodes
266
:post-execution: nodegroup nodes
267

  
268

  
269
OP_NETWORK_SET_PARAMS
270
+++++++++++++++++++++
271

  
272
Modifies a network.
273

  
274
:directory: network-modify
275
:env. vars: NETWORK_NAME, NETWORK_SUBNET, NETWORK_GATEWAY, NETWORK_SUBNET6,
276
            NETWORK_GATEWAY6, NETWORK_TYPE, NETWORK_MAC_PREFIX, NETWORK_TAGS
277
:pre-execution: master node
278
:post-execution: master node
279

  
217 280

  
218 281
Instance operations
219 282
~~~~~~~~~~~~~~~~~~~

Also available in: Unified diff