def remove_vrf(arg, opts, shell_opts):
remove_confirmed = shell_opts.force<EOL>res = VRF.list({ '<STR_LIT>': arg })<EOL>if len(res) < <NUM_LIT:1>:<EOL><INDENT>print("<STR_LIT>" % arg, file=sys.stderr)<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>v = res[<NUM_LIT:0>]<EOL>if not remove_confirmed:<EOL><INDENT>print("<STR_LIT>" % (v.rt, v.name, v.description))<EOL>print("<STR_LIT>")<EOL>res = input("<STR_LIT>" % vrf_format(v))<EOL>if res == '<STR_LIT:y>':<EOL><INDENT>remove_confirmed = True<EOL><DEDENT>else:<EOL><INDENT>print("<STR_LIT>")<EOL><DEDENT><DEDENT>if remove_confirmed:<EOL><INDENT>v.remove()<EOL>print("<STR_LIT>" % vrf_format(v))<EOL><DEDENT>
Remove VRF