<model>
    <mount>//staticroutes</mount>
    <version>1.0.0</version>
    <items>
        <route type="ArrayField">
          <network type="NetworkField">
            <NetMaskRequired>Y</NetMaskRequired>
            <Required>Y</Required>
            <ValidationMessage>Specify a valid network matching the gateways ip protocol.</ValidationMessage>
          </network>
          <gateway type="JsonKeyValueStoreField">
            <Required>Y</Required>
            <ConfigdPopulateAct>interface gateways list</ConfigdPopulateAct>
            <SourceFile>/tmp/gateway_list.json</SourceFile>
            <ConfigdPopulateTTL>20</ConfigdPopulateTTL>
            <ValidationMessage>Specify a valid gateway from the list matching the networks ip protocol.</ValidationMessage>
          </gateway>
          <descr type="TextField">
            <Required>N</Required>
          </descr>
          <disabled type="BooleanField">
            <default>0</default>
            <Required>Y</Required>
          </disabled>
        </route>
    </items>
</model>
