def add(self):
c.action = '<STR_LIT>'<EOL>if '<STR_LIT:action>' in request.params:<EOL><INDENT>if request.params['<STR_LIT:action>'] == '<STR_LIT>':<EOL><INDENT>v = VRF()<EOL>if request.params['<STR_LIT>'].strip() != '<STR_LIT>':<EOL><INDENT>v.rt = request.params['<STR_LIT>']<EOL><DEDENT>if request.params['<STR_LIT:name>'].strip() != '<STR_LIT>':<EOL><INDENT>v.name = request.params['<STR_LIT:name>']<EOL><DEDENT>v.description = request.params['<STR_LIT:description>']<EOL>v.save()<EOL>redirect(url(controller='<STR_LIT>', action='<STR_LIT:list>'))<EOL><DEDENT><DEDENT>return render('<STR_LIT>')<EOL>
Add a new VRF.