Example #1
0
def do_del_vbs(gargs, args, _):
    """ Del a VBS """

    command.connect(gargs, ('DELETE', '/api/v1/vbses/%s' % args.addr), 204)
    print(args.addr)
Example #2
0
def do_cmd(gargs, args, _):
    """Delete an LNS."""

    url = '/api/v1/lnsd/lnss/%s' % args.lns_euid
    command.connect(gargs, ('DELETE', url), 204)
    print(args.lns_euid)
Example #3
0
def do_del_wtp(gargs, args, _):
    """ Del a WTP """

    command.connect(gargs, ('DELETE', '/api/v1/wtps/%s' % args.addr), 204)
    print(args.addr)