11-22-2019 02:09 PM
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.
Solved! Go to Solution.
11-24-2019 10:12 PM
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:
Here is an example of the GraphQL call to create non-existing end-system:
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.
11-24-2019 10:20 PM
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.
11-24-2019 10:12 PM
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:
Here is an example of the GraphQL call to create non-existing end-system:
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.