This Page

util.cidr — CIDR Object

class util.cidr.CIDR(**args)

CIDR represents a range of addresses based on a base and mask bits

bits2int(bitcount)
int2bits(address)
int2str(input)
randomAddress()
str2int(inputstr)
class util.cidr.NextHop(cidr, hop)

Simple tuple like deal for hold next hop information for routing classes