Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Latest commit

 

History

History
23 lines (16 loc) · 835 Bytes

TODO.adoc

File metadata and controls

23 lines (16 loc) · 835 Bytes

ip Batch Output

Add option to output commands in a format that can be fed to 'ip -b'. Consider which is the more useful case: with or without ip prefixed? Possible name: '--(no-)prepend-ip-command'. The conflict I see is that most people are not used to the ip batch mode so outputting something you can just redirect to a shell script is probably more common.

Change all at once

Specify a special name 'all'. When running commands, this name can be used to execute the same acton for all entities of that type. For example 'ns host delete all' to delete all hosts.

Load the _{host,net}_name once

Instead of having the line

_net_name="${NETWORK_PREFIX}${1:?error: NAME is empty}"; __validate "${_net_name}"

(or equivalent) in every function we could probably load the name directly during command selection.