def fill_prefix(self, argp):
arg_prefix = argp.split("<STR_LIT:/>")[<NUM_LIT:0>]<EOL>arg_pl = argp.split("<STR_LIT:/>")[<NUM_LIT:1>]<EOL>netcount = <NUM_LIT:0><EOL>if self.n._is_ipv4(arg_prefix):<EOL><INDENT>m = re.match("<STR_LIT>", arg_prefix)<EOL>os1 = int(m.group(<NUM_LIT:1>))<EOL>os2 = int(m.group(<NUM_LIT:2>))<EOL>os3 = int(m.group(<NUM_LIT:3>))<EOL>os4 = int(m.group(<NUM_LIT:4>))<EOL>count = <NUM_LIT:2>**(<NUM_LIT:32>-int(arg_pl))<EOL>i = <NUM_LIT:0><EOL>t0 = time.time()<EOL>try:<EOL><INDENT>for o1 in range(os1, <NUM_LIT:255>):<EOL><INDENT>for o2 in range(os2, <NUM_LIT:255>):<EOL><INDENT>for o3 in range(os3, <NUM_LIT:255>):<EOL><INDENT>t2 = time.time()<EOL>for o4 in range(os4, <NUM_LIT:255>):<EOL><INDENT>prefix = "<STR_LIT>" % (o1, o2, o3, o4)<EOL>self.n.add_prefix({'<STR_LIT:name>': '<STR_LIT>' }, { '<STR_LIT>': prefix, '<STR_LIT:description>': '<STR_LIT:test>' })<EOL>i += <NUM_LIT:1><EOL>if i >= count:<EOL><INDENT>raise StopIteration()<EOL><DEDENT><DEDENT>t3 = time.time()<EOL>print(netcount, (t3-t2)/<NUM_LIT>)<EOL>netcount += <NUM_LIT:1><EOL><DEDENT><DEDENT><DEDENT><DEDENT>except StopIteration:<EOL><INDENT>pass<EOL><DEDENT>t1 = time.time()<EOL>print(count, "<STR_LIT>", t1-t0)<EOL><DEDENT>elif self.n._is_ipv6(argp):<EOL><INDENT>print("<STR_LIT>", file=sys.stderr)<EOL><DEDENT>
Fill the specified prefix with hosts (/32s or /128s for IPv[46])