Hello community,
I made a bit of reverse engineering to determine what Spectrum needs so that a link is set up between two network devices like:
With the CLI and the Modeling Gateway I found that at least 4 actions are needed:
- Link the 2 ports models with relation Links_with (0x10023) -> this does nothing visible in the OneClick topological view but you can see the two ports associated to each other in the interface tab of both devices
- Link one port model with the opposite device model with relation Connects_to (0x10005) -> this creates a yellow link
- Do the same with the other port and the other device (seems that the relations are incomplete if not done)
- Set the ok_to_poll (0x11dd8) attribute to Yes (1) for both port models -> the link goes Green.
My question is : is it enough? Did I miss something ?
Unfortunately I am not able to test this modelization on test devices on which I could unplug a cable...
=== ADDITION ===
As the documentation is not as detailed as it should be and to spare time to those who want to do the same, here are the requests used:
To set a relation between two models
To set an attribute value to multiple models