def add_prefix(network):
p = new_prefix()<EOL>p.prefix = str(network['<STR_LIT>'])<EOL>p.type = "<STR_LIT>"<EOL>p.description = network['<STR_LIT:description>']<EOL>p.tags = ['<STR_LIT>']<EOL>p.comment = "<STR_LIT>"<EOL>if '<STR_LIT>' in network:<EOL><INDENT>p.comment += network['<STR_LIT>']<EOL><DEDENT>if len(network['<STR_LIT>']) > <NUM_LIT:0>:<EOL><INDENT>p.comment += network['<STR_LIT>']<EOL><DEDENT>return p<EOL>
Put your network information in the prefix object.