Add CIDR helpers to context
gi0baro opened this issue · comments
Functions:
cidr.subnet(prefix, newbits, netnum)
cidr.host(prefix, hostnum)
cidr.netmask(prefix)
cidr.subnets(prefix, *newbits)
A command-line tool for template rendering
gi0baro opened this issue · comments
Functions:
cidr.subnet(prefix, newbits, netnum)
cidr.host(prefix, hostnum)
cidr.netmask(prefix)
cidr.subnets(prefix, *newbits)