Closed HarishankarYellapragada closed 1 year ago
Works fine with this method
cable = nb.dcim.cables.create(
# a_terminations=[remote_interface],
# b_terminations=[local_interface],
a_terminations=[
{
"object_type": "dcim.interface",
"object_id": local_interface.id,
}
],
b_terminations=[
{
"object_type": "dcim.interface",
"object_id": remote_interface.id,
}
],
)
output =
Seeking advice on how to write the script to create a cable.