'Lists all network ACL items
:rtype: ``list`` of :class:`CloudStackNetworkACL`'

def ex_list_network_acl(self):

    acls = []
    result = self._sync_request(command='listNetworkACLs', method='GET')
    if (not result):
        return acls
    for acl in result['networkacl']:
        acls.append(CloudStackNetworkACL(acl['id'], acl['protocol'], acl['aclid'], acl['action'], acl['cidrlist'], acl.get('startport', []), acl.get('endport', []), acl['traffictype']))
    return acls
