def complete_vrf(arg):
search_string = '<STR_LIT>'<EOL>if arg is not None:<EOL><INDENT>search_string = '<STR_LIT>' % arg<EOL><DEDENT>res = VRF.search({<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>':  search_string<EOL>}, { '<STR_LIT>': <NUM_LIT> } )<EOL>ret = []<EOL>for v in res['<STR_LIT:result>']:<EOL><INDENT>ret.append(v.rt)<EOL><DEDENT>if re.match(search_string, '<STR_LIT:none>'):<EOL><INDENT>ret.append('<STR_LIT:none>')<EOL><DEDENT>return ret<EOL>
Returns list of matching VRFs