List of proxies based on KVM/target server

I'm looking to retrieve the list of proxies based on KVM/target server that it's using. For example, if I provide KVM kvm1 then all proxies that are using this KVM should be listed.Let me know if there are any management API which can help us to achieve this.

Solved Solved
0 3 6,867
1 ACCEPTED SOLUTION

There's no single API call that can do that.

There is a command-line tool based on nodejs that I know of that will do this.

It uses a brute-force approach - searches all proxies for all policies, and looks for KVM policies, then looks for a specific Map (eg, kvm1) within that policy. The tool then flags each policy that matches.

check it out.

It can take a while to run in an organization with a large number of proxies.

https://github.com/DinoChiesa/apigee-edge-js/blob/master/examples/findPoliciesWithKvmAccess.js

To use it, you will need to:

View solution in original post

3 REPLIES 3

There's no single API call that can do that.

There is a command-line tool based on nodejs that I know of that will do this.

It uses a brute-force approach - searches all proxies for all policies, and looks for KVM policies, then looks for a specific Map (eg, kvm1) within that policy. The tool then flags each policy that matches.

check it out.

It can take a while to run in an organization with a large number of proxies.

https://github.com/DinoChiesa/apigee-edge-js/blob/master/examples/findPoliciesWithKvmAccess.js

To use it, you will need to:

@Dino : Thanks for the reply. I can find a similar tool at the below location. Which one you recommend?

https://github.com/DinoChiesa/EdgeTools

They both work. I recommend tTe first one. The one located under EdgeTools is an older copy.