Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

How to retrieve Dispatch result xml #12

Open
kevin-fibich opened this issue Jul 10, 2020 · 1 comment
Open

How to retrieve Dispatch result xml #12

kevin-fibich opened this issue Jul 10, 2020 · 1 comment

Comments

@kevin-fibich
Copy link

Dispatching rpc like get-software-information does not make much sense if you cannot get the result xml.
Is there any way to retrieve it?

@scott-carrion
Copy link

@kevin-fibich I know that this is over 4 years old, but I actually know the answer to this.

In short, the API does not actually return anything for dispatching RPCs, among other things, so it's inaccessible to Robot Framework. This is a simple fix: Just add a "return" to every call to ncclient.

This project is unmaintained, as evidenced by the description saying [Maintainer Required]. Though I asked the author @vkosuri if I could take over this repo, I haven't received a reply.

So, I forked this repo and will be maintaining it with better code quality and far better documentation.
Check out this fork here: https://github.com/scott-carrion/robotframework-ncclient2

At the time of writing, this project is still in its infancy, but it fixes the problem you describe here.

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

No branches or pull requests

2 participants