summaryrefslogtreecommitdiffstats
path: root/vpp-api-test/scripts/vppctl
AgeCommit message (Collapse)AuthorFilesLines
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>