runar (Runar Borge)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Monday

  • Clear sailing ahead.

User Details

User Since
Jun 7 2018, 9:21 PM (10 w, 2 d)
Availability
Available

Recent Activity

Today

runar added a comment to T786: new style xml and conf-mode scripts: posibillity to add tagNode value as parameter to conf-script.

To do the same example as it is running in the current-rolling devel i have reverted my patch:

Sat, Aug 18, 7:11 PM · VyOS 1.2.x
runar added a comment to T786: new style xml and conf-mode scripts: posibillity to add tagNode value as parameter to conf-script.

The current implementation of the config interpretor does not work that way.
It is correct that your config script needs to take account of all added/removed config within your tagNode, but the script will actually run once for every tagNode instance you define.
let me take an easy example:

Sat, Aug 18, 6:56 PM · VyOS 1.2.x
runar added a comment to T787: DMVPN on 1.2.0.

after intense searching i came across this:

Sat, Aug 18, 10:52 AM · VyOS 1.2.x
runar created T787: DMVPN on 1.2.0.
Sat, Aug 18, 9:16 AM · VyOS 1.2.x

Yesterday

runar created T786: new style xml and conf-mode scripts: posibillity to add tagNode value as parameter to conf-script.
Fri, Aug 17, 11:25 PM · VyOS 1.2.x

Jun 23 2018

runar added a comment to T689: Converting simple op-mode commands from vyatta-op to new syntax.

in my latest PR i've also added a rewrite of "show host *" in show-host.xml. this rewrite does not need any wrapper scripts.

Jun 23 2018, 10:17 PM · VyOS 1.2.x
runar added a comment to T689: Converting simple op-mode commands from vyatta-op to new syntax.

@dmbaturin ahh, my fault.

Jun 23 2018, 10:03 PM · VyOS 1.2.x

Jun 17 2018

runar added a comment to T689: Converting simple op-mode commands from vyatta-op to new syntax.

When trying to migrate " show login " and "show history" the new syntax scripts fails to retrieve information from the current user.
The reason is that everything that is executed by the new syntax scripts are wrapped inside sudo.
(from build-command-op-templates line 140: node_def += "run: sudo sh -c \"{0}\"\n".format(command.text) . )

Jun 17 2018, 10:11 PM · VyOS 1.2.x

Jun 7 2018

runar added a comment to T689: Converting simple op-mode commands from vyatta-op to new syntax.

i've added all files i have finished now.
i also have nearly completed files for show system and show log, but they need some tweeking and completion/op_mode scripts to be finished.

Jun 7 2018, 10:39 PM · VyOS 1.2.x
runar added a comment to T689: Converting simple op-mode commands from vyatta-op to new syntax.

Finished so far:

  • reboot
  • poweroff
  • show arp
  • show bridge
  • show date
  • show disk
Jun 7 2018, 10:30 PM · VyOS 1.2.x
runar updated subscribers of T689: Converting simple op-mode commands from vyatta-op to new syntax.
Jun 7 2018, 9:33 PM · VyOS 1.2.x
runar created T689: Converting simple op-mode commands from vyatta-op to new syntax.
Jun 7 2018, 9:31 PM · VyOS 1.2.x