<model>
    <mount>//OPNsense/Netflow</mount>
    <version>1.0.1</version>
    <description>OPNsense Netflow</description>
    <items>
        <capture>
            <interfaces type="InterfaceField">
                <Multiple>Y</Multiple>
                <filters>
                    <enable>/^(?!0).*$/</enable>
                </filters>
            </interfaces>
            <egress_only type="InterfaceField">
                <Multiple>Y</Multiple>
                <filters>
                    <enable>/^(?!0).*$/</enable>
                </filters>
            </egress_only>
            <version type="OptionField">
                <Required>Y</Required>
                <Default>v9</Default>
                <OptionValues>
                    <v5>v5</v5>
                    <v9>v9</v9>
                </OptionValues>
            </version>
            <targets type="IPPortField">
                <AsList>Y</AsList>
            </targets>
        </capture>
        <collect>
            <enable type="BooleanField">
                <Default>0</Default>
                <Required>Y</Required>
            </enable>
        </collect>
        <activeTimeout type="IntegerField">
            <Default>1800</Default>
            <Required>Y</Required>
            <MinimumValue>1</MinimumValue>
            <MaximumValue>86400</MaximumValue>
            <ValidationMessage>Active timeout needs to be an integer value between 1 and 86400</ValidationMessage>
         </activeTimeout>
         <inactiveTimeout type="IntegerField">
            <Default>15</Default>
            <Required>Y</Required>
            <MinimumValue>1</MinimumValue>
            <MaximumValue>86400</MaximumValue>
            <ValidationMessage>Inactive timeout needs to be an integer value between 1 and 86400</ValidationMessage>
         </inactiveTimeout>
    </items>
</model>
