Revision 3a3e4f1e doc/hooks.rst

b/doc/hooks.rst
478 478
Called when the master IP is activated.
479 479

  
480 480
:directory: master-ip-turnup
481
:env. vars: MASTER_NETDEV, MASTER_IP
481
:env. vars: MASTER_NETDEV, MASTER_IP, MASTER_NETMASK, CLUSTER_IP_VERSION
482 482
:pre-execution: master node
483 483
:post-execution: master node
484 484

  
......
488 488
Called when the master IP is deactivated.
489 489

  
490 490
:directory: master-ip-turndown
491
:env. vars: MASTER_NETDEV, MASTER_IP
491
:env. vars: MASTER_NETDEV, MASTER_IP, MASTER_NETMASK, CLUSTER_IP_VERSION
492 492
:pre-execution: master node
493 493
:post-execution: master node
494 494

  
......
549 549
This is the list of variables which are specific to one or more
550 550
operations.
551 551

  
552
CLUSTER_IP_VERSION
553
  IP version of the master IP (4 or 6)
554

  
552 555
INSTANCE_NAME
553 556
  The name of the instance which is the target of the operation.
554 557

  
......
627 630
MASTER_IP
628 631
  The master IP
629 632

  
633
MASTER_NETMASK
634
  Netmask of the master IP
635

  
630 636
INSTANCE_TAGS
631 637
  A space-delimited list of the instance's tags.
632 638

  

Also available in: Unified diff