@utils.arg('secgroup', metavar='<secgroup>', help=_('ID or name of security group.'))
@deprecated_network
def do_secgroup_delete(cs, args):
 secgroup = _get_secgroup(cs, args.secgroup)
 cs.security_groups.delete(secgroup)
 _print_secgroups([secgroup])

@ utils . arg ( 'secgroup' , metavar = '<secgroup>' , help = _ ( 'ID or name of security group.' ) ) @ deprecated_network def do_secgroup_delete ( cs , args ) : secgroup = _get_secgroup ( cs , args . secgroup ) cs . security_groups . delete ( secgroup ) _print_secgroups ( [ secgroup ] )
delete a security group .