[Coin] P4 runtime etc.

Andrew Alston <Andrew.Alston@liquidtelecom.com> Sun, 21 July 2019 12:05 UTC

Return-Path: <andrew.alston@liquidtelecom.com>
X-Original-To: coin@ietfa.amsl.com
Delivered-To: coin@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7D29F12011B for <coin@ietfa.amsl.com>; Sun, 21 Jul 2019 05:05:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XClFxGAJC2Ox for <coin@ietfa.amsl.com>; Sun, 21 Jul 2019 05:05:40 -0700 (PDT)
Received: from eu-smtp-delivery-182.mimecast.com (eu-smtp-delivery-182.mimecast.com [146.101.78.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D05A312004E for <coin@irtf.org>; Sun, 21 Jul 2019 05:05:39 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lPEOrL95dZcby8y7zHX8NcJcSylQGhDIm9VxdKIsUL46Kow8OdIESpitj/LZLij7CEVvEGW/O1t+hNcDEYVUIF59TVBkf9I7t+YeN4yUZGrthgvXUTNith3ESv29Q3wr/MS+vrAefKipk2iaiLYYxgMlm1KnMVORd6sX9xB+g/fipOK54Zo+KyGM+sQsNkB3wMdaerarjuTTd+pLbJgjjX8XbLVRNgttUb5+o6WDbe9fqPybs8vg7/R9Pxar/7nlELN4Xz1Lp3VofHTC6C56hX55VfYHce+JE0+g1QzNLTM3O7nPg3DvITeTTQvXlO/BSwVotBd8fq47kP7efWvGJw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Yn2AZq+NWZo+OJUY33kOQYzUzV+RRsAJ8Z1Euh5XKPg=; b=F+3xmQUHJAdzRt6XAsHfd6IVtxaPI9zrKkGQ6LQZ6pUmmwHxnHsPn5pv53S8j8V4Ib7cg64deHI6MBdhYnwGvVVMnGNHP23G5ncQTDEHNmmBnh2KpwN5LYIlyj5k1qbw0p0SQdIRA40iXykuzcddIasglB+DLBl8LbT8ZVMWxFuqIy3m8SZ84UKaYadoNJs/t+mhg4wEdDzl3fP496jTsOdYIjOtdk6EvptVkiswTqqlnNJyw+J9f3yh1+W+CoAQD5TSjGzob2wEuqv1mw5qU8HbuHHKMz7kd77SS0Sl/yvBjW3ew/XfN9O/EKETvJUYMspxNdGnfYBKxcV33zAKTQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=liquidtelecom.com;dmarc=pass action=none header.from=liquidtelecom.com;dkim=pass header.d=liquidtelecom.com;arc=none
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-he1eur02lp2053.outbound.protection.outlook.com [104.47.5.53]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-121-pYtE7OaeMIabhk4_DrFL9w-1; Sun, 21 Jul 2019 13:05:36 +0100
Received: from VE1PR03MB5422.eurprd03.prod.outlook.com (10.255.112.208) by VE1PR03MB5774.eurprd03.prod.outlook.com (20.179.235.77) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.16; Sun, 21 Jul 2019 12:05:33 +0000
Received: from VE1PR03MB5422.eurprd03.prod.outlook.com ([fe80::1d9:7dfd:bd2f:6ef4]) by VE1PR03MB5422.eurprd03.prod.outlook.com ([fe80::1d9:7dfd:bd2f:6ef4%6]) with mapi id 15.20.2094.013; Sun, 21 Jul 2019 12:05:33 +0000
From: Andrew Alston <Andrew.Alston@liquidtelecom.com>
To: "coin@irtf.org" <coin@irtf.org>
Thread-Topic: P4 runtime etc.
Thread-Index: AQHVP7yZIOBjAtO1GUiUcugnjEMdwA==
Date: Sun, 21 Jul 2019 12:05:33 +0000
Message-ID: <27BED081-D789-4EE2-8C1A-70069D610FF9@liquidtelecom.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.1b.0.190715
x-originating-ip: [31.133.149.181]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: a37b5f2d-6f63-4970-78c5-08d70dd3bbd5
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VE1PR03MB5774;
x-ms-traffictypediagnostic: VE1PR03MB5774:
x-microsoft-antispam-prvs: <VE1PR03MB5774460EAC49D13B0A8A18EBEEC50@VE1PR03MB5774.eurprd03.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:6790;
x-forefront-prvs: 0105DAA385
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(376002)(396003)(136003)(39860400002)(366004)(346002)(53754006)(199004)(189003)(478600001)(66066001)(2616005)(476003)(102836004)(6486002)(6436002)(66446008)(64756008)(66556008)(66476007)(66946007)(76116006)(91956017)(316002)(6916009)(86362001)(58126008)(7116003)(5640700003)(6306002)(54896002)(26005)(186003)(3846002)(6116002)(25786009)(2906002)(81166006)(1730700003)(71190400001)(81156014)(8936002)(9326002)(486006)(14444005)(256004)(2351001)(7736002)(6512007)(36756003)(8676002)(14454004)(68736007)(2501003)(53936002)(6506007)(99286004)(33656002)(5660300002)(71200400001)(4744005); DIR:OUT; SFP:1102; SCL:1; SRVR:VE1PR03MB5774; H:VE1PR03MB5422.eurprd03.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: VDG9QfMRLXn/qeehZfie3ufpNlq+1v8ztjc0fppdUgPVQq0ViVd0F2jOujfZrtFfF+U2szwgAa8GvJ60LU4iCQJFCFila/UC/uwvE8q2GN5B1A3sj1/YJc9V1WC+VfJ1uWpUF3PcWaz8d2DtvIaCa4pPdqNyqOq49uVwnYTQOUB43UYCfiKBkJmsY62+Ew8SRHqp5T9B1wXz1+7j7xvQOyDFKxvKWgJIWsn5MuIebMu4v/nD8HL9fbSYY6vQdL1aO0LGUU9l3iuh4A190MkGRm6la923kCnWTMx0lxjz2QPqzRGbLUiyP7sweiLBw1j8+hENyRrXoaO4NDw1PGaW94kHONMGLiKWdKeA49egHukVMUjOKy3AcWS2zL0ufEEe77I9U7Uji1c89/GP8/wU7mXLKTjGTFIvq4IbWVl9EyQ=
MIME-Version: 1.0
X-OriginatorOrg: liquidtelecom.com
X-MS-Exchange-CrossTenant-Network-Message-Id: a37b5f2d-6f63-4970-78c5-08d70dd3bbd5
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jul 2019 12:05:33.5455 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 68792612-0f0e-46cb-b16a-fcb82fd80cb1
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Andrew.Alston@liquidtelecom.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR03MB5774
X-MC-Unique: pYtE7OaeMIabhk4_DrFL9w-1
X-Mimecast-Spam-Score: 0
Content-Type: multipart/alternative; boundary="_000_27BED081D7894EE28C1A70069D610FF9liquidtelecomcom_"
Archived-At: <https://mailarchive.ietf.org/arch/msg/coin/EEmbSq4wmDHMX7ticSN-BVDExZI>
Subject: [Coin] P4 runtime etc.
X-BeenThere: coin@irtf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "COIN: Computing in the Network" <coin.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/coin>, <mailto:coin-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/coin/>
List-Post: <mailto:coin@irtf.org>
List-Help: <mailto:coin-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/coin>, <mailto:coin-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Jul 2019 12:05:42 -0000

Hi All,

So after yesterday’s hackathon session and a brief bit of sleep – I decided to take a look at implementing other code we had using a p4 data plane – now that was interesting – because when I started looking at the p4runtime implementations etc. – as stated, they use grpc – but there is actually a fair bit in there in the python libraries.

So – What I’ve started – and am in the very very early stages of doing – is creating a Golang port of the p4 runtime libraries – this will let me handle the Protobufs and GRPC calls correctly from Golang.  As I move on this – I’ll happily opensource this code and share it as it comes – and I’ll request some of my team to get involved in this as well.

If there are any golang coders out there interested in assisting with this project – I’d be happy to discuss.  I’ll also get details this morning about where we can commit code to a public repo so we can check the code in etc as we go in case anyone else has a use case for it

Thanks

Andrew