def portalias_list(request):
    r = _list(request, 'dhportalias')
    return [Port(item['name'], item['protocol'], item['port'], item['id']) for item in r.get('portaliases', {})]
def portalias_list(request):
    r = _list(request, 'dhportalias')
    return [Port(item['name'], item['protocol'], item['port'], item['id']) for item in r.get('portaliases', {})]