#This config file controls the network settings to be applied.
#If you wish to use a custom list of hostnames, please specify the filename
#in UsesNodefile. If UsesNodefile is set, the head and nodes variables
#are ignored.

ConfigVersion=2
Head="head"
#The Nodes variable can be a single name prefix or list of node name prefixes. If using
#a list, NodeStartIP and NumNodes must contain the same number of entries. The first
#entry of $Nodes gets used with the first start IP from $NodeStartIP, and the first
#entry of $NumNodes is used as the quantity of that system type, etc, etc.
Nodes="node storage"
NodeStartIP="1 241"
#NumNodes is an list of the number systems of each type, not including the head
NumNodes="16 1"
#nodedigitplaces=1 means node2, =2 means node02, =3 means node002
nodedigitplaces=1
NetMask="255.255.254.0"
Net="10.0.0."
HeadIP=254
Domain="cluster"
Device="eth0"
UsesNodefile=""

#Should ipmi names/ips be added to /etc/hosts?
#CreateIPMInames="yes"
#CreateIPMInames="no"
IPMINet="10.0.1."

#Should alternate names/ips be added to /etc/hosts and ifcfg files be created?
#This is typically used for Infiniband
#CreateAltNames="yes"
#CreateAltNames="no"
AltNet="10.1.0."
AltNetmask="255.255.255.0"
AltDevice="ib0"
AltSuffix="-ib"

#Mode="head"
#Mode="compute"
#if you are in Mode=compute, set the gateway to the head node's IP
EnableGateway=yes
#EnableGateway=no
#if you are in Mode=head, enable dnsmasq
EnableDnsmasq=yes
#EnableDnsmasq=no
#if you are in Mode=head, enable iptables MASQUERADE for node's NAT
EnableMasquerade=yes
#EnableMasquerade=no
#Which devices provides the outside ethernet connection in Mode=head
#when EnableMasquerade is set to yes?
NatDevice=eth1

#if Mode=head and EnableMasquerade=yes and this is set yes, then set up basic firewall rules
#(allow all lo, eth0, ib0 [if CreateIBnames=yes], ssh, http, https to eth1)
BasicFirewall=yes
