summaryrefslogtreecommitdiff
path: root/scripts/build-command-op-templates
AgeCommit message (Collapse)Author
2021-06-08T3165: prevent override of populated node.def file with empty contentChristian Poessinger
(cherry picked from commit b4fdcebebecd8d8952211b78bce26d53fd29edb3)
2020-07-18T2704: force newlines after listActiveNode output.Daniil Baturin
2020-03-04templates: T2099: make op-mode path completion helper workingChristian Poessinger
2018-06-23T689, T707: do not use sudo for op mode commands.Daniil Baturin
Else they all are unavailable for operator level users.
2018-05-17T646: prevent convertors from overwriting existing node.def files.Daniil Baturin
2018-05-15Correct the logic of generating tag nodes for op mode.Daniil Baturin
Unlike conf mode tag nodes, op mode "pseudo-tag nodes" have the real node.def inside the node.tag dir rather than at the top level. The required node.def at the top level is populated with the help string from the real one. A side effect is that commands that take arguments now must have their own words, e.g. "run show arp" and "run show arp eth0" is impossible and has to be "run show arp" and "run show arp interface eth0", which is probably a good thing.
2018-05-14T633: build integration and minor fixes in the op mode command generator.Daniil Baturin
2017-10-11T413: Make a schema for op mode;Taniadz
T420: Write op mode version of node.def generator