Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo, or missing "&" in topTalkers #18

Open
adam-tasi opened this issue Jul 11, 2024 · 0 comments
Open

Typo, or missing "&" in topTalkers #18

adam-tasi opened this issue Jul 11, 2024 · 0 comments

Comments

@adam-tasi
Copy link

adam-tasi commented Jul 11, 2024

topTalkers?nePk=xxx.NE&startTime=yyy

is the working code, which is available on the Aruba webclient, but in the repo, the following is provided:

    if self.orch_version >= 9.3:
        path += f"?nePk={ne_pk}"
    else:
        path += f"/{ne_pk}?"

    path += f"startTime={start_time}&endTime={end_time}"

    if top is not None:
        path += f"&top={top}"

    return self._get(path)

In this case, we get the following response:
{startTime} parameter required for this resource.

The solution is just an additional & in the code before the startTime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant