I get the following error:
Template Attribute error: 'list' object is not callable
To clarify a bit more, the list INTF will be a template on how we lay out T1s. In production, we will likely cap out at 8 and I wanted all T1s to be predictable in the layout so that the 1st T1 in a bundle will always be 0/0/0 and the second T1 will be 0/1/0 and and the 3rd T1 would be 0/0/1 and so on. Here is what the production array will likely look like:
<% INTF = ['0/0/0', '0/1/0', '0/0/1','0/1/1','0/2/0', '0/3/0', '0/02/1','0/3/1'] %>
T1_NUM is used in a BUNCH of places in the template. So in my CSV, if T1_NUM= 4, then create 4 serial interfaces, set QoS bandwidth in kilobits to 4*1.544, set baseline for the bandwidth calculations to 4*1.544*1000 and set the headroom for QoS to 4*1.544*1000000*.004. I was thinking that I would use that same integer as a counter that would also allow me to reference a position in the array to pull the correct interface number (when the counter T = zero, INTF(0) would equal 0/0/0 and when T=2 then INTF(2) would equal 0/1/0 and so on.
I figured that using T1_NUM as a counter would be an easy way to create the interfaces but in looking at the info you sent, it seems that I could also have a CSV field set to something like ['0/0/0', '0/1/0', '0/0/1','0/1/1','0/2/0', '0/3/0', '0/02/1','0/3/1'] and use that to iterate. I think that may be the smarter move as it would allow for a single port card with a dual port or a 4 port card, etc. If I were to go that route instead, I tried this: