@utils.arg('ip', metavar='<ip>', help=_('IP address.'))
@utils.arg('name', metavar='<name>', help=_('DNS name.'))
@utils.arg('domain', metavar='<domain>', help=_('DNS domain.'))
@utils.arg('--type', metavar='<type>', help=_('DNS type (e.g. "A")'), default='A')
@deprecated_network
def do_dns_create(cs, args):
 cs.dns_entries.create(args.domain, args.name, args.ip, args.type)

@ utils . arg ( 'ip' , metavar = '<ip>' , help = _ ( 'IP address.' ) ) @ utils . arg ( 'name' , metavar = '<name>' , help = _ ( 'DNS name.' ) ) @ utils . arg ( 'domain' , metavar = '<domain>' , help = _ ( 'DNS domain.' ) ) @ utils . arg ( '--type' , metavar = '<type>' , help = _ ( 'DNS type (e.g. "A")' ) , default = 'A' ) @ deprecated_network def do_dns_create ( cs , args ) : cs . dns_entries . create ( args . domain , args . name , args . ip , args . type )
create a dns entry for domain .