Page MenuHomeVyOS Platform

Converting simple op-mode commands from vyatta-op to new syntax
Closed, ResolvedPublic

Description

After reading the blog post about new op-mode definitions i've taken upon the task to convert some simple commands to new syntax.
I've started with some simple commands in "vyatta-op". progress can be followed in https://github.com/runborg/vyos-1x . and i will make a PR soon.

Edit by @dmbaturin
This is the blog post in question: http://blog.vyos.net/new-style-operational-mode-command-definitions-are-here
Everyone is invited to join the effort!

Details

Version
-

Related Objects

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

@dmbaturin ahh, my fault.

The script is actually named "show-raid.sh" with a dash instead of underscore...
and while on to it i see all xml files are named with dash'es but all the op_mode scripts are named with underscore... if we want to follow the same name convention, iv'e also done the same fault on "show-configuration-files.sh" and "show-disk-format.sh" .

iv'e updated filenames in my newest PR: https://github.com/vyos/vyos-1x/pull/17

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.

Added few more rewrites:

  • clear console and reset terminal (PR1, PR2)
  • force arp (PR1, PR2)
syncer edited projects, added VyOS 1.2 Crux; removed VyOS 1.2 Crux (VyOS 1.2.0-rc4).
syncer moved this task from Need Triage to Finished on the VyOS 1.2 Crux board.