evolved-npcs-infra/control-plane/control-plane-net.xsl
2025-10-03 11:20:13 -07:00

25 lines
809 B
XML

<xsl:stylesheet version="1." xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output omit-xml-declaration="yes" indent="yes"/>
<!-- This template completely replaces the generated XML with our custom XML -->
<xsl:template match="/">
<network ipv6='yes'>
<name>my-talos-net</name>
<bridge name="cp-net" stp="on" delay="0"/>
<forward mode='nat'>
<nat ipv6='yes'/>
</forward>
<ip address="10.5.0.1" netmask="255.255.255.0">
<dhcp>
<range start="10.5.0.2" end="10.5.0.254"/>
</dhcp>
</ip>
<ip family='ipv6' address='2001:db8:b84b:5::1' prefix='64'>
<dhcp>
<range start='2001:db8:b84b:5::2' end='2001:db8:b84b:5::ffff'/>
</dhcp>
</ip>
</network>
</xsl:template>
</xsl:stylesheet>