def remove_vrf(self, id):
try:<EOL><INDENT>vrf = VRF.get(int(id))<EOL>vrf.remove()<EOL><DEDENT>except NipapError as e:<EOL><INDENT>return json.dumps({'<STR_LIT:error>': <NUM_LIT:1>, '<STR_LIT:message>': e.args, '<STR_LIT:type>': type(e).__name__})<EOL><DEDENT>return json.dumps(vrf, cls=NipapJSONEncoder)<EOL>
Remove a VRF.