@utils.arg('name', metavar='<name>', help=_('Name of security group.'))
@utils.arg('description', metavar='<description>', help=_('Description of security group.'))
@deprecated_network
def do_secgroup_create(cs, args):
 secgroup = cs.security_groups.create(args.name, args.description)
 _print_secgroups([secgroup])

@ utils . arg ( 'name' , metavar = '<name>' , help = _ ( 'Name of security group.' ) ) @ utils . arg ( 'description' , metavar = '<description>' , help = _ ( 'Description of security group.' ) ) @ deprecated_network def do_secgroup_create ( cs , args ) : secgroup = cs . security_groups . create ( args . name , args . description ) _print_secgroups ( [ secgroup ] )
create a security group .