Hello Guys,
I have created a config change template to automate creation of VRFs on my juniper MX
@INTERFACE_IP_ADD.@VLAN_ID
Above are 2 variables seperated by a dot. For example , lets say my interface is ge-1/1/1 and the vlan ID is 2000( @INTERFACE_IP_ADD = ge-1/1/1 and @VLAN_ID=2000)
So my expected output should be ge-1/1/1.2000. Unfortunately , this dot is causing the scrip to break. Any ideas how i can declare those 2 variables seperated by a dot.
As a temporary workaround i configured the below ( without a dot)
@INTERFACE_IP_ADD@VLAN_ID
Then when i enter the interface ID , i enter it like follows : ge-1/1/1.
Unfortunately this is causing the template to be too long and causing confusion for NOC team.
Any ideas how i can permanently solve this?
Below are my variables:
(
NCM.Nodes @ContextNode,
string @Physical_Interfaces,
string @Interface_Description,
string @INTERFACE_IP_ADD,
string @VRF_NAME,
string @VLAN_ID,
string @BGP_GROUP_NAME,
string @BGP_PEER
)
Thank you