Flow designer for Router naming convention

Vinay2509
Tera Contributor

Hi Team,

 

I have requirmnment on implement naming convention for Router(Network device),

I am trying to implement using flow designer.

Trigger : When router instance created at router table flow should get initiate.

 

In requirement we have 4 types of routers like Edge, Core, BNG, BAR.

 

Normally instance of router or any equipment will be created using change model "Inventory Equipment Model",

 

I need to get router types from router model name, how to get that using flow designer?

Model names will be like edge01.nhskl0.29u7 , core02.hinfn.09ca, bng09.ljbkd.udhi, bar08.hsd.iind

 

I need to fetch edge, core, bng, bar just to identify type of router, this info comes for model name of router.

 

how to do that using flow design?

 

Thanks!

 

2 REPLIES 2

Pankaj kr
Kilo Sage

Hi Vinay,

 

You can use action with input (model name) and output the required name. Below is the implementation-

 

Pankakkumar_0-1705663375760.png

 

Pankakkumar_1-1705663634047.png

 

 

Thanks,

 

Pankaj Kumar

 

Please mark this response as correct or helpful if it assisted you with your question.

Hi @Vinay2509 ,

 

Pls mark this solution as accepted if it solved your issue for others to refer the solution if they stuck on such issue.

 

Thanks,

 

Pankaj Kumar