aboutsummaryrefslogtreecommitdiffstats
path: root/vpp-api-test/scripts/vppctl
AgeCommit message (Collapse)AuthorFilesLines
2016-12-28Reorganize source tree to use single autotools instanceDamjan Marion1-121/+0
Change-Id: I7b51f88292e057c6443b12224486f2d0c9f8ae23 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-12-02Fix wrong indentation in vppctl scriptAndrew Li1-1/+1
Change-Id: I6c67df0cef53f93161e3d6b697c4d0fdc1fee8a7 Signed-off-by: Andrew Li <zhaoxili@cisco.com>
2016-12-01vppctl: clean exit cli when ctrl-d or ctrl-c enteredPadraig Connolly1-10/+20
Ctrl-D now exits vpp cli using do_EOF function Ctrl-C now exits cleanly without KeyboardInterrupt Error Change-Id: I09d103df57b9512e572eb66c17c548b9c1801589 Signed-off-by: Padraig Connolly <padraig.connolly@intel.com>
2016-11-22add vpp banner graphic when vpp-cli startsPadraig Connolly1-3/+14
Added check if termianl output is tty *If terminal is tty, display banner Added "FD.io VPP" banner to vppctl script on startup *FD.io displays in red *VPP displays in white Change-Id: Iaab3513d4f9d7ba5eefe070c1daf319f5014cf85 Signed-off-by: Padraig Connolly <padraig.connolly@intel.com>
2016-11-04vppctl: Do not use sudo if already rootPierre Pfister1-1/+5
When using sudo, environment variable such as the PATH are overwritten. This patch just checks if user is already root and does not use sudo in such situation. This allows using approaches like: sudo env PATH=path/to/vpp-binary/:$PATH vppctl Not really important in production setups, but this is handy for testing. Change-Id: I079c104d026ae7d378468380b012279a6e5d765d Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2016-10-10platform: rewrote vppctl script to include historyPadraig1-30/+96
Added more ability to search history to vppctl shell *Up and down keys give history *Script now written in Python 2.7.6 *Contains all original functionality *Added Python dependency for deb/rpms Change-Id: I5088f7b018fce92b9b5411df0bffc34709810dec Signed-off-by: Padraig Connolly <padraig.connolly@intel.com>
2016-08-30Fix for vppctl to suppress "load_one_plugin:63: Loaded plugin:" msgsEd Warnicke1-2/+2
Change-Id: I06fcb024036b48a6401d2865a2181b122cb32108 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-04-04Fix vppctl for multivppEd Warnicke1-3/+19
Change-Id: If028aca042dbba653cc0f51a0149b36bed5c7853 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-01-26Fix vppctl to cope with vpe -> vpp transitionEd Warnicke1-2/+2
Change-Id: Ida88cff8b84756660eb682a6ff4d4ded3b0432e1 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-01-26Small fix for vppctlEd Warnicke1-6/+7
Change-Id: I5d2668b3487d240e7d8c8a257e9a5607e2b314ec Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-01-20Rename vpe binary name to avoid collision with latexDamjan Marion1-2/+2
Change-Id: I34a46b9ebbc0e36486fbef528b34ea1c3be2e8be Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-01-18Enabled vppctl to provide an interactive shellEd Warnicke1-1/+12
Change-Id: Ibfed316570c03a4dd158781c6201f5713837adb4 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2015-12-22Restore vpe-api-test/scripts/vppctlEd Warnicke1-0/+2
Change-Id: I13b472dbf4a95f417ef28efcf8e740dbdd201f7e Signed-off-by: Ed Warnicke <eaw@cisco.com>
2015-12-17Add vpe-api message to get vxlan tunnel details.Dave Wallace1-2/+0
Change-Id: I3bfb84dfcb08c6ff5cb473f3ce05b91b222182a1 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2015-12-16Move vppctl to vpp-api-testDamjan Marion1-0/+2
Change-Id: I4af0eb9c09d14a1a9803cf1b25bc3d7b814c82cc Signed-off-by: Damjan Marion <damarion@cisco.com>