Currently having issues with a 4 member stack and templates+variables.
The template/configuration shows in the audit trail as good but if i try to use a condition statement for a variable that is assigned to member 2/3/4 it fails to apply ( but still says its good ).
Example
Member 2 JSON variables
"vsf.member": "2",
"if.2_1.name": "NOT IN USE",
"if.2_1.poe": "1",
"if.2_1.state": "1",
"if.2_1.stpedge": "1",
"if.2_1.stpfilter": "",
"if.2_1.stpguard": "1",
Template Condition
%if vsf.member=2%
%if if.2_1.stpedge=1%
spanning-tree 2/1 admin-edge-port
%endif%
%endif%
If i add the Template Condition line "spanning-tree 2/1 admin-edge-port" under any condition statement for member 1 it applies the configuration.
%if vsf.member=1%
%if if.1_1.stpedge=1%
spanning-tree 1/1 admin-edge-port
spanning-tree 2/1 admin-edge-port
%endif%
%endif%
Is this by design or a bug?
I would of thought assigning member variables to allow flexibility/scalability was the idea of templates?
If i am doing this wrong could someone point me in the right direction