<modelConf>
  <global>
		<!-- global information important for all servers.-->
		<!-- e.g. network information.-->
  </global>

  <serviceClasses>
	<serviceClass name="dhcp">
	<package file="/farm/mngmt/classes/dhcp.pkg"/>
        <subnet>99</subnet>
        <slb>
                <vip int="20">20</vip>
                <network>int</network>
                <port number="67">
                        <protocol>udp</protocol>
                        <scheduler>rr</scheduler>
                        <service>bootpc</service>
                </port>
        </slb>
        </serviceClass>


        <serviceClass name="mysqlw">
	<package file="/farm/mngmt/classes/mysqlw.pkg"/>
    	<subnet>101</subnet>
    	<slb>
    		<vip int="40">40</vip>
		<network>int</network>
                <port number="3306">
                        <protocol>tcp</protocol>
                        <scheduler>lc</scheduler>
                        <service>mysql</service>
                </port>
        </slb>
        </serviceClass>

        <serviceClass name="webcache">
	<package file="/farm/mngmt/classes/webcache.pkg"/>
    	<subnet>100</subnet>
    	<slb>
    		<vip ext="60" wan="60" int="60">60</vip>
            	<network>int</network>
            	<network>ext</network>
            	<network>wan</network>
                <port number="80">
                        <protocol>tcp-sticky</protocol>
                        <scheduler>lc</scheduler>
                        <service>http</service>
                </port>
    	</slb>
        </serviceClass>
   
   </serviceClasses>


  <servers>

        <server id="123">
                <eth id="0" mac="00:..." />
                <eth id="1" mac="00:...." />
                <cpu id="1" />
                <cpu id="2" />
                <memory size="4096" />
                <position rack="1" position="1" />
                <serviceInstance name="webcache" count="1"/>
        </server>

        <server id="456">
                <eth id="0" mac="00:..." />
                <eth id="1" mac="00:...." />
                <cpu id="1" />
                <cpu id="2" />
                <memory size="4096" />
                <position rack="1" position="2" />
                <serviceInstance name="webcache" count="2"/>
                <serviceInstance name="mysqlw" count="1"/>
                <serviceInstance name="dhcp" count="1"/>
        </server>

  </servers>

</modelConf>

