Hi Serj,
Thanks for been responsive always.
I face an issue here and trying to fix it but seems not locating root cause in klish context.
I searched around the group conversation and did not see similar question either.
While inputing command line, with "?" key it lists all current command nodes that can be used with help message. With "space" key, it list all options as well.
However, when an extra (or more) spaces is entered, it is not listing command nodes as expected.
Taking show command as an example,
show [space]
aaa acl bfd ......
show [space] [space]
//nothing
Another example is:
configure terminal
interface [?] // or [space]
CPU ethernet loopback management vlan
interface [space][space]
ethernet vlan // only two options are shown
One thing I noticed is that. while constructing command tree under a view,
if I have this case(1):
<COMMAND name="xxx">
<PARAM name="x1"/>
<PARAM name="x2"/>
</COMMAND>
--------------versus---------
//case(2)
<COMMAND name="xxx x1"> </COMMAND>
<COMMAND name="xxx x2"> </COMMAND>
Case1 seems showing correctly even if I have dummy spaces are entered
but Case2 is not.
Is this the issue from the xmlparser itself that I should look into or is there additional handlings within klish context that I should dig into ?
Kindly advised
Thanks
Roland