diff options
Diffstat (limited to '')
-rw-r--r-- | templates/virtual-ip | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/templates/virtual-ip b/templates/virtual-ip new file mode 100644 index 0000000..c6ae46e --- /dev/null +++ b/templates/virtual-ip @@ -0,0 +1,39 @@ +%name virtual-ip + +# Copyright (C) 2009 Dejan Muhamedagic +# +# License: GNU General Public License (GPL) + +# Virtual IP address +# +# This template generates a single primitive resource of type IPaddr + +%required + +# Specify an IP address +# (for example: 192.168.1.101) +# Example: +# %% ip 192.168.1.101 + +%% ip + +%optional + +# If your network has a mask different from its class mask, then +# specify it here either in CIDR format or as a dotted quad +# (for example: 24 or 255.255.255.0) +# Example: +# %% netmask 24 + +%% netmask + +# Need LVS support? Set this to true then. + +%% lvs_support + +%generate + +primitive %_ ocf:heartbeat:IPaddr + params ip=%_:ip + opt cidr_netmask=%_:netmask + opt lvs_support=%_:lvs_support |