Hi All,
I have to handle in my service template a situation where i sometimes need an authent key to bring up a bgp session and sometimes not, depending on the neighbor i need to bring a session with.
Would you perform this condition in the Yang model or the XML template ?
Thanks in advance,
Jerems
Solved! Go to Solution.
Hi,
Have you looked into using the if-else statements in your service model? (elif is coming in NSO 5.7 next week).
See the NSO Developer Guide, Templates chapter, Basic Principles section, Conditional Statements subsection.
Best regards
Hi,
Have you looked into using the if-else statements in your service model? (elif is coming in NSO 5.7 next week).
See the NSO Developer Guide, Templates chapter, Basic Principles section, Conditional Statements subsection.
Best regards
Thanks again Cohult, I'm going to have a look at this.