From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from valinux.co.jp (vagw.valinux.co.jp [210.128.90.14]) by dpdk.org (Postfix) with ESMTP id 127245F2B for ; Fri, 5 Oct 2018 03:37:58 +0200 (CEST) Received: by valinux.co.jp (Postfix, from userid 1000) id B4C61240CD6; Fri, 5 Oct 2018 10:37:56 +0900 (JST) From: oda@valinux.co.jp To: spp@dpdk.org Date: Fri, 5 Oct 2018 10:37:48 +0900 Message-Id: <20181005013755.19838-7-oda@valinux.co.jp> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181005013755.19838-1-oda@valinux.co.jp> References: <20180913082544.2D36.277DD91C@valinux.co.jp> <20181005013755.19838-1-oda@valinux.co.jp> Subject: [spp] [PATCH v3 06/13] spp-ctl: add entry point X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 01:37:58 -0000 From: Itsuro Oda Add `spp-ctl` launched in a terminal as the entry point. Spp-ctl is expected to be launched from Python3. $ python3 /path/to/spp/src/spp-ctl/spp-ctl Signed-off-by: Itsuro Oda --- src/spp-ctl/spp-ctl | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/spp-ctl/spp-ctl diff --git a/src/spp-ctl/spp-ctl b/src/spp-ctl/spp-ctl new file mode 100644 index 0000000..645611b --- /dev/null +++ b/src/spp-ctl/spp-ctl @@ -0,0 +1,11 @@ +#!/usr/bin/python3 +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Nippon Telegraph and Telephone Corporation + +import sys + +from spp_ctl import main + + +if __name__ == "__main__": + sys.exit(main()) -- 2.17.1