######################################################## # # autogenerated by igmp_proxy.py # # The configuration file must define one upstream # interface, and one or more downstream interfaces. # # If multicast traffic originates outside the # upstream subnet, the "altnet" option can be # used in order to define legal multicast sources. # (Se example...) # # The "quickleave" should be used to avoid saturation # of the upstream link. The option should only # be used if it's absolutely nessecary to # accurately imitate just one Client. # ######################################################## {% if not disable_quickleave -%} quickleave {% endif -%} {% for interface in interfaces %} # Configuration for {{ interface.name }} ({{ interface.role }} interface) {% if interface.role == 'disabled' -%} phyint {{ interface.name }} disabled {%- else -%} phyint {{ interface.name }} {{ interface.role }} ratelimit 0 threshold {{ interface.threshold }} {%- endif -%} {%- for subnet in interface.alt_subnet %} altnet {{ subnet }} {%- endfor %} {%- for subnet in interface.whitelist %} whitelist {{ subnet }} {%- endfor %} {% endfor %}