cancel
Showing results for 
Search instead for 
Did you mean: 

Import Devices Into XMC

Import Devices Into XMC

Anonymous
Not applicable

Hi,

Have several hundred none Extreme devices I need to add into XMC that are generally unique IP address, under ping only, probably will configure each as out of service as monitoring them is not important.

Obviously only being able to add these in one at a time would be a considerable amount of work. The discovery options (that I can see) wouldn’t work for me as putting in subnet ranges for these would equally be as time consuming, even if I was able to use SNMP (could use seed, but not an option) and besides there not being a ping option anyway, if there was, it would pick up more then just the switches.

The primary reason for adding the switches is just to add them into control as RADIUS clients, as management login for all these switches is being done through XMC / ExtremeControl.

Thought there was a way, maybe more in the legacy (although can’t find it) that allows me to import devices, but been unable to find it?

Currently running latest version 8.5.5.32.

Many thanks in advance for any ideas.

1 ACCEPTED SOLUTION

Anonymous
Not applicable

Just see this:

https://github.com/extremenetworks/ExtremeScripting/tree/master/Netsight/oneview_workflows

There is a workflow listed called Import Devices

This looks like exactly what was needed, so putting here for anyone else whom might come across the same query.

 

View solution in original post

9 REPLIES 9

Anonymous
Not applicable

Just see this:

https://github.com/extremenetworks/ExtremeScripting/tree/master/Netsight/oneview_workflows

There is a workflow listed called Import Devices

This looks like exactly what was needed, so putting here for anyone else whom might come across the same query.

 

Anonymous
Not applicable

Thanks Stephen for the information.

Next on my list is to fully understand the NBI component and get a bit more familiar with Python.

As I started delving into it, it was just taking me down a rabbit warren that I’ll invest the time in at a later date.

I did figured out why the I was getting

urllib.error.HTTPError: HTTP Error 400: Bad Request

Its because I needed to change the section in the URL from:

<Ping Only>

And replace it with:

%3CPing%20Only%3E

The code then just presented me with another error:

urllib.error.HTTPError: HTTP Error 401: Unauthorized

So I gave up (time running out), and just created a list of URLs based on the formula above (took a few minutes) in Excel, each URL looked like this:

8ab9891c86e14fb0bd07ae3b1e2a69ad_bebba464-4c1c-47c1-bcef-99d8c6743572.png

Which I just simply clicked on one at a time!

Again didn’t take me too long, but least it was way way faster then having to have put them in one at a time directly into XMC 🙂

StephanH
Valued Contributor III

In addition you can check if the NBI-Client written by Markus is something you can use.

https://github.com/extremenetworks/ExtremeScripting/blob/master/Netsight/nbi_clients/README.md

Regards Stephan

StephanH
Valued Contributor III

Hello Martin,

I think the module urllib.request leads you in the wrong direction. Check out the following guide

https://api.extremenetworks.com/XMC/Scripting/Python_with_XMC_8.1_v0.94.pdf

 

Regards Stephan
GTM-P2G8KFN