i would like to create a list using the yang, as below
The objective is, the user has to enter the address, Based on the address he can enter the port and protocol. But when i tried the above i am able to see that command is not getting terminated at ip address, the cli is allowing the port-num and protocol to be entered in the same line itself. Which is not i wanted to do.
I want to terminate at ip-addr, then for that ip addr i want to enter the port and protocol, what mistake am i doing here ?