cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Display / Introduce Mitel Phone DN in XMC Database

Display / Introduce Mitel Phone DN in XMC Database

Anonymous
Not applicable

Hi 

Have seen this in action in the past but not sure how best to accomplish it. What I would like to do is supplement the XMC database against an end-system with a phones directory number.

In this particular case the phones are configured using 802.1x via an external RADIUS server, but not currently being proxied through NAC.

When you look at the LLDP that data is being provided to the switch in fields like ā€œSystem Nameā€ i.e

 

System Name ā€œmobDN 25317, Mitel 5212 Dmā€

 

To get the end-system data into XMC I can either use ID Manger &XML-Notification directly to XMC (i.e with no NAC) or install NAC and configure it as a proxy.

In regards to adding the LLDP information of the phone DN into XMC I can only think of doing that via a workflow, albeit I would need to workout a program for that? The option might be through the connect API, but not seen an existing module for that?

Do you know if there is anything ready packaged or a different way of doing it?

Many thanks in advance.

1 ACCEPTED SOLUTION

Zdeněk_Pala
Extreme Employee

Hi Martin.

 

here is an example of GraphQL (NBI) call including the python code to update custom4 information for end-system what does exist in the end-system table:

 

2e589f699a604a3e8e8c307f57ce58b0_b5e3376e-8f6c-44b6-8d2d-ca2c231d90a1.png

Here is an example of the GraphQL call to create non-existing end-system:

2e589f699a604a3e8e8c307f57ce58b0_80c9164f-7655-4d0d-abfe-c8117384f4f1.png

 

To execute CLI command I recommend to use:

emc_cli.send(ā€œshow lldp neigā€)

Attached you can find useful resource. Some examples are also available at GitHub.

Have fun.

 

Regards Zdeněk Pala

View solution in original post

2 REPLIES 2

Zdeněk_Pala
Extreme Employee

I am sorry the code was crashed by the web page. I had to make it as picture.

I will send you the code directly.

Regards Zdeněk Pala

Zdeněk_Pala
Extreme Employee

Hi Martin.

 

here is an example of GraphQL (NBI) call including the python code to update custom4 information for end-system what does exist in the end-system table:

 

2e589f699a604a3e8e8c307f57ce58b0_b5e3376e-8f6c-44b6-8d2d-ca2c231d90a1.png

Here is an example of the GraphQL call to create non-existing end-system:

2e589f699a604a3e8e8c307f57ce58b0_80c9164f-7655-4d0d-abfe-c8117384f4f1.png

 

To execute CLI command I recommend to use:

emc_cli.send(ā€œshow lldp neigā€)

Attached you can find useful resource. Some examples are also available at GitHub.

Have fun.

 

Regards Zdeněk Pala
GTM-P2G8KFN