def portalias_create(request, body):
    portalias = {'portalias': {'name': body['alias_name'], 'protocol': body['protocol'], 'port': body['port']}}
    LOG.debug(('portalias_create(): body = %s' % body))
    return _create(request, 'dhportalias', portalias)
def portalias_create(request, body):
    portalias = {'portalias': {'name': body['alias_name'], 'protocol': body['protocol'], 'port': body['port']}}
    LOG.debug(('portalias_create(): body = %s' % body))
    return _create(request, 'dhportalias', portalias)