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 54A575B3C for ; Fri, 5 Oct 2018 05:58:01 +0200 (CEST) Received: by valinux.co.jp (Postfix, from userid 1000) id 80051240CD7; Fri, 5 Oct 2018 12:57:58 +0900 (JST) From: oda@valinux.co.jp To: spp@dpdk.org, ferruh.yigit@intel.com, ogawa.yasufumi@lab.ntt.co.jp Date: Fri, 5 Oct 2018 12:57:49 +0900 Message-Id: <20181005035757.23122-7-oda@valinux.co.jp> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181005035757.23122-1-oda@valinux.co.jp> References: <20180913082544.2D36.277DD91C@valinux.co.jp> <20181005035757.23122-1-oda@valinux.co.jp> Subject: [spp] [PATCH v4 06/14] 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 03:58:01 -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