You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am working to create a CSV export of front ports. I am looking to include the rear ports link peer if one exists.
I was hoping this would give me the info but it just gives me the front ports rear port... and i am looking to get the one layer deeper.
{{ device.rear_port.link_peers}}
Any help would be appreciated.
Here is the basic information I am currently exporting:
id,name,device,label,type,position,rear_port,rear_link_peer
{%- for device in queryset %}
"{{device.id}}","{{device.name}}","{{device.device}}","{{ device.label}}","{{ device.type}}","{{ device.rear_port.positions}}","{{ device.rear_port.name}}"{% endfor %}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am working to create a CSV export of front ports. I am looking to include the rear ports link peer if one exists.
I was hoping this would give me the info but it just gives me the front ports rear port... and i am looking to get the one layer deeper.
{{ device.rear_port.link_peers}}
Any help would be appreciated.
Here is the basic information I am currently exporting:
id,name,device,label,type,position,rear_port,rear_link_peer
{%- for device in queryset %}
"{{device.id}}","{{device.name}}","{{device.device}}","{{ device.label}}","{{ device.type}}","{{ device.rear_port.positions}}","{{ device.rear_port.name}}"{% endfor %}
Beta Was this translation helpful? Give feedback.
All reactions