aboutsummaryrefslogtreecommitdiffstats
path: root/package/swconfig/src/cli.c
Commit message (Collapse)AuthorAgeFilesLines
* move lots of kernel related packages to the new system/ folderJohn Crispin2012-10-171-340/+0
| | | | SVN-Revision: 33830
* swconfig: hide inactive vlans on "swconfig dev switch0 show"Felix Fietkau2011-08-301-4/+15
| | | | SVN-Revision: 28133
* swconfig: Add generic switch identifiersJonas Gorski2011-07-271-1/+1
| | | | | | | | Also make switches available under a generic name "switch<num>" for device name agnostic access. The old device name is used as an alias for backward compatibility. SVN-Revision: 27800
* swconfig: Add cpu port index to help output.Gabor Juhos2010-04-161-1/+1
| | | | | | | | | | | | | Let swconfig provide the cpu port index in its help page. This is needed as e.g. Atheros switches have their cpu port at port 0, not port 5. This could allow e.g. luci to get a rough overview of the layout of the switch. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 20939
* swconfig: Remove unused codeFelix Fietkau2010-02-191-6/+0
| | | | | | Signed-off-by: Martin Mares <mj@ucw.cz> SVN-Revision: 19758
* swconfig: add copyright for Martin MaresFelix Fietkau2010-02-151-0/+1
| | | | | | Signed-off-by: Martin Mares <mj@ucw.cz> SVN-Revision: 19642
* swconfig: use print_attr_val() in CMD_GETFelix Fietkau2010-02-151-17/+2
| | | | | | | | | Use the print_attr_val() function introduced by the previous patch to simplify the get command. Signed-off-by: Martin Mares <mj@ucw.cz> SVN-Revision: 19641
* swconfig: add show commandFelix Fietkau2010-02-151-1/+88
| | | | | | | | | Add a "show" command, which displays all attributes of the selected port, VLAN, or of the whole switch. Signed-off-by: Martin Mares <mj@ucw.cz> SVN-Revision: 19640
* swconfig: clean up command line parsingFelix Fietkau2010-02-151-45/+35
| | | | | | | | | The command line parser was unsystematic and it silently ignored many illegal combinations of options. Try to clean that up. Signed-off-by: Martin Mares <mj@ucw.cz> SVN-Revision: 19639
* swconfig: show tagged port flagGabor Juhos2010-01-201-2/+6
| | | | SVN-Revision: 19238
* swconfig: implement uci loading supportFelix Fietkau2009-04-211-60/+73
| | | | SVN-Revision: 15315
* add new switch configuration apiFelix Fietkau2008-10-181-0/+255
SVN-Revision: 13009