'List the server packages.'

def ex_list_packages(self):

    try:
        result = self.connection.request((API_ROOT + '/cloud/packages/')).object
    except HostVirtualException:
        return []
    pkgs = []
    for value in result:
        pkgs.append(value)
    return pkgs
